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

◆ OnSetEntityRequest()

void OnSetEntityRequest ( ParamsReadContext ctx)
protected

Reaction on SetEntityShortcut from client.

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

193 {
194 EntityAI eai = null;
195 if (!ctx.Read(eai))
196 return;
197
198 int index = -1;
199 if (!ctx.Read(index))
200 return;
201
202 bool force = false;
203 if (!ctx.Read(force))
204 return
205
206 _SetEntityShortcut(eai, index, force);
207 }
void _SetEntityShortcut(EntityAI entity, int index, bool force=false)
Определения QuickBarBase.c:209
Определения Building.c:6
proto bool Read(void value_in)

Перекрестные ссылки _SetEntityShortcut() и Serializer::Read().

Используется в OnInputUserDataProcess().