Base interface 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... | |
Base interface of plugin factory pattern.
IGamePlugin Photon.Hive.Plugin.IPluginFactory.Create | ( | IPluginHost | gameHost, |
string | pluginName, | ||
Dictionary< string, string > | config, | ||
out string | errorMsg | ||
) |
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. |
Implemented in Photon.Hive.Plugin.PluginFactoryBase.