std::unordered_map< const FString, AShooterPlayerController *, FStringHash, FStringEqual > eos_id_map_
void SetStatus(ServerStatus status)
std::shared_ptr< MessagingManager > GetMessagingManagerInternal(const FString &forPlugin) const override
void SetCheatManager(UShooterCheatManager *cheatmanager)
ApiUtils(const ApiUtils &)=delete
std::shared_ptr< MessagingManager > ReadApiMessagingManager()
UShooterCheatManager * GetCheatManager() const override
Returns a point to URCON CheatManager.
ApiUtils(ApiUtils &&)=delete
void CheckMessagingManagersRequirements()
AShooterPlayerController * FindPlayerFromEOSID_Internal(const FString &eos_id) const override
AShooterGameMode * GetShooterGameMode() const override
Returns a pointer to AShooterGameMode.
ApiUtils & operator=(const ApiUtils &)=delete
void SetShooterGameMode(AShooterGameMode *shooter_game_mode)
void RemoveMessagingManagerInternal(const FString &forPlugin)
ApiUtils & operator=(ApiUtils &&)=delete
AShooterGameMode * shooter_game_mode_
UWorld * GetWorld() const override
Returns a pointer to UWorld.
void SetMessagingManagerInternal(const FString &forPlugin, std::shared_ptr< MessagingManager > manager) override
ServerStatus GetStatus() const override
Returns the current server status.
void SetPlayerController(AShooterPlayerController *player_controller)
void RemovePlayerController(AShooterPlayerController *player_controller)
~ApiUtils() override=default
void SetWorld(UWorld *uworld)
UShooterCheatManager * cheatmanager_
static FORCEINLINE FString GetEOSIDFromController(AController *controller)
Returns EOS ID from player controller.
UE_NODISCARD FORCEINLINE bool IsEmpty() const
Messaging manager. Allows to send server messages, notifications and chat messages.
IApiUtils & GetApiUtils()
TArray< TWeakObjectPtr< APlayerController >, TSizedDefaultAllocator< 32 > > & PlayerControllerListField()