Example #1
0
        public override void Process()
        {
            if (result == END_ERROR)
            {
            }
            else
            {
                ObjectSelf.GetInstance().WorldBossMgr.RefeashBossRole(bossid, mywordboss);
                ObjectSelf.GetInstance().WorldBossMgr.m_bStartEnter = false;

                ObjectSelf.GetInstance().WorldBossMgr.m_DropItemMap.Clear();
                foreach (DictionaryEntry item in dropmap)
                {
                    ObjectSelf.GetInstance().WorldBossMgr.m_DropItemMap.Add((int)item.Key, (int)item.Value);
                }
                BossPassDataPack pack = new BossPassDataPack();
                pack.m_BossID       = bossid;
                pack.m_Result       = result;
                pack.m_BossKillName = bosskillname;
                GameEventDispatcher.Inst.dispatchEvent(GameEventID.SE_BossPass, pack);
            }
        }
 public void SetDataPack(BossPassDataPack package)
 {
     m_BossPassDataPack = package;
 }