Special plugin that causes most callbacks to fail. More...
Public Member Functions | |
ErrorPlugin (string msg) | |
void | BeforeCloseGame (IBeforeCloseGameCallInfo info) |
Calls info.Continue More... | |
void | BeforeJoin (IBeforeJoinGameCallInfo info) |
Calls info.Fail More... | |
void | BeforeSetProperties (IBeforeSetPropertiesCallInfo info) |
Calls info.Fail More... | |
void | OnCloseGame (ICloseGameCallInfo info) |
Calls info.Continue More... | |
void | OnCreateGame (ICreateGameCallInfo info) |
Calls info.Fail More... | |
void | OnJoin (IJoinGameCallInfo info) |
Calls info.Fail More... | |
void | OnLeave (ILeaveGameCallInfo info) |
Calls info.Continue More... | |
void | OnRaiseEvent (IRaiseEventCallInfo info) |
Calls info.Fail More... | |
void | OnSetProperties (ISetPropertiesCallInfo info) |
Calls info.Fail More... | |
bool | OnUnknownType (Type type, ref object value) |
Does nothing. More... | |
void | ReportError (short errorCode, Exception e, object state=null) |
Does nothing. More... | |
bool | SetupInstance (IPluginHost host, Dictionary< string, string > config) |
Does nothing. More... | |
bool | SetupInstance (IPluginHost host, Dictionary< string, string > config, out string errorMessage) |
Does nothing. Only sets "errorMessage" to empty string. Does not set plugin host, nor initiliaze plugin using configuration. More... | |
Properties | |
string | Name [get] |
string | Version [get] |
bool | IsPersistent [get] |
bool | UseStrictMode [get] |
string | Message [get] |
Properties inherited from Photon.Hive.Plugin.IGamePlugin | |
string | Name [get] |
Name of the plugin. Default is not allowed. This should be the name used when requesting the plugin from the client in CreateGame operation. This will be returned to the client in the CreateGame operation response. More... | |
string | Version [get] |
Version of the plugin. This will be returned to the client in the CreateGame operation response. More... | |
bool | IsPersistent [get] |
Flag used with webhooks plugin to indicate whether or not rooms should be persisted between connections. If true, SerializedGameState should be sent to web service before removing the room from memory. Also it could be loaded in OnCreateGame or BeforeJoin. More... | |
Special plugin that causes most callbacks to fail.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Does nothing.
host | |
config |
|
inline |
Does nothing. Only sets "errorMessage" to empty string. Does not set plugin host, nor initiliaze plugin using configuration.
host | |
config | |
errorMessage |
Implements Photon.Hive.Plugin.IGamePlugin.
|
get |
|
get |
|
get |
|
get |
|
get |