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

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.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)

Syntax

   
 C# 
[CanBeNullAttribute]
public static Rank Parse(
	string name
)

Parameters

name
String
Full rank name, or name and ID.

Return Value

If name could be parsed, returns the corresponding Rank object. Otherwise returns null.

See Also