Board

Board.Session.BoardSession

BoardSession.ResetPlayers() Method

Resets the session players to the initial state.

public static bool ResetPlayers();

Returns

System.Boolean
true if the reset was successful; otherwise, false.

Remarks

This method clears all current players and re-adds only the active profile as the first player, returning the session to its initialized state. Any resulting changes to players will trigger the playersChanged event.