Quantum 3 3.1.0

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 SessionRunner CreateRunner (SessionRunner.Arguments arguments, string defaultRunnerId)
 Instantiate a SessionRunner. More...
 

Public Attributes

virtual DeterministicPlatformInfo CreatePlatformInfo => DotNetHardwareInfoCollector.CreatePlatformInfo(RuntimeHost)
 Gather the platform information. More...
 
virtual TaskFactory CreateTaskFactory => null
 Create a Quantum task factory. More...
 
DeterministicPlatformInfo.RuntimeHosts RuntimeHost = DeterministicPlatformInfo.RuntimeHosts.NetApplication
 The runtime host reported in the platform information. 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 CreatePlatformInfo [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.

◆ CreateRunner()

virtual SessionRunner Quantum.DotNetRunnerFactory.CreateRunner ( SessionRunner.Arguments  arguments,
string  defaultRunnerId 
)
virtual

Instantiate a SessionRunner.

Parameters
argumentsSession arguments
defaultRunnerIdOptional default runner id.
Returns
A session runner

Implements Quantum.IRunnerFactory.

Member Data Documentation

◆ RuntimeHost

DeterministicPlatformInfo.RuntimeHosts Quantum.DotNetRunnerFactory.RuntimeHost = DeterministicPlatformInfo.RuntimeHosts.NetApplication

The runtime host reported in the platform information.

◆ CreatePlatformInfo

virtual DeterministicPlatformInfo Quantum.DotNetRunnerFactory.CreatePlatformInfo => DotNetHardwareInfoCollector.CreatePlatformInfo(RuntimeHost)

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.