[This is preliminary documentation and is subject to change.]

The RankManager type exposes the following methods.

Methods

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
AddRank(Rank)
Adds a new rank to the list. Checks for duplicates.
CanRenameRank(Rank, String)
DeleteRank(Rank, Rank)
Removes the specified rank from the list of available ranks
FindRank(Int32)
Finds rank by index. Rank at index 0 is the highest.
FindRank(String)
Parses rank name (without the ID) using autocompletion.
GenerateID()()()()
Creates a 16 character unique rank ID, via Server.GetRandomString().
GetIndex(Rank)
GetMinRankWithAllPermissions(array<Permission>[]()[][])
Finds the lowest rank that has all the required permissions.
GetMinRankWithAnyPermission(array<Permission>[]()[][])
Finds the lowest rank that has all the required permissions.
LowerRank(Rank)
Lowers the index value of the specified Rank, and then raises the rank that was previously in that position.
RaiseRank(Rank)
Raises the index value of the specified Rank, and then lowers the rank that was previously in that position.
RenameRank(Rank, String)

See Also