Skip to content

/AWS1/CL_GMLMATCHEDPLAYERSESS

Represents a new player session that is created as a result of a successful FlexMatch match. A successful match automatically creates new player sessions for every player ID in the original matchmaking request.

When players connect to the match's game session, they must include both player ID and player session ID in order to claim their assigned player slot.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_playerid TYPE /AWS1/GMLPLAYERID /AWS1/GMLPLAYERID

A unique identifier for a player

iv_playersessionid TYPE /AWS1/GMLPLAYERSESSIONID /AWS1/GMLPLAYERSESSIONID

A unique identifier for a player session


Queryable Attributes

PlayerId

A unique identifier for a player

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

PlayerSessionId

A unique identifier for a player session

Accessible with the following methods

Method Description
GET_PLAYERSESSIONID() Getter for PLAYERSESSIONID, with configurable default
ASK_PLAYERSESSIONID() Getter for PLAYERSESSIONID w/ exceptions if field has no val
HAS_PLAYERSESSIONID() Determine if PLAYERSESSIONID 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_MATCHEDPLAYERSESSIONLIST

TYPES TT_MATCHEDPLAYERSESSIONLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_GMLMATCHEDPLAYERSESS WITH DEFAULT KEY
.