Board

Board.Session.BoardSessionPlayer

BoardSessionPlayer.sessionId Property

Gets the player’s unique identifier in the current session.

public int sessionId { get; }

Property Value

System.Int32

Remarks

This identifier persists for the duration of a game session including when a save game is loaded. It should be used for identifying a player within a saved game.

Note: The playerId may change if a player is replaced within a game session, but the sessionId will remain constant. An example of such a scenario is when a save game is loaded and a profile associated with the save game no longer exists. A Guest will then fill the slot and inherit the sessionId with a different playerId.