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

◆ SplitIntoStackMaxToInventoryLocationClient()

void InventoryItem::SplitIntoStackMaxToInventoryLocationClient ( notnull InventoryLocation dst)
inlineprotected

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

1822 {
1823 if (g_Game.IsClient())
1824 {
1825 if (ScriptInputUserData.CanStoreInputUserData())
1826 {
1827 ScriptInputUserData ctx = new ScriptInputUserData;
1829 ctx.Write(4);
1830 ItemBase thiz = this; // @NOTE: workaround for correct serialization
1831 ctx.Write(thiz);
1832 dst.WriteToContext(ctx);
1833 ctx.Send();
1834 }
1835 }
1836 else if (!g_Game.IsMultiplayer())
1837 {
1839 }
1840 }
const int INPUT_UDT_ITEM_MANIPULATION
DayZGame g_Game
Определения DayZGame.c:3942
void ItemBase()
Определения ItemBase.c:148
void SplitIntoStackMaxToInventoryLocation(notnull InventoryLocation dst)
Определения ItemBase.c:1867
proto native void Send()
proto bool Write(void value_out)

Перекрестные ссылки ScriptInputUserData::CanStoreInputUserData(), g_Game, INPUT_UDT_ITEM_MANIPULATION, ItemBase(), ScriptInputUserData::Send(), SplitIntoStackMaxToInventoryLocation() и Serializer::Write().