Photon Plugins API Documentation
v5.0RC1
Base abstract class of plugin factory pattern. More...
Public Member Functions | |
| IGamePlugin | Create (IPluginHost gameHost, string pluginName, Dictionary< string, string > config, out string errorMsg) |
| Create and initialize a new plugin instance. More... | |
| void | SetFactoryHost (IFactoryHost fHost, FactoryParams factoryParams) |
| abstract IGamePlugin | CreatePlugin (string pluginName) |
| Returns instance of the plugin. More... | |
Protected Attributes | |
| IFactoryHost | factoryHost |
Base abstract class of plugin factory pattern.
|
inline |
Create and initialize a new plugin instance.
| gameHost | The game to host the plugin instance. |
| pluginName | The plugin name as requested by client in Op CreateGame. |
| config | The plugin assembly key/value configuration entries. |
| errorMsg | An eventual error message to return in case something goes wrong. |
Implements Photon.Hive.Plugin.IPluginFactory.
|
pure virtual |
Returns instance of the plugin.
| pluginName | The plugin name as requested by client in Op CreateGame. |
|
inline |
Implements Photon.Hive.Plugin.IPluginFactory2.
|
protected |