#include "StdAfx.h" #include "DnDisableActionBlow.h" #if !defined( USE_BOOST_MEMPOOL ) #ifdef _DEBUG #define new new(_NORMAL_BLOCK,__FILE__,__LINE__) #endif #endif // #if !defined( USE_BOOST_MEMPOOL ) CDnDisableActionBlow::CDnDisableActionBlow( DnActorHandle hActor, const char* szValue ) : CDnBlow( hActor ) { m_StateBlow.emBlowIndex = STATE_BLOW::BLOW_224; SetValue( szValue ); SetBlowInfo(); } void CDnDisableActionBlow::SetBlowInfo() { std::string str = m_StateBlow.szValue;; std::string delimiters = ";"; TokenizeA(str, m_vecActionList, delimiters); } bool CDnDisableActionBlow::IsMatchedAction(const char* strAction) { for(DWORD i=0; i