Beispiel #1
0
 public override void Write(PacketOutput output)
 {
     output.Write(Time);
     Position.Write(output);
     SlotObject1.Write(output);
     SlotObject2.Write(output);
 }
 public override void Write(PacketOutput output)
 {
     output.Write(Time);
     SlotObject.Write(output);
     ItemUsePos.Write(output);
     output.Write(UseType);
 }
    public override void writePacketData(PacketWriter w)
    {
        w.Write(_isVjytSCPjaQXfnhSgmbShfAEYC);
        while (true)
        {
            int num = 256597923;
            while (true)
            {
                uint num2;
                switch ((num2 = (uint)num ^ 0x56D05277u) % 3u)
                {
                case 0u:
                    break;

                case 1u:
                    goto IL_002e;

                default:
                    w.Write(_5oFaCQNi71DUAwr2GsRcpozHzAC);
                    _StartPosition.Write(w);
                    w.Write(_hjRbCZIgEE6lGZJqDLlpYixCdUT);
                    w.Write(_C3mvDTxTLKOCwcaeO4BKeVV1ydo);
                    return;
                }
                break;
IL_002e:
                w.Write(_qL8Qk0RJEu4lcCGcJpKfz1Fn8tb);
                num = (int)(num2 * 820731604) ^ -332202799;
            }
        }
    }
Beispiel #4
0
    public override void writePacketData(PacketWriter w)
    {
        w.Write(_IBSqBdwNTiXSzhZbDhEFMC0Gc51);
        _ObXrbtVZcdprxclR2Ggz9jKwlp.Write(w);
        while (true)
        {
            int num = 1916708976;
            while (true)
            {
                uint num2;
                switch ((num2 = (uint)num ^ 0x3B2DACBFu) % 4u)
                {
                case 0u:
                    break;

                default:
                    return;

                case 3u:
                    _sEYqjeelWD912mJ6sF5MhQRyISf.WriteSlotObjectData(w);
                    num = ((int)num2 * -1816390442) ^ -1057768248;
                    continue;

                case 1u:
                    _YnPcTOJB6UrXk2tL1AzY4w0ohpAA.WriteSlotObjectData(w);
                    num = (int)((num2 * 1535798710) ^ 0x6691F213);
                    continue;

                case 2u:
                    return;
                }
                break;
            }
        }
    }
    public override void writePacketData(PacketWriter w)
    {
        w.Write(_fn2CRnBpjyTWHR9K8SU4iOwhDtK);
        while (true)
        {
            int num = 1260222660;
            while (true)
            {
                uint num2;
                switch ((num2 = (uint)num ^ 0x3FBE3A9Fu) % 3u)
                {
                case 2u:
                    break;

                default:
                    return;

                case 1u:
                    goto IL_002e;

                case 0u:
                    return;
                }
                break;
IL_002e:
                _hZZqGJ97TiaLFTbiTFhvTTSGkIb.Write(w);
                num = (int)((num2 * 726652732) ^ 0x25C575DE);
            }
        }
    }
Beispiel #6
0
 public override void writePacketData(PacketWriter w)
 {
     w.Write(_Time);
     _Position.Write(w);
     _SlotOne.WriteSlotObjectData(w);
     _SlotTwo.WriteSlotObjectData(w);
 }
Beispiel #7
0
 public override void writePacketData(PacketWriter w)
 {
     w.Write(_IBSqBdwNTiXSzhZbDhEFMC0Gc51);
     _obJo3i4uC8yf7c2aS8NBvEttXTO.WriteSlotObjectData(w);
     _hik7MnmCWLUNupBgHpKPyvAspMh.Write(w);
     w.Write(_if0d81H88w2JolCC4orFfcsIICeA);
 }
 public override void Write(PacketOutput output)
 {
     output.Write(Time);
     output.Write(BulletId);
     output.Write(ContainerType);
     StartingPos.Write(output);
     output.Write(Angle);
 }
