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.
|
| virtual DeterministicPlugin | CreateDeterministicPlugin (IPluginHost gameHost, String pluginName, Dictionary< String, String > config, ref String errorMsg) |
| | Instantiate a DeterministicPlugin. Override this method to create different custom plugin classes. More...
|
| |
| virtual IDeterministicSessionFactory | CreateSessionFactory () |
| | Accessing DeterministicServer.SessionContext or server simulation requires a session factory to be created. Override this method to provide a custom session factory. More...
|
| |
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.
◆ CreateDeterministicPlugin()
| virtual DeterministicPlugin Photon.Deterministic.DeterministicPluginFactory.CreateDeterministicPlugin |
( |
IPluginHost |
gameHost, |
|
|
String |
pluginName, |
|
|
Dictionary< String, String > |
config, |
|
|
ref String |
errorMsg |
|
) |
| |
|
inlinevirtual |
Instantiate a DeterministicPlugin. Override this method to create different custom plugin classes.
- Parameters
-
| gameHost | The Photon plugin host object |
| pluginName | The plugin name |
| config | The dashboard plugin configuration |
| errorMsg | An error message to report to clients |
- Returns
- DeterministicPlugin
◆ CreateSessionFactory()
| virtual IDeterministicSessionFactory Photon.Deterministic.DeterministicPluginFactory.CreateSessionFactory |
( |
| ) |
|
|
virtual |
Accessing DeterministicServer.SessionContext or server simulation requires a session factory to be created. Override this method to provide a custom session factory.
- Returns
- Session factory or null