Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

InitLocation

Description

Sent during the ZoneTransitionQueue queue, after zones are loaded.

Returns the player’s home location data and the address of the SYNC server.

The Home.PlayerMaze.HomeTheme.AssetMap["Scene_Unity3D"] asset drives scene loading via LoadMazeCommand -> AssetDownloadManager.LoadMainScene().

Home.PlayerMaze.HomeTheme.AssetMap must contain a "Scene_Unity3D" entry used by LoadMazeCommand to load the main scene asset, e.g. Springtime003.unity3d (main map) or HomeLotSmall.unity3d (home lot). (?)

ZoneManager.InitLocationHomeResponseHandler() stores syncServerIP, syncServerToken, and syncServerPort in GameSettings. These are later used by SyncManager to open its session and send SyncLogin.

Request

FieldTypeDescription
LocIDOID

Response

FieldTypeDescription
ZoneInstanceZoneInstance
VillageVillage
HomePlayerHome
SyncServerTokenstringToken used to authenticate with the SYNC server
SyncServerIPstringIP address of the SYNC server
SyncServerPortint32Port of the SYNC server