Skip to content

/AWS1/CL_GMS=>DISCONNECTPLAYER()

About DisconnectPlayer

Disconnects a player from the game runtime.

If a player has multiple connections, this operation attempts to close all of them.

Method Signature

IMPORTING

Required arguments:

IV_PLAYERID TYPE /AWS1/GMSPLAYERID /AWS1/GMSPLAYERID

The unique identifier representing a player.

IV_GAMENAME TYPE /AWS1/GMSGAMENAME /AWS1/GMSGAMENAME

The name of the game.

IV_STAGENAME TYPE /AWS1/GMSSTAGENAME /AWS1/GMSSTAGENAME

The name of the stage.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_GMSDISCNCTPLAYERRSLT /AWS1/CL_GMSDISCNCTPLAYERRSLT