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

◆ SplitIntoStackMaxToInventoryLocationClient()

void InventoryItem::SplitIntoStackMaxToInventoryLocationClient ( notnull InventoryLocation dst)
inlineprotected

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

1795 {
1796 if (GetGame().IsClient())
1797 {
1798 if (ScriptInputUserData.CanStoreInputUserData())
1799 {
1800 ScriptInputUserData ctx = new ScriptInputUserData;
1802 ctx.Write(4);
1803 ItemBase thiz = this; // @NOTE: workaround for correct serialization
1804 ctx.Write(thiz);
1805 dst.WriteToContext(ctx);
1806 ctx.Send();
1807 }
1808 }
1809 else if (!GetGame().IsMultiplayer())
1810 {
1812 }
1813 }
const int INPUT_UDT_ITEM_MANIPULATION
void ItemBase()
Определения ItemBase.c:140
void SplitIntoStackMaxToInventoryLocation(notnull InventoryLocation dst)
Определения ItemBase.c:1840
proto native void Send()
proto bool Write(void value_out)
proto native CGame GetGame()

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