Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

ClientScene.SetReconnectId

public static void SetReconnectId(int newReconnectId, PeerInfoMessage[] peers);

Parameters

newReconnectIdThe Id to use when reconnecting to a game.
peersThe set of known peers in the game. This may be null.

Description

Sets the Id that the ClientScene will use when reconnecting to a new host after host migration.

Did you find this page useful? Please give it a rating: