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

◆ SplitIntoStackMaxHandsClient()

void InventoryItem::SplitIntoStackMaxHandsClient ( PlayerBase player)
inlineprotected

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

1907 {
1908 if (GetGame().IsClient())
1909 {
1910 if (ScriptInputUserData.CanStoreInputUserData())
1911 {
1912 ScriptInputUserData ctx = new ScriptInputUserData;
1914 ctx.Write(3);
1915 ItemBase i1 = this; // @NOTE: workaround for correct serialization
1916 ctx.Write(i1);
1917 ItemBase destination_entity = this;
1918 ctx.Write(destination_entity);
1919 ctx.Write(true);
1920 ctx.Write(0);
1921 ctx.Send();
1922 }
1923 }
1924 else if (!GetGame().IsMultiplayer())
1925 {
1926 SplitIntoStackMaxHands(player);
1927 }
1928 }
const int INPUT_UDT_ITEM_MANIPULATION
void SplitIntoStackMaxHands(PlayerBase player)
Определения ItemBase.c:1930
void ItemBase()
Определения ItemBase.c:140
proto native void Send()
proto bool Write(void value_out)
proto native CGame GetGame()

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