Skip to content

/AWS1/CL_GMLDESIREDPLAYERSESS

Player information for use when creating player sessions using a game session placement request.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_PLAYERID TYPE /AWS1/GMLPLAYERID /AWS1/GMLPLAYERID

A unique identifier for a player to associate with the player session.

IV_PLAYERDATA TYPE /AWS1/GMLPLAYERDATA /AWS1/GMLPLAYERDATA

Developer-defined information related to a player. Amazon GameLift does not use this data, so it can be formatted as needed for use in the game.


Queryable Attributes

PlayerId

A unique identifier for a player to associate with the player session.

Accessible with the following methods

Method Description
GET_PLAYERID() Getter for PLAYERID, with configurable default
ASK_PLAYERID() Getter for PLAYERID w/ exceptions if field has no value
HAS_PLAYERID() Determine if PLAYERID has a value

PlayerData

Developer-defined information related to a player. Amazon GameLift does not use this data, so it can be formatted as needed for use in the game.

Accessible with the following methods

Method Description
GET_PLAYERDATA() Getter for PLAYERDATA, with configurable default
ASK_PLAYERDATA() Getter for PLAYERDATA w/ exceptions if field has no value
HAS_PLAYERDATA() Determine if PLAYERDATA has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_DESIREDPLAYERSESSIONLIST

TYPES TT_DESIREDPLAYERSESSIONLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_GMLDESIREDPLAYERSESS WITH DEFAULT KEY
.