Example #1
0
 public KeywardenCoroutine(KeywardenData keywardenData)
 {
     _keywardenData = keywardenData;
     _levelAreaIds  = new HashSet <int> {
         _keywardenData.LevelAreaId
     };
     Id = Guid.NewGuid();
 }
Example #2
0
        static KeywardenDataFactory()
        {
            Items = new Dictionary <Act, KeywardenData>();
            var act1 = new KeywardenData
            {
                Act                 = Act.A1,
                KeywardenSNO        = SNOActor.GoatMutant_Ranged_A_Unique_Uber,
                KeySNO              = SNOActor.InfernalMachine_SkeletonKing_x1,
                WorldId             = SNOWorld.trOUT_Town,
                LevelAreaId         = SNOLevelArea.A1_trOut_TristramFields_A,
                WaypointLevelAreaId = SNOLevelArea.A1_trOut_TristramFields_A,
                BossEncounter       = SNOBossEncounter.A1_KeywardenPlaceholder
            };

            Items.Add(Act.A1, act1);

            var act2 = new KeywardenData
            {
                Act                 = Act.A2,
                KeywardenSNO        = SNOActor.DuneDervish_B_Unique_Uber,
                KeySNO              = SNOActor.InfernalMachine_Ghom_x1,
                WorldId             = SNOWorld.caOUT_Town,
                LevelAreaId         = SNOLevelArea.A2_caOut_Oasis,
                WaypointLevelAreaId = SNOLevelArea.A2_caOut_Oasis,
                BossEncounter       = SNOBossEncounter.A2_KeywardenPlaceholder
            };

            Items.Add(Act.A2, act2);

            var act3 = new KeywardenData
            {
                Act                 = Act.A3,
                KeywardenSNO        = SNOActor.morluSpellcaster_A_Unique_Uber,
                KeySNO              = SNOActor.InfernalMachine_SiegeBreaker_x1,
                WorldId             = SNOWorld.a3Dun_rmpt_Level02,
                LevelAreaId         = SNOLevelArea.A3_dun_rmpt_Level02,
                WaypointLevelAreaId = SNOLevelArea.A3_dun_rmpt_Level02,
                BossEncounter       = SNOBossEncounter.A3_KeywardenPlaceholder
            };

            Items.Add(Act.A3, act3);

            var act4 = new KeywardenData
            {
                Act                 = Act.A4,
                KeywardenSNO        = SNOActor.TerrorDemon_A_Unique_Uber,
                KeySNO              = SNOActor.InfernalMachine_Diablo_x1,
                WorldId             = SNOWorld.a4dun_Garden_of_Hope_Random_A,
                LevelAreaId         = SNOLevelArea.A4_dun_Garden_of_Hope_A,
                WaypointLevelAreaId = SNOLevelArea.A4_dun_Garden_of_Hope_A,
                BossEncounter       = SNOBossEncounter.A4_KeywardenPlaceholder
            };

            Items.Add(Act.A4, act4);
        }
        static KeywardenDataFactory()
        {
            Items = new Dictionary <Act, KeywardenData>();
            var act1 = new KeywardenData
            {
                Act                 = Act.A1,
                KeywardenSNO        = 255704,
                KeySNO              = 366946,
                WorldId             = 71150,
                LevelAreaId         = 19952,
                WaypointLevelAreaId = 19952,
                BossEncounter       = SNOBossEncounter.A1_KeywardenPlaceholder
            };

            Items.Add(Act.A1, act1);

            var act2 = new KeywardenData
            {
                Act                 = Act.A2,
                KeywardenSNO        = 256022,
                KeySNO              = 366947,
                WorldId             = 70885,
                LevelAreaId         = 57425,
                WaypointLevelAreaId = 57425,
                BossEncounter       = SNOBossEncounter.A2_KeywardenPlaceholder
            };

            Items.Add(Act.A2, act2);

            var act3 = new KeywardenData
            {
                Act                 = Act.A3,
                KeywardenSNO        = 256040,
                KeySNO              = 366948,
                WorldId             = 93099,
                LevelAreaId         = 93173,
                WaypointLevelAreaId = 93173,
                BossEncounter       = SNOBossEncounter.A3_KeywardenPlaceholder
            };

            Items.Add(Act.A3, act3);

            var act4 = new KeywardenData
            {
                Act                 = Act.A4,
                KeywardenSNO        = 256054,
                KeySNO              = 366949,
                WorldId             = 409510,
                LevelAreaId         = 409512,
                WaypointLevelAreaId = 409512,
                BossEncounter       = SNOBossEncounter.A4_KeywardenPlaceholder
            };

            Items.Add(Act.A4, act4);
        }