Photon Quantum 3.0.0

Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Quantum.DotNetRunnerFactory Class Reference

Platform dependent information and factory methods for the SessionRunner. This implementation of the IRunnerFactory is not unused in Unity but in standalone Quantum applications and on the Quantum server plugin. More...

Inheritance diagram for Quantum.DotNetRunnerFactory:
Quantum.IRunnerFactory

Public Member Functions

virtual IDeterministicGame CreateGame (QuantumGameStartParameters startParameters)
 Instantiate the QuantumGame. More...
 
virtual void CreateProfiler (string clientId, DeterministicSessionConfig deterministicConfig, DeterministicPlatformInfo platformInfo, IDeterministicGame game)
 The callback can be used to create and attach local profiler before the Quantum simulation has been started. No profilers are created. More...
 
virtual SessionRunner CreateRunner (SessionRunner.Arguments arguments)
 Instantiate a SessionRunner. More...
 

Static Public Member Functions

static DeterministicPlatformInfo CreatePlatformInfo ()
 Static method to create platform info. Initializes statics Native.Utils and MemoryLayoutVerifier.Platform. More...
 

Public Attributes

virtual DeterministicPlatformInfo CreatePlaformInfo => CreatePlatformInfo()
 Gather the platform information. More...
 
virtual TaskFactory CreateTaskFactory => null
 Create a Quantum task factory. More...
 
virtual Action UpdateDB => null
 The action to when an update to the AssetDB is required. Not required. More...
 

Additional Inherited Members

- Properties inherited from Quantum.IRunnerFactory
DeterministicPlatformInfo CreatePlaformInfo [get]
 Gather the platform information. There is a spelling mistake in the method name, but it's considered a bigger annoyance to change the interface. More...
 
TaskFactory CreateTaskFactory [get]
 Create a Quantum task factory. More...
 
Action UpdateDB [get]
 The action to when an update to the AssetDB is required. More...
 

Detailed Description

Platform dependent information and factory methods for the SessionRunner. This implementation of the IRunnerFactory is not unused in Unity but in standalone Quantum applications and on the Quantum server plugin.

Member Function Documentation

◆ CreateGame()

virtual IDeterministicGame Quantum.DotNetRunnerFactory.CreateGame ( QuantumGameStartParameters  startParameters)
virtual

Instantiate the QuantumGame.

Parameters
startParametersStart parameters
Returns
Instance of IDeterministicGame

Implements Quantum.IRunnerFactory.

◆ CreateProfiler()

virtual void Quantum.DotNetRunnerFactory.CreateProfiler ( string  clientId,
DeterministicSessionConfig  deterministicConfig,
DeterministicPlatformInfo  platformInfo,
IDeterministicGame  game 
)
inlinevirtual

The callback can be used to create and attach local profiler before the Quantum simulation has been started. No profilers are created.

Parameters
clientIdQuantum client id
deterministicConfigSession config
platformInfoPlatform info
gameGame

Implements Quantum.IRunnerFactory.

◆ CreateRunner()

virtual SessionRunner Quantum.DotNetRunnerFactory.CreateRunner ( SessionRunner.Arguments  arguments)
virtual

Instantiate a SessionRunner.

Parameters
argumentsSession arguments
Returns
A session runner

Implements Quantum.IRunnerFactory.

◆ CreatePlatformInfo()

static DeterministicPlatformInfo Quantum.DotNetRunnerFactory.CreatePlatformInfo ( )
inlinestatic

Static method to create platform info. Initializes statics Native.Utils and MemoryLayoutVerifier.Platform.

Returns
Platform information data

Member Data Documentation

◆ CreatePlaformInfo

virtual DeterministicPlatformInfo Quantum.DotNetRunnerFactory.CreatePlaformInfo => CreatePlatformInfo()

Gather the platform information.

◆ CreateTaskFactory

virtual TaskFactory Quantum.DotNetRunnerFactory.CreateTaskFactory => null

Create a Quantum task factory.

◆ UpdateDB

virtual Action Quantum.DotNetRunnerFactory.UpdateDB => null

The action to when an update to the AssetDB is required. Not required.