Beispiel #9
0
    public override void writePacketData(PacketWriter w)
    {
        w.Write(_IBSqBdwNTiXSzhZbDhEFMC0Gc51);
        while (true)
        {
            int num = 584321607;
            while (true)
            {
                uint num2;
                switch ((num2 = (uint)num ^ 0x2E567C91u) % 8u)
                {
                case 4u:
                    break;

                default:
                    return;

                case 6u:
                    w.Write(_isVjytSCPjaQXfnhSgmbShfAEYC);
                    num = ((int)num2 * -273560263) ^ 0x6AEB432D;
                    continue;

                case 2u:
                    w.Write(_5oFaCQNi71DUAwr2GsRcpozHzAC);
                    num = ((int)num2 * -320569708) ^ -388892798;
                    continue;

                case 1u:
                    w.Write(_pAyGvgNraG4uBolDCqyzfEBMvFg);
                    w.Write(_KETrwnOxl1uhRjelIfp6DpWYYtc);
                    num = (int)(num2 * 642629705) ^ -2116979048;
                    continue;

                case 3u:
                    _ObXrbtVZcdprxclR2Ggz9jKwlp.Write(w);
                    num = (int)((num2 * 1420179149) ^ 0x20110AF9);
                    continue;

                case 7u:
                    w.Write(_hjRbCZIgEE6lGZJqDLlpYixCdUT);
                    num = ((int)num2 * -33282396) ^ 0xD2A37C0;
                    continue;

                case 5u:
                    w.Write(_1K9XU0pOHsH3lm9AES9OGdyBWYp);
                    num = ((int)num2 * -523260751) ^ 0x47C9BEAD;
                    continue;

                case 0u:
                    return;
                }

                break;
            }
        }
    }
Beispiel #10
0
 public void Write(PacketWriter w)
 {
     CompressedInt.Write(w, _ObjectId);
     _Position.Write(w);
     CompressedInt.Write(w, _Stats.Count);
     foreach (StatData stat in _Stats)
     {
         stat.Write(w);
     }
 }
Beispiel #11
0
 public override void Write(PacketOutput output)
 {
     output.Write(TickId);
     output.Write(Time);
     NewPosition.Write(output);
     output.Write((short)Records.Count);
     foreach (var record in Records)
     {
         record.Write(output);
     }
 }
Beispiel #12
0
 public override void writePacketData(PacketWriter w)
 {
     _Position.Write(w);
     w.Write(_Radius);
     w.Write(_Damage);
     w.Write((byte)_Effect);
     w.Write(_Duration);
     w.Write(_OriginalType);
     w.Write(_Color);
     w.Write(_ArmorBreaking);
 }
Beispiel #13
0
 public override void writePacketData(PacketWriter w)
 {
     w.Write(_TickId);
     w.Write(_Time);
     w.Write(_ServerRealtimeMs);
     _NewPosition.Write(w);
     w.Write((short)_MoveRecords.Length);
     foreach (var t in _MoveRecords)
     {
         t.Write(w);
     }
 }
Beispiel #14
0
    public override void writePacketData(PacketWriter w)
    {
        w.Write(_BulletId);
        w.Write(_OwnerId);
        w.Write(_BulletType);
        _StartingPos.Write(w);
        w.Write(_Angle);
        w.Write(_Damage);
        if (_NumShots == 1)
        {
            return;
        }

        w.Write(_NumShots);
        w.Write(_AngleInc);
    }
Beispiel #15
0
    public override void writePacketData(PacketWriter w)
    {
        _hZZqGJ97TiaLFTbiTFhvTTSGkIb.Write(w);
        w.Write(_I9LOulXQ6dWoDQOn1L5GkchnJUC);
        while (true)
        {
            int num = -1086730584;
            while (true)
            {
                uint num2;
                switch ((num2 = (uint)num ^ 0x953BE2D4u) % 6u)
                {
                case 5u:
                    break;

                default:
                    return;

                case 2u:
                    w.Write(_C3mvDTxTLKOCwcaeO4BKeVV1ydo);
                    w.Write((byte)_kvTyEminxJMM6fREzgqsVjHaInC);
                    w.Write(_4ryHqycpd0BcdbojLHcVLB3vF4Z);
                    num = (int)((num2 * 256438984) ^ 0x5B7A8083);
                    continue;

                case 1u:
                    w.Write(_JEsT6uIdK1eySUKAfntb2FPG6xS);
                    num = ((int)num2 * -980257480) ^ 0x4A03A550;
                    continue;

                case 3u:
                    w.Write(_Rgo6h5q8HOGdwEcalhyNY8ouOAE);
                    num = (int)(num2 * 162810919) ^ -1553958314;
                    continue;

                case 4u:
                    w.Write(_l0mdLwT0Lqvn0oV26TZ8wa7mjTf);
                    num = ((int)num2 * -1353870095) ^ -340254494;
                    continue;

                case 0u:
                    return;
                }
                break;
            }
        }
    }
Beispiel #16
0
 public override void writePacketData(PacketWriter w)
 {
     w.Write(_Amount);
     _Position.Write(w);
 }
Beispiel #17
0
 public override void writePacketData(PacketWriter w)
 {
     w.Write(_IBSqBdwNTiXSzhZbDhEFMC0Gc51);
     _ObXrbtVZcdprxclR2Ggz9jKwlp.Write(w);
 }
