Peer Bridge
The bridge methods provide a way to access all of brainCloud's services within Cloud Code scripts.
These methods are only available when executing a script in a peer context, such as when calling
RunPeerScript
or RunPeerScriptAsync
.
📄️ GetClientAppId
Retrieves the appId of the client who called the peer script.
📄️ GetClientSession
Retrieves the session for the peer client to allow client proxy creation.
📄️ GetPeerProfileSession
Creates a session for the peer profile to allow profile context proxy creation.