game / pragma.gamedata / GameDataService /

GameDataService #

class GameDataService( pragmaNode: PragmaNode, instanceId: UUID, loginDataCommand: LoginDataCommand = LoginDataCommand(pragmaNode,PragmaLoggerFactory.getLogger(LoginDataCommand::class)) ) : DistributedService, ConfigHandler<GameDataServiceConfig>

GameDataService is a service that provides player access to all data that would be required upon login.

Constructors #

GameDataService

fun GameDataService( pragmaNode: PragmaNode, instanceId: UUID, loginDataCommand: LoginDataCommand = LoginDataCommand(pragmaNode,PragmaLoggerFactory.getLogger(LoginDataCommand::class)) )

Functions #

NameSummary

getLoginDataV3

suspend fun getLoginDataV3( session: PlayerSession, request: GameDataRpc.GetLoginDataV3Request ): GameDataRpc.GetLoginDataV3Response

Retrieve all login data for a player. Behavior defined by LoginDataPlugin. The DefaultPragmaLoginDataPlugin will retrieve the inventory content catalogs and return the ids of any issued limited grants.