Method | Description | |
---|---|---|
ExportPlayerXml ( string XmlPath, int Pid, string Name ) : void |
Exports a players stats and history into an Xml file
|
|
GenerateNewAIPid ( ) : int |
Returns a new PID number for use when creating a new AI Bot for the stats database
|
|
GenerateNewPlayerPid ( ) : int |
Returns a new PID number for use when creating a new player for the stats database
|
|
ImportPlayerXml ( string XmlPath ) : void |
Imports a Player XML Sheet from the specified path
|
|
IsAuthorizedGameServer ( |
Returns whether the specified IP address is authorized to POST snapshot data to this ASP server. All local IP address are automatically authorized.
|
|
Load ( |
Method to be called everytime the HttpStatsServer is started
|
|
QueueServerSnapshot ( string Data, |
Adds a server's posted snapshot into the Snapshot Processing Queue, which will process the snapshot as soon as possible. This method is Non-Blocking. Any errors that occur during the actual import of the data will be logged inside the StatsDebug log |
|
ValidateASPService ( string Url ) : void |
Returns whether the specified URI is a valid, and available ASP Service
|
Method | Description | |
---|---|---|
ProcessQueue ( ) : void |
If not already running, Whenever a snapshot is added to the Processing Queue, This method will get called to Dequeue and process all snapshots
|
|
StatsManager ( ) : System |
Static constructor to register for Queue Events
|
public static ExportPlayerXml ( string XmlPath, int Pid, string Name ) : void | ||
XmlPath | string | The folder path to where the XML will be saved |
Pid | int | Player ID |
Name | string | Player Name |
return | void |
public static ImportPlayerXml ( string XmlPath ) : void | ||
XmlPath | string | The full path to the XML file |
return | void |
public static IsAuthorizedGameServer ( |
||
RemoteIP | The server IP to authorize | |
return | bool |
public static Load ( |
||
Driver | ||
return | void |
public static QueueServerSnapshot ( string Data, |
||
Data | string | The snapshot data provided by the server. |
ServerAddress | The IP address of the server. | |
return | void |
public static ValidateASPService ( string Url ) : void | ||
Url | string | The root url to the ASP server. Dont include the /ASP/ path! |
return | void |