Beispiel #18
0
    public override void writePacketData(PacketWriter w)
    {
        w.Write(_isVjytSCPjaQXfnhSgmbShfAEYC);
        while (true)
        {
            int num = -789238233;
            while (true)
            {
                uint num2;
                switch ((num2 = (uint)num ^ 0xCF6456CBu) % 9u)
                {
                case 6u:
                    break;

                default:
                    return;

                case 2u:
                    w.Write(_N4vByLWf2vYahbCTJLzB54nzBwt);
                    num = (int)(num2 * 382806897) ^ -963859607;
                    continue;

                case 3u:
                {
                    int num3;
                    int num4;
                    if (_wQ07ok3AId78vEC0Lsubhb1cWYS == 1)
                    {
                        num3 = 1848529561;
                        num4 = num3;
                    }
                    else
                    {
                        num3 = 1512859616;
                        num4 = num3;
                    }
                    num = num3 ^ (int)(num2 * 61551273);
                    continue;
                }

                case 1u:
                    w.Write(_XkoPVTLGPjjI2mDSH9xlH0vbBOe);
                    _hZZqGJ97TiaLFTbiTFhvTTSGkIb.Write(w);
                    num = (int)(num2 * 193273343) ^ -776366404;
                    continue;

                case 4u:
                    w.Write(_wQ07ok3AId78vEC0Lsubhb1cWYS);
                    num = (int)((num2 * 746280829) ^ 0x3615BBC4);
                    continue;

                case 0u:
                    w.Write(_hjRbCZIgEE6lGZJqDLlpYixCdUT);
                    num = (int)((num2 * 2235815) ^ 0x4CB5EB1);
                    continue;

                case 5u:
                    w.Write(_C3mvDTxTLKOCwcaeO4BKeVV1ydo);
                    num = (int)((num2 * 212173970) ^ 0x698AC84B);
                    continue;

                case 7u:
                    w.Write(_qL8Qk0RJEu4lcCGcJpKfz1Fn8tb);
                    num = (int)((num2 * 602233466) ^ 0x95FFD73);
                    continue;

                case 8u:
                    return;
                }
                break;
            }
        }
    }
Beispiel #19
0
    public override void writePacketData(PacketWriter w)
    {
        w.Write(_D4Xpe2utS1cwv8fGTeXUOkTlvMi);
        w.Write(_IBSqBdwNTiXSzhZbDhEFMC0Gc51);
        _X6f9REQnd8GedncwYfuKQX9BeNq[] l7h4VBBMc07P3vNnM356szhuAGD = default(_X6f9REQnd8GedncwYfuKQX9BeNq[]);
        int num3 = default(int);

        while (true)
        {
            int num = 2026381459;
            while (true)
            {
                uint num2;
                switch ((num2 = (uint)num ^ 0x738B0572u) % 10u)
                {
                case 6u:
                    break;

                default:
                    return;

                case 5u:
                    w.Write(_lpUCyd62A6vzfr6V4LP6WYZtCgh);
                    num = ((int)num2 * -1706295201) ^ -70872812;
                    continue;

                case 4u:
                    l7h4VBBMc07P3vNnM356szhuAGD[num3].Write(w);
                    num = 479083884;
                    continue;

                case 2u:
                    num3++;
                    num = (int)((num2 * 1726443881) ^ 0x7F9186CC);
                    continue;

                case 8u:
                    num3 = 0;
                    num  = (int)(num2 * 1319699151) ^ -1742864315;
                    continue;

                case 7u:
                    _r0866iEhjgniNmmLz9ygFmfaWPA.Write(w);
                    num = ((int)num2 * -1995520852) ^ -647707083;
                    continue;

                case 1u:
                    num = ((int)num2 * -45702756) ^ -433422434;
                    continue;

                case 0u:
                {
                    int num4;
                    if (num3 < l7h4VBBMc07P3vNnM356szhuAGD.Length)
                    {
                        num  = 1158436478;
                        num4 = num;
                    }
                    else
                    {
                        num  = 1001625375;
                        num4 = num;
                    }
                    continue;
                }

                case 9u:
                    w.Write((short)_L7h4VBBMc07P3vNnM356szhuAGD.Length);
                    l7h4VBBMc07P3vNnM356szhuAGD = _L7h4VBBMc07P3vNnM356szhuAGD;
                    num = (int)((num2 * 858521765) ^ 0x1EEA156F);
                    continue;

                case 3u:
                    return;
                }
                break;
            }
        }
    }
Beispiel #20
0
 public override void writePacketData(PacketWriter w)
 {
     w.Write(_ObjectId);
     _Position.Write(w);
 }