BOOL ActionDelegator_T::IsPerformingTheSpecificScript(Obj_Character& rActor, ScriptID_t nScriptID) const { __ENTER_FUNCTION ActionLogic_T const * pActionLogic = rActor.GetActionLogic(); ActionParams_T& rActionParams = rActor.GetActionParams(); if(NULL==pActionLogic) { return FALSE; } return pActionLogic->IsPerformingSpecificScript(rActionParams, nScriptID); __LEAVE_FUNCTION return FALSE; }
BOOL ActionDelegator_T::IsChanneling(Obj_Character& rActor) const { __ENTER_FUNCTION ActionLogic_T const * pActionLogic = rActor.GetActionLogic(); ActionParams_T& rActionParams = rActor.GetActionParams(); if(NULL==pActionLogic) { return FALSE; } if(ACTION_CHANNEL!=pActionLogic->GetLogicID()) { return FALSE; } return TRUE; __LEAVE_FUNCTION return FALSE; }