Manage the server process for hosting game sessions via GameLiftServerSDK. More...
#include <AWSGameLiftServerManager.h>
Inherits AWSGameLiftServerRequestBus::Handler, and Multiplayer::ISessionHandlingProviderRequests.
Public Member Functions | |
void | ActivateManager () |
void | DeactivateManager () |
void | InitializeGameLiftServerSDK () |
Initialize GameLift API client by calling InitSDK(). | |
bool | NotifyGameLiftProcessReady () override |
bool | StartMatchBackfill (const AZStd::string &ticketId, const AZStd::vector< AWSGameLiftPlayer > &players) override |
bool | StopMatchBackfill (const AZStd::string &ticketId) override |
void | HandleDestroySession () override |
bool | ValidatePlayerJoinSession (const Multiplayer::PlayerConnectionConfig &playerConnectionConfig) override |
void | HandlePlayerLeaveSession (const Multiplayer::PlayerConnectionConfig &playerConnectionConfig) override |
AZ::IO::Path | GetExternalSessionCertificate () override |
Static Public Attributes | |
static constexpr const char | AWSGameLiftServerManagerName [] = "AWSGameLiftServerManager" |
static constexpr const char | AWSGameLiftServerSDKNotInitErrorMessage [] |
static constexpr const char | AWSGameLiftServerSDKAlreadyInitErrorMessage [] |
static constexpr const char | AWSGameLiftServerTempPortErrorMessage [] |
static constexpr const char | AWSGameLiftServerGameInitErrorMessage [] |
static constexpr const char | AWSGameLiftServerGameSessionDestroyErrorMessage [] |
static constexpr const char | AWSGameLiftServerPlayerConnectionRegisteredErrorMessage [] |
static constexpr const char | AWSGameLiftServerPlayerConnectionMissingErrorMessage [] |
static constexpr const char | AWSGameLiftServerInstanceCertificateErrorMessage [] |
static constexpr const char | AWSGameLiftServerInstancePrivateKeyErrorMessage [] |
static constexpr const char | AWSGameLiftServerInitSDKErrorMessage [] |
static constexpr const char | AWSGameLiftServerProcessReadyErrorMessage [] |
static constexpr const char | AWSGameLiftServerActivateGameSessionErrorMessage [] |
static constexpr const char | AWSGameLiftServerProcessEndingErrorMessage [] |
static constexpr const char | AWSGameLiftServerAcceptPlayerSessionErrorMessage [] |
static constexpr const char | AWSGameLiftServerInvalidConnectionConfigErrorMessage [] |
static constexpr const char | AWSGameLiftServerRemovePlayerSessionErrorMessage [] |
static constexpr const char | AWSGameLiftMatchmakingDataInvalidErrorMessage [] |
static constexpr const char | AWSGameLiftMatchmakingDataMissingErrorMessage [] |
static constexpr const char | AWSGameLiftMatchmakingPlayerAttributeInvalidErrorMessage [] |
static constexpr const char | AWSGameLiftDescribePlayerSessionsErrorMessage [] |
static constexpr const char | AWSGameLiftStartMatchBackfillErrorMessage [] |
static constexpr const char | AWSGameLiftStopMatchBackfillErrorMessage [] |
static constexpr const char | AWSGameLiftMatchmakingConfigurationKeyName [] = "matchmakingConfigurationArn" |
static constexpr const char | AWSGameLiftMatchmakingTeamsKeyName [] = "teams" |
static constexpr const char | AWSGameLiftMatchmakingTeamNameKeyName [] = "name" |
static constexpr const char | AWSGameLiftMatchmakingPlayersKeyName [] = "players" |
static constexpr const char | AWSGameLiftMatchmakingPlayerIdKeyName [] = "playerId" |
static constexpr const char | AWSGameLiftMatchmakingPlayerAttributesKeyName [] = "attributes" |
static constexpr const char | AWSGameLiftMatchmakingPlayerAttributeTypeKeyName [] = "attributeType" |
static constexpr const char | AWSGameLiftMatchmakingPlayerAttributeValueKeyName [] = "valueAttribute" |
static constexpr const char | AWSGameLiftMatchmakingPlayerAttributeSTypeName [] = "S" |
static constexpr const char | AWSGameLiftMatchmakingPlayerAttributeSServerTypeName [] = "STRING" |
static constexpr const char | AWSGameLiftMatchmakingPlayerAttributeNTypeName [] = "N" |
static constexpr const char | AWSGameLiftMatchmakingPlayerAttributeNServerTypeName [] = "DOUBLE" |
static constexpr const char | AWSGameLiftMatchmakingPlayerAttributeSLTypeName [] = "SL" |
static constexpr const char | AWSGameLiftMatchmakingPlayerAttributeSLServerTypeName [] = "STRING_LIST" |
static constexpr const char | AWSGameLiftMatchmakingPlayerAttributeSDMTypeName [] = "SDM" |
static constexpr const char | AWSGameLiftMatchmakingPlayerAttributeSDMServerTypeName [] = "STRING_DOUBLE_MAP" |
static constexpr const uint16_t | AWSGameLiftDescribePlayerSessionsPageSize = 30 |
Protected Member Functions | |
void | SetGameLiftServerSDKWrapper (AZStd::unique_ptr< GameLiftServerSDKWrapper > gameLiftServerSDKWrapper) |
bool | AddConnectedPlayer (const Multiplayer::PlayerConnectionConfig &playerConnectionConfig) |
Add connected player session id. | |
AZStd::vector< AWSGameLiftPlayer > | GetActiveServerMatchBackfillPlayers () |
Get active server player data from lazy loaded game session for server match backfill. | |
void | UpdateGameSessionData (const Aws::GameLift::Server::Model::GameSession &gameSession) |
Update local game session data to latest one. | |
Manage the server process for hosting game sessions via GameLiftServerSDK.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |