Namespace STREAMSIX.Client
Classes
ClientManager
Entry point to manage game sessions for the Client application
Call Init() before using this class. Target environment is automatically loaded from either PlayerPref or from Debugger if running in editor.
To switch to another environment at runtime, destroy the current ClientManager and create a new one. Call Init(S6Environment) with the new target environment.
This behaviour calls DontDestroyOnLoad(this) to keep itself alive across scene load.
Join
Call JoinRoomAsync(String, String) to join a session. This connects to the actor.
Manage session
Call EndSession() at end of gameplay to stop client from attempting to reconnect.
CustomLeaderboard
Leaderboard client wrapper for the Client that provides functions to access custom leaderboard.
EventCallbackClient
Use this class to hook up various events from the SDK.
GameData
Entity client wrapper for the Client that provides functions to access game data.
InventoryDefinition
Inventory client wrapper for the Client that provides functions to access item and product definition.
LambdaActor
PointsLeaderboard
Leaderboard client wrapper for the Client that provides functions to access points leaderboard.
ShareInventory
Inventory client wrapper for the Client that provides functions to access user's share inventory.
UserData
Entity client wrapper for the Client that provides functions to access user data.
UserInventory
Inventory client wrapper for the Client that provides functions to access user inventory.
Delegates
ClientManager.EndSessionEvent
Event when session ends.
First parameter is session id. Second parameter is exception if session did not end normally.