Example #1
0
        public void _runActionId(ActionId nActionId)
        {
            uint id_ = nActionId._getId();

            if (mActions.ContainsKey(id_))
            {
                mActions[id_]._runActionId(nActionId);
            }
            else
            {
                LogSingleton logSingleton_ = __singleton <LogSingleton> ._instance();

                logSingleton_._logError(@"ActionMgr _runActionId ContainsKey");
                throw new Exception();
            }
        }
Example #2
0
        bool _isActionId(ActionId nActionId)
        {
            bool result_ = false;
            uint id_     = nActionId._getId();

            if (mActions.ContainsKey(id_))
            {
                result_ = mActions[id_]._isActionId(nActionId);
            }
            else
            {
                LogSingleton logSingleton_ = __singleton <LogSingleton> ._instance();

                logSingleton_._logError(@"ActionMgr _isActionId ContainsKey");
                throw new Exception();
            }
            return(result_);
        }