UniversalPlayer
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 ( | Adds the player to the specified group |
BelongsToGroup ( | Determines if the player belongs to the specified group |
Can ( | Determines if the player has the specified permission |
Equals ( | Determines if player's unique ID is equal to another player's unique ID |
Equals ( | Determines if player's unique ID is equal to another player's unique ID |
Equals ( | Determines if player's object is equal to another player's object |
GetHashCode () | Gets the hash code of the player's unique ID |
GrantPermission ( | Grants the specified permission on this player |
HasPermission ( | Determines if the player has the specified permission |
RemoveFromGroup ( | Removes the player from the specified group |
RevokePermission ( | Strips the specified permission from this player |