示例#1
0
 public override void readPacketData(PacketReader r)
 {
     _Position      = new WorldPosData(r);
     _Radius        = r.ReadSingle();
     _Damage        = r.ReadUInt16();
     _Effect        = (ConditionEffectEnum)r.ReadByte();
     _Duration      = r.ReadSingle();
     _OriginalType  = r.ReadUInt16();
     _Color         = r.ReadInt32();
     _ArmorBreaking = r.ReadBoolean();
 }
示例#2
0
    public override void readPacketData(PacketReader r)
    {
        _hZZqGJ97TiaLFTbiTFhvTTSGkIb = new WorldPosData(r);
        while (true)
        {
            int num = -1874733940;
            while (true)
            {
                uint num2;
                switch ((num2 = (uint)num ^ 0xF6F27B48u) % 7u)
                {
                case 0u:
                    break;

                default:
                    return;

                case 5u:
                    _I9LOulXQ6dWoDQOn1L5GkchnJUC = r.ReadSingle();
                    _C3mvDTxTLKOCwcaeO4BKeVV1ydo = r.ReadUInt16();
                    num = ((int)num2 * -1167073322) ^ 0x4F5527F3;
                    continue;

                case 4u:
                    _l0mdLwT0Lqvn0oV26TZ8wa7mjTf = r.ReadBoolean();
                    num = ((int)num2 * -462229276) ^ 0x5A2C3CFB;
                    continue;

                case 2u:
                    _Rgo6h5q8HOGdwEcalhyNY8ouOAE = r.ReadUInt16();
                    num = ((int)num2 * -1541488491) ^ -1790075071;
                    continue;

                case 1u:
                    _JEsT6uIdK1eySUKAfntb2FPG6xS = r.ReadInt32();
                    num = (int)((num2 * 610912363) ^ 0x250567CF);
                    continue;

                case 3u:
                    _kvTyEminxJMM6fREzgqsVjHaInC = (ConditionEffectEnum)r.ReadByte();
                    _4ryHqycpd0BcdbojLHcVLB3vF4Z = r.ReadSingle();
                    num = ((int)num2 * -1923755977) ^ -778616339;
                    continue;

                case 6u:
                    return;
                }
                break;
            }
        }
    }