Exemplo n.º 1
0
        internal void RoleFSMStateCombo(INotificationSender target, int stateName)
        {
            if (StatesMapper == default)
            {
                return;
            }
            RoleFSMStateInfo info = StatesMapper[stateName];

            if (info == default)
            {
                return;
            }

            NotificationInfo[] list = info.stateComboNotice;
            SendRoleFSMStateNotifications(ref target, ref list);
        }
Exemplo n.º 2
0
        public void RoleFSMStateWillFinish(INotificationSender target, int stateName)
        {
            if (StatesMapper == default)
            {
                return;
            }
            RoleFSMStateInfo info = StatesMapper[stateName];

            if (info == default)
            {
                return;
            }

            NotificationInfo[] list = info.willFinishStateNotice;
            SendRoleFSMStateNotifications(ref target, ref list);
        }