DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ BroadcastParam()

void PluginBase::BroadcastParam ( int index,
Param params )
inlineprivate

Broadcasts a message on a channel provided in the 'index' parameter, passes the Param type object to the reciever.

См. определение в файле PluginMessageManager.c строка 92

93 {
94 //Debug.Log("Broadcasting message on a channel: "+ ToString(index), "Messaging System");
95 array<ref MessageReceiverBase> x = channelList[index];
96 //int test = channelList[index].Count();
97 for(int i = 0; i < x.Count(); i++)
98 {
99
100 if( x.Get(i) )
101 {
102 x.Get(i).OnReceiveParam(index, params);
103 }
104
105 }
106 }
Icon x
int Count()
Определения Container.c:338
LayoutHolder Get(int x)
Определения Container.c:1246
ref array< ref MessageReceiverBase > channelList[NUM_OF_CHANNELS]
Определения PluginMessageManager.c:7

Перекрестные ссылки channelList и x.