4 PluginMessageManager m_ModuleMessageManager;
7 void OnReceive(
int channel) {}
8 void OnReceiveInt(
int channel,
int value) {}
9 void OnReceiveFloat(
int channel,
float value) {}
10 void OnReceiveString(
int channel,
string value) {}
12 void OnReceiveParam(
int channel,
Param params) {}
16 m_ModuleMessageManager = PluginMessageManager.Cast(
GetPlugin(PluginMessageManager));
19 void Subscribe(
int channel)
21 m_ModuleMessageManager.Subscribe(
this,channel);
24 void Unsubscribe(
int channel)
34 void Broadcast(
int channel)
36 m_ModuleMessageManager.Broadcast(channel);
39 void BroadcastInt(
int channel,
int value)
41 m_ModuleMessageManager.BroadcastInt(channel, value);
44 void BroadcastFloat(
int channel,
float value)
46 m_ModuleMessageManager.BroadcastFloat(channel, value);
49 void BroadcastString(
int channel,
string value)
51 m_ModuleMessageManager.BroadcastString(channel, value);
54 void BroadcastParam(
int channel,
Param params)
56 m_ModuleMessageManager.BroadcastParam(channel, params);
60 void Log(
string message)