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

◆ SyncSlots()

void ItemBase::SyncSlots ( )
inlineprivate

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

250 {
251 if (g_Game.IsServer() || !g_Game.IsMultiplayer())
252 {
253 UpdateSlots();
254
255 int slotsCount = GetGardenSlotsCount();
256 for (int i = 0; i < slotsCount; ++i)
257 {
259 }
260
261 if (g_Game.IsDedicatedServer())
262 SetSynchDirty();
263 }
264 }
DayZGame g_Game
Определения DayZGame.c:3868
int GetGardenSlotsCount()
Определения GardenBase.c:351
void UpdateSlots()
Определения GardenBase.c:104
void UpdateSlotTexture(int slot_index)
This should be only called on server as the selections are synced to clients in C++.
Определения GardenBase.c:563

Перекрестные ссылки g_Game, GardenBase::GetGardenSlotsCount(), UpdateSlots() и UpdateSlotTexture().

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