Specifies a scope for storing or retrieving values from a MultiplayerSession.

var options = StorageOptions.create();
options.scope = StorageScope.Session;

Enumeration Members

Enumeration Members

Session: number

Stored values are visible and editable by any user who is using the same session. Values are stored as long as the session that corresponds to chat exists.

User: number

Stored variables are visible to the user only, and accessible until lens cache is cleared.