BOOL ChargeActionLogic_T::OnInterrupt(ActionParams_T& rParams) const { __ENTER_FUNCTION ActionCallBackFunctor_T const* pCallBack = rParams.GetCallBackFunctor(); if(NULL!=pCallBack) { return pCallBack->OnInterrupt(rParams); } return FALSE; __LEAVE_FUNCTION return FALSE; }
BOOL ChannelActionLogic_T::OnDisturb(ActionParams_T& rParams) const { __ENTER_FUNCTION ActionCallBackFunctor_T const* pCallBack = rParams.GetCallBackFunctor(); if(NULL!=pCallBack) { return pCallBack->OnDisturbForChanneling(rParams); } return FALSE; __LEAVE_FUNCTION return FALSE; }
BOOL ActionLogic_T::IsPerformingSpecificScript(ActionParams_T& rParams, ScriptID_t nID) const { __ENTER_FUNCTION ActionCallBackFunctor_T const* pCallBack = rParams.GetCallBackFunctor(); if(NULL!=pCallBack) { return pCallBack->IsPerformingSpecificScript(rParams, nID); } return FALSE; __LEAVE_FUNCTION return FALSE; }
BOOL ChargeActionLogic_T::OnDisturb(ActionParams_T& rParams) const { __ENTER_FUNCTION ActionCallBackFunctor_T const* pCallBack = rParams.GetCallBackFunctor(); if(NULL!=pCallBack) { if(TRUE == pCallBack->InterruptWhenDisturbed(rParams)) { return FALSE; } return pCallBack->OnDisturbForCharging(rParams); } return TRUE; __LEAVE_FUNCTION return FALSE; }