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

◆ SendInputUserDataMove()

static void InventoryInputUserData::SendInputUserDataMove ( int type,
notnull InventoryLocation src,
notnull InventoryLocation dst )
inlinestaticprivate

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

14 {
15 if (GetGame().IsClient())
16 {
17 if (LogManager.IsSyncLogEnable()) syncDebugPrint("[syncinv] t=" + GetGame().GetTime() + "ms sending cmd=" + typename.EnumToString(InventoryCommandType, type) + " src=" + InventoryLocation.DumpToStringNullSafe(src) + " dst=" + InventoryLocation.DumpToStringNullSafe(dst));
18 ScriptInputUserData ctx = new ScriptInputUserData;
19 SerializeMove(ctx, type, src, dst);
20 ctx.Send();
21 }
22 }
void syncDebugPrint(string s)
Определения Debug.c:1
InventoryCommandType
Определения Inventory.c:3
float GetTime()
Определения NotificationSystem.c:35
static void SerializeMove(ParamsWriteContext ctx, int type, notnull InventoryLocation src, notnull InventoryLocation dst)
move
Определения InventoryInputUserData.c:5
proto native void Send()
proto native CGame GetGame()

Перекрестные ссылки InventoryLocation::DumpToStringNullSafe(), GetGame(), GetTime(), LogManager::IsSyncLogEnable(), ScriptInputUserData::Send(), SerializeMove() и syncDebugPrint().

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