234 {
235 super.Update(pCurrentCommandID);
236 int currentCommandID =
m_Player.GetCurrentCommandID();
237
238
239
241 {
243 {
244#ifdef ENABLE_LOGGING
245 if ( LogManager.IsActionLogEnable() )
246 {
247 Debug.ActionLog(
"STS = " +
m_Player.GetSimulationTimeStamp() +
" m_PendingAction && m_CurrentActionData",
this.ToString() ,
"n/a",
"Update",
m_Player.ToString() );
248 }
249#endif
251 }
252 else
253 {
256
257 bool success = true;
259#ifdef ENABLE_LOGGING
260 if ( LogManager.IsActionLogEnable() )
261 {
263 }
264#endif
266 {
267 success = false;
268 }
269
270
271 if (success)
272 {
274 }
275 else
276 {
278 {
280 }
281 else
282 {
284 }
285 }
286 }
287
290 }
291
293 {
295 {
297 }
298
299
301 {
303 break;
304
306
307#ifdef ENABLE_LOGGING
308 if ( LogManager.IsActionLogEnable() )
309 {
310 Debug.ActionLog(
"STS = " +
m_Player.GetSimulationTimeStamp() +
" UA_AM_ACCEPTED",
this.ToString() ,
"n/a",
"Update",
m_Player.ToString() );
311 }
312#endif
316 {
319
322 }
323 else
324 {
326 }
328 break;
329
331#ifdef ENABLE_LOGGING
332 if ( LogManager.IsActionLogEnable() )
333 {
334 Debug.ActionLog(
"STS = " +
m_Player.GetSimulationTimeStamp() +
" UA_AM_REJECTED",
this.ToString() ,
"n/a",
"Update",
m_Player.ToString() );
335 }
336#endif
339 break;
340
341 default:
343 {
344#ifdef ENABLE_LOGGING
345 if ( LogManager.IsActionLogEnable() )
346 {
347 Debug.ActionLog(
"STS = " +
m_Player.GetSimulationTimeStamp() +
" m_ActionInputWantEnd",
this.ToString() ,
"n/a",
"Update",
m_Player.ToString() );
348 }
349#endif
352 }
353
355 {
356#ifdef ENABLE_LOGGING
357 if ( LogManager.IsActionLogEnable() )
358 {
359 Debug.ActionLog(
"STS = " +
m_Player.GetSimulationTimeStamp() +
" m_ActionWantEndRequest",
this.ToString() ,
"n/a",
"Update",
m_Player.ToString() );
360 }
361#endif
364 }
365 break;
366 }
367 }
368 }
ref ActionData m_CurrentActionData
bool m_ActionInputWantEnd
bool ActionPossibilityCheck(int pCurrentCommandID)
int m_PendingActionAcknowledgmentID
bool m_ActionWantEndRequest
void ActionTarget(Object object, Object parent, int componentIndex, vector cursorHitPos, float utility, string surfaceName="")
ref ActionTarget m_Target
ref ActionReciveData m_PendingActionReciveData
override void RequestInterruptAction()
server requests action interrupt
override void StartDeliveredAction()
override void OnActionEnd()
ActionBase m_PendingAction