public void Run(GClass216 e) { Hero hero = ConnectionManager.Instance.Value.Game.Hero; hero.HpMax = e.int_1; hero.Hp = e.int_0; hero.LastStatUpdate = DateTime.Now; }
private void method_17(GClass216 gclass216_0) { byte[] array = new byte[64]; for (int i = 0; i < 64; i++) { array[i] = 55; } BigInteger value = GClass807.smethod_0(gclass216_0.byteArray_0.Memory.ToArray()); BigInteger exponent = GClass807.smethod_0(array); BigInteger value2 = GClass807.smethod_2("4bf022d9780125620d16442953c60a4a97874e263c099e613eed290247240829d74fc0a31d84b686699a55651a1285f7cbcc936153a8c942e3d3a4c864832ad1"); BigInteger modulus = GClass807.smethod_2("999d6c44ffd30467cd7e8bc70e095a8d08fb8fbfeee536fdfb2d43f99005ee3f6b529b4411395a56651422f449eb9ea3f7d48d8c443c06bd1387afe489a7c6c1"); byte[] array2 = BigInteger.ModPow(value2, exponent, modulus).ToByteArray().Take(64).Reverse <byte>().ToArray <byte>(); GClass807 gclass = new GClass807(GClass807.smethod_2("ef09b1bcec67808eeff374b1b51fb155edaac4fcc7a78ed75d5848d6e9eaabee41dec018bb5482d01acea8ce13688bfe33076dde70f06febb80cf3b7327953fb32c08889b815587ded2cdd056d0ec9965b894751848766c27fdee32c707b6fc9"), new BigInteger(65537), GClass807.smethod_2("0b7f1bdd4a41701d6fccf5bfd6463ff1320d148c53cdeb40d06c7e94578bc1d923b1e2eb4d9732f36f56a127c8272f1462f185708af8e56df795bc30c70a7ad52d12b950f35ae6f4103c738fccf485c31be178696560d39f1d9d71baeaed3941")); using (MemoryStream memoryStream = new MemoryStream()) { gclass.method_11(array2, memoryStream, 0U, (uint)array2.Length); GClass217 ginterface0_ = new GClass217(new ByteArray(memoryStream.ToArray())); for (;;) { bool flag; if (PErkava.concurrentDictionary_2.TryGetValue(this.method_1(), out flag)) { if (flag) { break; } } Thread.Sleep(500); this.gclass84_0.SendMessage(new GClass266()); } this.gclass84_0.SendMessage(ginterface0_); } this.bool_0 = true; this.bool_2 = false; byte[] byte_ = BigInteger.ModPow(value, exponent, modulus).ToByteArray().Reverse <byte>().Take(16).ToArray <byte>(); this.gclass84_0.method_4().method_0(byte_); }