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

◆ SplitIntoStackMaxHandsClient()

void InventoryItem::SplitIntoStackMaxHandsClient ( PlayerBase player)
inlineprotected

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

1934 {
1935 if (g_Game.IsClient())
1936 {
1937 if (ScriptInputUserData.CanStoreInputUserData())
1938 {
1939 ScriptInputUserData ctx = new ScriptInputUserData;
1941 ctx.Write(3);
1942 ItemBase i1 = this; // @NOTE: workaround for correct serialization
1943 ctx.Write(i1);
1944 ItemBase destination_entity = this;
1945 ctx.Write(destination_entity);
1946 ctx.Write(true);
1947 ctx.Write(0);
1948 ctx.Send();
1949 }
1950 }
1951 else if (!g_Game.IsMultiplayer())
1952 {
1953 SplitIntoStackMaxHands(player);
1954 }
1955 }
const int INPUT_UDT_ITEM_MANIPULATION
DayZGame g_Game
Определения DayZGame.c:3942
void SplitIntoStackMaxHands(PlayerBase player)
Определения ItemBase.c:1957
void ItemBase()
Определения ItemBase.c:148
proto native void Send()
proto bool Write(void value_out)

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