C# Class ArkData.ArkDataContainer

The container for the ARK data.
Afficher le fichier Open project: AuthiQ/ArkData Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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.
Résultat ArkDataContainer

LoadOnlinePlayers() public méthode

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.
Résultat void

LoadSteam() public méthode

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