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

◆ SplitIntoStackMaxCargoClient()

void SplitIntoStackMaxCargoClient ( EntityAI destination_entity,
int idx,
int row,
int col )
protected

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

1772 {
1773 if (g_Game.IsClient())
1774 {
1776 {
1779 ctx.Write(2);
1780 ItemBase dummy = this; // @NOTE: workaround for correct serialization
1781 ctx.Write(dummy);
1782 ctx.Write(destination_entity);
1783 ctx.Write(true);
1784 ctx.Write(idx);
1785 ctx.Write(row);
1786 ctx.Write(col);
1787 ctx.Send();
1788 }
1789 }
1790 else if (!g_Game.IsMultiplayer())
1791 {
1792 SplitIntoStackMaxCargo(destination_entity, idx, row, col);
1793 }
1794 }
const int INPUT_UDT_ITEM_MANIPULATION
DayZGame g_Game
Определения DayZGame.c:4074
void SplitIntoStackMaxCargo(EntityAI destination_entity, int idx, int row, int col)
Определения ItemBase.c:1838
proto native void Send()
proto static native bool CanStoreInputUserData()
Returns true when the channel is free, AND the InputBuffer is NOT full (same as '!...
Определения gameplay.c:121
proto bool Write(void value_out)

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