static uint64 GetSteamIdFromController(AController *controller)
Returns Steam ID from player controller.
void SetShooterGameMode(AShooterGameMode *shooter_game_mode)
ApiUtils(const ApiUtils &)=delete
void SetPlayerController(AShooterPlayerController *player_controller)
ArkApi::ServerStatus status_
AShooterGameMode * shooter_game_mode_
void SetWorld(UWorld *uworld)
ApiUtils & operator=(ApiUtils &&)=delete
void RemovePlayerController(AShooterPlayerController *player_controller)
void SetStatus(ArkApi::ServerStatus status)
AShooterGameMode * GetShooterGameMode() const override
Returns a pointer to AShooterGameMode.
std::unordered_map< uint64, AShooterPlayerController * > steam_id_map_
UShooterCheatManager * GetCheatManager() const override
Returns a point to URCON CheatManager.
~ApiUtils() override=default
ApiUtils & operator=(const ApiUtils &)=delete
ArkApi::ServerStatus GetStatus() const override
Returns the current server status.
UShooterCheatManager * cheatmanager_
AShooterPlayerController * FindPlayerFromSteamId_Internal(uint64 steam_id) const override
ApiUtils(ApiUtils &&)=delete
UWorld * GetWorld() const override
Returns a pointer to UWorld.
void SetCheatManager(UShooterCheatManager *cheatmanager)
ArkApi::IApiUtils & GetApiUtils()