Class GameSessionRequests.CreateGameSessionRequest
Create a new game session
Namespace: Unity.PSN.PS5.Sessions
Syntax
public class CreateGameSessionRequest : Request
Properties
CreationParams
The parameters used to create the session
Declaration
public GameSessionCreationParams CreationParams { get; set; }
Property Value
| Type | Description |
|---|---|
| GameSessionCreationParams |
CreatorsCustomData1
Custom binary member data for game session creator
Declaration
public byte[] CreatorsCustomData1 { get; set; }
Property Value
| Type | Description |
|---|---|
| Byte[] |
Session
The created game session instance
Declaration
public GameSession Session { get; }
Property Value
| Type | Description |
|---|---|
| GameSession |
UserId
User ID
Declaration
public int UserId { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Methods
Run()
Declaration
protected override void Run()