Example #1
0
        /// <summary>
        /// 创建方法
        /// </summary>
        /// <param name="AC"></param>
        /// <returns></returns>
        public static CMissionCallFunc Create(Action AC)
        {
            CMissionCallFunc CMCF = new CMissionCallFunc();

            CMCF.m_Action = AC;
            return(CMCF);
        }
Example #2
0
        /// <summary>
        /// 增加一个函数调用
        /// </summary>
        public void AppendCallFunc(Action Callfunc)
        {
            CMissionCallFunc CMCF = CMissionCallFunc.Create(Callfunc);

            m_MissionQueue.Enqueue(CMCF);
        }