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

Persistent database of player information.

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

Syntax

   
 C# 
public static class PlayerDB

Members

            
 All Members  Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
AddFakeEntry(String, RankChangeType)
AppendEscaped(StringBuilder, String)
BannedCount
BannedPercentage
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)
FormatVersion
GetNextID()()()()
IsLoaded
MassRankChange(Player, Rank, Rank, String)
PlayerInfoList
Cached list of all players in the database. May be quite long. Make sure to copy a reference to the list before accessing it in a loop, since this array be frequently be replaced by an updated one.
Save()()()()
SaveInterval
Size

Inheritance Hierarchy

System..::..Object
  fCraft..::..PlayerDB

See Also