コード例 #1
0
        public void ParseRow(string[] rowData)
        {
            int index = 0;

            index++;
            Id = int.Parse(rowData[index++]);
            index++;
            Name             = rowData[index++];
            HintWhenClose    = rowData[index++];
            Description1     = rowData[index++];
            Description2     = rowData[index++];
            Icon             = int.Parse(rowData[index++]);
            UnlockLevel      = int.Parse(rowData[index++]);
            RepeatType       = int.Parse(rowData[index++]);
            StartTime        = rowData[index++].Trim('"');
            EndTime          = rowData[index++].Trim('"');
            DisplayWhenClose = bool.Parse(rowData[index++]);
            RewardExp        = int.Parse(rowData[index++]);
            RewardCoin       = int.Parse(rowData[index++]);
            while (index < rowData.Length)
            {
                RewardItems.Add(int.Parse(rowData[index++]));
            }

            DTActivityCache.TryAdd(Id.ToString(), this);
        }
コード例 #2
0
        public override void Initialize()
        {
            base.Initialize();

            RewardItems.Add(new RegularShield(Game, ItemVariety.High));

            SetDestinations();
            SetupObjectives();
        }
コード例 #3
0
        public override void Initialize()
        {
            base.Initialize();

            RestartAfterFail();
            Station soelaraStation = Game.stateManager.overworldState.GetStation("Soelara Station");

            RewardItems.Add(new LongShotWeapon(Game, ItemVariety.Regular));
            freighterHP = 1500;

            Setup();
        }
コード例 #4
0
        public override void Initialize()
        {
            base.Initialize();

            RewardItems.Add(new SpreadBulletWeapon(Game, ItemVariety.Regular));

            borderStationPos = Game.stateManager.overworldState.GetStation("Border Station").position;

            CreateAllyShip();

            SetDestinations();
            SetupObjectives();
        }
コード例 #5
0
        public override void Initialize()
        {
            base.Initialize();

            DualLaserWeapon weapon = new DualLaserWeapon(Game, ItemVariety.High);

            RewardItems.Add(weapon);

            RestartAfterFail();

            SetDestinations();
            SetupObjectives();
        }
コード例 #6
0
        public override void Initialize()
        {
            base.Initialize();

            AdvancedBeamWeapon advancedBeam = new AdvancedBeamWeapon(Game, ItemVariety.Regular);

            RewardItems.Add(advancedBeam);

            RestartAfterFail();

            SetDestinations();
            SetupObjectives();
        }
コード例 #7
0
        public override void Initialize()
        {
            base.Initialize();

            AdvancedEnergyCell cell = new AdvancedEnergyCell(Game, ItemVariety.High);

            RewardItems.Add(cell);

            RestartAfterFail();

            SetDestinations();
            SetupObjectives();
        }
コード例 #8
0
        public override void Initialize()
        {
            base.Initialize();

            medicalSupplies = new MedicalSupplies(this.Game);

            regularCell = new RegularEnergyCell(Game, ItemVariety.Regular);
            RewardItems.Add(regularCell);

            requiresAvailableSlot = true;

            SetDestinations();
            SetupObjectives();
        }