[This is preliminary documentation and is subject to change.]
The Rank type exposes the following methods.
Methods
| Member | Description | |
|---|---|---|
| Can(Permission) | Checks whether this rank is granted the given permission. | |
| Can(Permission, Rank) | Checks whether this rank is granted the given permission, and whether the limit is high | |
| CanSee(Rank) | Whether players of this rank are allowed to see hidden players of the given rank. | |
| CompareTo(Rank) | ||
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetLimit(Permission) | Returns the highest rank that is allowed to be affected by this rank,
in the conext of the given permission. If no limit was explicitly specified, returns this/own rank. | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| HasLimitSet(Permission) | Checks whether this rank has a rank limit explicitly set for the given permission. | |
| IsValidID(String) | ||
| IsValidPrefix(String) | ||
| IsValidRankName(String) | ||
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Parse(String) | Parses serialized rank. Accepts either the "name" or "name#ID" format.
Uses legacy rank mapping table for unrecognized ranks. Does not autocomple.
Name part is case-insensitive. ID part is case-sensitive. | |
| ResetLimit(Permission) | Resets the rank limit for the given permission to default ("own rank"). | |
| Serialize()()()() | ||
| SetLimit(Permission, Rank) | Sets the rank limit for the given permission. | |
| ToString()()()() | (Overrides Object..::..ToString()()()().) |