Photon Fusion 1.1.2

Public Attributes | List of all members
StartGameArgs Struct Reference

Fusion Start Arguments, used to configure the simulation mode and other settings More...

Public Attributes

GameMode GameMode
 Game Mode in which this peer will start More...
 
string SessionName
 Photon Cloud Session Name used either to Create or Join a Session More...
 
NetAddressAddress
 Binding Address More...
 
INetworkObjectPool ObjectPool
 Object pool to use More...
 
INetworkSceneManager SceneManager
 See INetworkSceneManager. More...
 
NetworkProjectConfig Config
 Custom NetworkProjectConfig used to start the simulation More...
 
int? PlayerCount
 Number of players allowed to connect to this peer, when running in Server Mode More...
 
SceneRef? Scene
 Scene that will be set as the starting Scene when running in Server Mode More...
 
Action< NetworkRunnerInitialized
 Callback that is invoked when the Fusion has fully started More...
 
bool DisableNATPunchthrough
 Flag to disable the NAT Punchthrough implementation and connect only via Relay More...
 
Type[] CustomCallbackInterfaces
 User defined callback interfaces we will provide O(1) constant time lookup for More...
 
byte[] ConnectionToken
 Connection token sent by client to server. Not used in shared mode. More...
 
Dictionary< string, SessionProperty > SessionProperties
 Custom Session Properties. This dictionary can be used to either setup the initial Session Properties when creating a Session but also to set the matchmaking filters when joining a Random Session. More...
 
string CustomLobbyName
 Session Custom Lobby to be published in More...
 
string CustomSTUNServer
 Specify a Custom STUN Server used to Resolve the peer Reflexive Addresses More...
 
AuthenticationValues AuthValues
 Custom Authentication Data More...
 
AppSettings CustomPhotonAppSettings
 Custom Photon Application Settings More...
 
bool DisableClientSessionCreation
 Disables the Session creation when starting a Client with an specific Session Name More...
 
HostMigrationToken HostMigrationToken
 Host Migration Token used when restarting the Fusion Simulation More...
 
Action< NetworkRunnerHostMigrationResume
 Callback invoked when the new Host is migrating from the old Host state More...
 

Detailed Description

Fusion Start Arguments, used to configure the simulation mode and other settings

Member Data Documentation

◆ Address

NetAddress? Address

Binding Address

◆ AuthValues

AuthenticationValues AuthValues

Custom Authentication Data

◆ Config

Custom NetworkProjectConfig used to start the simulation

◆ ConnectionToken

byte [] ConnectionToken

Connection token sent by client to server. Not used in shared mode.

◆ CustomCallbackInterfaces

Type [] CustomCallbackInterfaces

User defined callback interfaces we will provide O(1) constant time lookup for

◆ CustomLobbyName

string CustomLobbyName

Session Custom Lobby to be published in

◆ CustomPhotonAppSettings

AppSettings CustomPhotonAppSettings

Custom Photon Application Settings

◆ CustomSTUNServer

string CustomSTUNServer

Specify a Custom STUN Server used to Resolve the peer Reflexive Addresses

◆ DisableClientSessionCreation

bool DisableClientSessionCreation

Disables the Session creation when starting a Client with an specific Session Name

◆ DisableNATPunchthrough

bool DisableNATPunchthrough

Flag to disable the NAT Punchthrough implementation and connect only via Relay

◆ GameMode

Game Mode in which this peer will start

◆ HostMigrationResume

Action<NetworkRunner> HostMigrationResume

Callback invoked when the new Host is migrating from the old Host state

◆ HostMigrationToken

Host Migration Token used when restarting the Fusion Simulation

◆ Initialized

Action<NetworkRunner> Initialized

Callback that is invoked when the Fusion has fully started

◆ ObjectPool

INetworkObjectPool ObjectPool

Object pool to use

◆ PlayerCount

int? PlayerCount

Number of players allowed to connect to this peer, when running in Server Mode

◆ Scene

SceneRef? Scene

Scene that will be set as the starting Scene when running in Server Mode

◆ SceneManager

INetworkSceneManager SceneManager

See INetworkSceneManager.

◆ SessionName

string SessionName

Photon Cloud Session Name used either to Create or Join a Session

◆ SessionProperties

Dictionary<string, SessionProperty> SessionProperties

Custom Session Properties. This dictionary can be used to either setup the initial Session Properties when creating a Session but also to set the matchmaking filters when joining a Random Session.