9 void PluginMessageManager()
18 void Broadcast(
int index)
23 for(
int i = 0; i <
x.Count(); i++)
37 void BroadcastInt(
int index,
int value)
42 for(
int i = 0; i <
x.Count(); i++)
50 mrb.OnReceiveInt(index, value);
56 void BroadcastFloat(
int index,
float value)
61 for(
int i = 0; i <
x.Count(); i++)
69 mrb.OnReceiveFloat(index, value);
75 void BroadcastString(
int index,
string value)
80 for(
int i = 0; i <
x.Count(); i++)
84 Print(
"broadcasting message to: ");
86 x.Get(i).OnReceiveString(index, value);
92 void BroadcastParam(
int index,
Param params)
97 for(
int i = 0; i <
x.Count(); i++)
102 x.Get(i).OnReceiveParam(index, params);
111 if(index > channelsUsed)
113 channelsUsed = index;
116 if( chan.Find(receiver) >= 0 )
return;
117 chan.Insert(receiver);
123 int i = chan.Find(receiver);
133 for (
int i = 0; i <= channelsUsed; i++)
136 int c = chan.Find(receiver);