Пример #1
0
 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;
 }
Пример #2
0
	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;
	}
Пример #3
0
 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;
 }
Пример #4
0
 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;
 }