Exemple #1
0
        private void onRespawn(GameEvent e)
        {
            Variant data = e.data;
            bool    flag = !data.ContainsKey("iid");

            if (!flag)
            {
                uint @uint = data["iid"]._uint;
                bool flag2 = !this._mons.ContainsKey(@uint);
                if (!flag2)
                {
                    LGAvatarMonster lGAvatarMonster = this._mons[@uint];
                    lGAvatarMonster.Respawn(data);
                }
            }
        }
Exemple #2
0
        private void onRespawn(GameEvent e)
        {
            Variant info = e.data;

            if (!info.ContainsKey("iid"))
            {
                return;
            }
            uint iid = info["iid"]._uint;

            if (!_mons.ContainsKey(iid))
            {
                return;
            }
            LGAvatarMonster mon = _mons[iid];

            mon.Respawn(info);
        }