Example #1
0
        public override bool OnEnter(CFSM fsmEntity, CFSMEvent fsmEvent)
        {
            if (fsmEntity == null)
            {
                return(false);
            }
            CGameClient gameClient = fsmEntity.GetFSMBindEntity() as CGameClient;

            if (gameClient == null)
            {
                return(false);
            }
            gameClient.StartUpdate();
            return(true);
        }
Example #2
0
 public override bool OnEnter(CFSM fsmEntity, CFSMEvent fsmEvent)
 {
     return(true);
 }
Example #3
0
 public override bool Process(CFSM fsmEntity, CFSMEvent fsmEvent)
 {
     return(true);
 }