C# Класс ArkData.ArkDataContainer

The container for the ARK data.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

Create() публичный статический Метод

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.
Результат ArkDataContainer

LoadOnlinePlayers() публичный Метод

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.
Результат void

LoadSteam() публичный Метод

Loads the profile data for all users from the steam service
public LoadSteam ( string apiKey ) : void
apiKey string The Steam API key
Результат void