Photon Quantum 3.0.0

Public Member Functions | List of all members
Photon.Deterministic.DeterministicPluginFactory Class Reference

The default Quantum plugin factory. Replace with custom implementation of IPluginFactory. Change the name accordingly in your Photon dashboard and in this file (Photon-Server\deploy\LoadBalancing\GameServer\bin\plugin.config) to run locally. More...

Inherits IPluginFactory2.

Public Member Functions

virtual DeterministicPlugin CreateDeterministicPlugin (IPluginHost gameHost, String pluginName, Dictionary< String, String > config, IPluginLogger logger, ref String errorMsg)
 Instantiate a DeterministicPlugin. Override this method to create different custom plugin classes. More...
 

Detailed Description

The default Quantum plugin factory. Replace with custom implementation of IPluginFactory. Change the name accordingly in your Photon dashboard and in this file (Photon-Server\deploy\LoadBalancing\GameServer\bin\plugin.config) to run locally.

Member Function Documentation

◆ CreateDeterministicPlugin()

virtual DeterministicPlugin Photon.Deterministic.DeterministicPluginFactory.CreateDeterministicPlugin ( IPluginHost  gameHost,
String  pluginName,
Dictionary< String, String >  config,
IPluginLogger  logger,
ref String  errorMsg 
)
inlinevirtual

Instantiate a DeterministicPlugin. Override this method to create different custom plugin classes.

Parameters
gameHostThe Photon plugin host object
pluginNameThe plugin name
configThe dashboard plugin configuration
loggerA plugin logger
errorMsgAn error message to report to clients
Returns
DeterministicPlugin