v1.0.0
Latest
2022.3+

Class BaseSessionOptions

Common options for all session flows

Inheritance
System.Object
BaseSessionOptions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Unity.Services.Multiplayer
Syntax
public abstract class BaseSessionOptions

Properties

PlayerProperties

Custom game-specific properties that apply to an individual player (e.g. 'role' or 'skill').

Declaration
public Dictionary<string, PlayerProperty> PlayerProperties { get; set; }
Property Value
TypeDescription
System.Collections.Generic.Dictionary<System.String, PlayerProperty>
Remarks

Up to 10 properties may be set per player. PlayerProperty have different visibility levels.

Type

The session type is a client-side key used to uniquely identify a session

Declaration
public string Type { get; set; }
Property Value
TypeDescription
System.String

Extension Methods