Class GameSessionRequests.JoinGameSessionRequest
Get a user to join the game session
Namespace: Unity.PSN.PS5.Sessions
Syntax
public class JoinGameSessionRequest : Request
Properties
Callbacks
The callback used when session is updated
Declaration
public GameSessionCallbacks Callbacks { get; set; }
Property Value
| Type | Description |
|---|---|
| GameSessionCallbacks |
JoinAsSpectator
Join the player session as a spectator
Declaration
public bool JoinAsSpectator { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Session
The joined session
Declaration
public GameSession Session { get; }
Property Value
| Type | Description |
|---|---|
| GameSession |
SessionFilters
The session filters to use when creating the users WebApi push events
Declaration
public WebApiFilters SessionFilters { get; set; }
Property Value
| Type | Description |
|---|---|
| WebApiFilters |
SessionId
Session ID to join
Declaration
public string SessionId { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
UserId
User ID
Declaration
public int UserId { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Methods
Run()
Declaration
protected override void Run()