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

◆ SendInputUserDataMove()

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

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

14 {
15 if (g_Game.IsClient())
16 {
17 if (LogManager.IsSyncLogEnable()) syncDebugPrint("[syncinv] t=" + g_Game.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)
InventoryCommandType
DayZGame g_Game
Определения DayZGame.c:3942
static void SerializeMove(ParamsWriteContext ctx, int type, notnull InventoryLocation src, notnull InventoryLocation dst)
move
Определения InventoryInputUserData.c:5
proto native void Send()

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

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