UniversalPlayer

Namespace: uModAuth

Assembly: uMod.Core.dll

Inheritance Object UniversalPlayer

Implements IAuthorizable, IIdentity, IEquatable<IIdentity>, IEquatable<IPlayer>

Properties

Name

Summary

Id

Gets the ID for the player (unique within the current game)

IsAdmin

Gets if the player is a server administrator

IsModerator

Gets if the player is a server moderator

Methods

Name

Summary

AddToGroup (String)

Adds the player to the specified group

BelongsToGroup (String)

Determines if the player belongs to the specified group

Can (String)

Determines if the player has the specified permission

Equals (IIdentity)

Determines if player's unique ID is equal to another player's unique ID

Equals (IPlayer)

Determines if player's unique ID is equal to another player's unique ID

Equals (Object)

Determines if player's object is equal to another player's object

GetHashCode ()

Gets the hash code of the player's unique ID

GrantPermission (String)

Grants the specified permission on this player

HasPermission (String)

Determines if the player has the specified permission

RemoveFromGroup (String)

Removes the player from the specified group

RevokePermission (String)

Strips the specified permission from this player