protected void UpdateMode()
        {
            if (_iModeReq == StrategyTaskManagerMode.StrategyTaskManagerMode_BEF)
            {
                return;
            }
            switch (_iModeReq)
            {
            case StrategyTaskManagerMode.StrategyTaskManagerMode_ST:
                if (_clsTasks.Open(_clsTopTask) < 0)
                {
                    return;
                }
                break;

            case StrategyTaskManagerMode.Rebellion:
                if (_clsTasks.Open(_clsRebellionTask) < 0)
                {
                    return;
                }
                break;
            }
            _iMode    = _iModeReq;
            _iModeReq = StrategyTaskManagerMode.StrategyTaskManagerMode_BEF;
        }
        protected override void Start()
        {
            SingletonMonoBehaviour <PortObjectManager> .Instance.SceneObject = base.gameObject;
            SingletonMonoBehaviour <PortObjectManager> .Instance.EnterStrategy();

            _iMode = (_iModeReq = StrategyTaskManagerMode.StrategyTaskManagerMode_ST);
        }
 public static void ReqMode(StrategyTaskManagerMode iMode)
 {
     _iModeReq = iMode;
 }