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

◆ PrepareReport()

TStringArray BunkerBroadcastScheduler::PrepareReport ( )
inlineprivate

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

201 {
202 TStringArray results = new TStringArray();
204 {
205 TIntArray mapCoords = MapNavigationBehaviour.OrderedPositionNumbersFromGridCoords(active.GetPosition());
206 TIntArray xCoords = mapCoords.Slice(0, 2);
207 TIntArray yCoords = mapCoords.Slice(3, 5);
208 TStringArray xCoordsString = new TStringArray();
209 TStringArray yCoordsString = new TStringArray();
210 foreach(int ix : xCoords)
211 xCoordsString.Insert(ix.ToString());
212
213 foreach(int iy : yCoords)
214 yCoordsString.Insert(iy.ToString());
215
216 string mapCoordsConverted;
217 mapCoordsConverted = string.Join("", xCoordsString);
218 mapCoordsConverted += string.Join("", yCoordsString);
219 results.Insert(mapCoordsConverted);
220 results.Insert(active.GetLockCode());
221 }
222
223 return results;
224 }
void BunkerBroadcastComponentBase(notnull EntityAI parent)
Определения BunkerBroadcastComponent.c:171
void MapNavigationBehaviour(PlayerBase pPlayer, EMapNavigationType pNavigationType=EMapNavigationType.BASIC)
Определения MapNavigationBehaviour.c:27
ref BunkerComponentsArray m_ActiveBunkers
Определения BunkerBroadcastScheduler.c:15
array< int > TIntArray
Определения EnScript.c:733
class array< Class T > TStringArray
proto void Insert(int index, string input)
Inserts a string into the n-th index, increasing the string length by the size of the input.
static string Join(string separator, notnull TStringArray tokens)
Определения EnString.c:424

Перекрестные ссылки string::Insert(), string::Join(), m_ActiveBunkers, MapNavigationBehaviour() и TStringArray.

Используется в BatchSelected().