[This is preliminary documentation and is subject to change.]
The PlayerDB type exposes the following methods.
Methods
| Member | Description | |
|---|---|---|
| AddFakeEntry(String, RankChangeType) | ||
| AppendEscaped(StringBuilder, String) | ||
| FindExactClassyName(String) | ||
| FindOrCreateInfoForPlayer(String, IPAddress) | ||
| FindPlayerInfoByID(Int32) | Finds PlayerInfo by ID. Returns null of not found. | |
| FindPlayerInfoExact(String) | Finds player by exact name. | |
| FindPlayerInfoOrPrintMatches(Player, String) | Searches for player names starting with namePart.
If exactly one player matched, returns the corresponding PlayerInfo object.
If name format is incorrect, or if no matches were found, an appropriate message is printed to the player.
If multiple players were found matching the partialName, first 25 matches are printed. | |
| FindPlayers(IPAddress) | ||
| FindPlayers(String) | ||
| FindPlayers(Regex) | ||
| FindPlayers(IPAddress, Int32) | ||
| FindPlayers(String, Int32) | ||
| FindPlayers(Regex, Int32) | ||
| FindPlayersCidr(IPAddress, Byte) | ||
| FindPlayersCidr(IPAddress, Byte, Int32) | ||
| GetNextID()()()() | ||
| MassRankChange(Player, Rank, Rank, String) | ||
| Save()()()() |