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

◆ SplitIntoStackMaxToInventoryLocationClient()

void InventoryItem::SplitIntoStackMaxToInventoryLocationClient ( notnull InventoryLocation dst)
inlineprivate

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

1766 {
1767 if (!CanBeSplit())
1768 return;
1769
1770 if (GetGame().IsClient())
1771 {
1772 if (ScriptInputUserData.CanStoreInputUserData())
1773 {
1774 ScriptInputUserData ctx = new ScriptInputUserData;
1776 ctx.Write(4);
1777 ItemBase thiz = this; // @NOTE: workaround for correct serialization
1778 ctx.Write(thiz);
1779 dst.WriteToContext(ctx);
1780 ctx.Send();
1781 }
1782 }
1783 else if (!GetGame().IsMultiplayer())
1784 {
1786 }
1787 }
const int INPUT_UDT_ITEM_MANIPULATION
Определения _constants.c:8
void ItemBase()
Определения ItemBase.c:140
void SplitIntoStackMaxToInventoryLocation(notnull InventoryLocation dst)
Определения ItemBase.c:1817
override bool CanBeSplit()
Определения ItemBase.c:1580
proto native void Send()
proto bool Write(void value_out)
proto native CGame GetGame()

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