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

◆ BroadcastString()

void PluginBase::BroadcastString ( int index,
string value )
inlineprivate

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

76 {
77 //Debug.Log("Broadcasting message on a channel: "+ ToString(index), "Messaging System");
78 array<ref MessageReceiverBase> x = channelList[index];
79 //int test = channelList[index].Count();
80 for(int i = 0; i < x.Count(); i++)
81 {
82 if( x.Get(i) )
83 {
84 Print("broadcasting message to: ");
85 Print(x.Get(i));
86 x.Get(i).OnReceiveString(index, value);
87 }
88 }
89 }
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
proto void Print(void var)
Prints content of variable to console/log.

Перекрестные ссылки channelList, Print() и x.