using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BrewMonster.Assets.PerfectWorld.Scripts.Players { public class CECActionSwitcherBase { CECHostPlayer m_pHostPlayer; bool m_bCanAddMsg; protected List m_msgs = new List(); List m_actionContexts; public CECActionSwitcherBase(CECHostPlayer pHost) { m_pHostPlayer = pHost; } public virtual bool OnRideToSkillAction(int skill, bool bCom, int iSel, int iForceAtk) { return false; } public bool CanAddMessage() { return m_bCanAddMsg; } public void PostMessge(int msg) { if (CanAddMessage()) m_msgs.UniquelyAdd(msg); } } public enum EMsgActionSwitcher { MSG_FLY = 0, MSG_MOUNTPET, MSG_CASTSKILL, }; }