C# Class ArkData.ArkDataContainer

The container for the ARK data.
Datei anzeigen Open project: AuthiQ/ArkData Class Usage Examples

Public Methods

Method Description
Create ( string directory ) : ArkDataContainer

Instantiates the ArkDataContainer and parses all the user data files

LoadOnlinePlayers ( string ipString, int port ) : void

Fetches the player server status. Can only be done after fetching Steam player data.

LoadSteam ( string apiKey ) : void

Loads the profile data for all users from the steam service

Method Details

Create() public static method

Instantiates the ArkDataContainer and parses all the user data files
public static Create ( string directory ) : ArkDataContainer
directory string The directory containing the profile and tribe files.
return ArkDataContainer

LoadOnlinePlayers() public method

Fetches the player server status. Can only be done after fetching Steam player data.
public LoadOnlinePlayers ( string ipString, int port ) : void
ipString string The IP of the server.
port int The port of the server.
return void

LoadSteam() public method

Loads the profile data for all users from the steam service
public LoadSteam ( string apiKey ) : void
apiKey string The Steam API key
return void