Ejemplo n.º 1
0
        public AuthPacket(AuthServerMessage message, AuthChannel channel = AuthChannel.None)
        {
            while (true)
            {
IL_111:
                uint arg_E5_0 = 4169648401u;
                while (true)
                {
                    uint num;
                    switch ((num = (arg_E5_0 ^ 2523131924u)) % 8u)
                    {
                    case 0u:
                        goto IL_111;

                    case 2u:
                        this.Header = new AuthPacketHeader();
                        arg_E5_0    = (num * 4138080164u ^ 2675252904u);
                        continue;

                    case 3u:
                        this.Write <byte>((byte)this.Header.Channel, 4);
                        arg_E5_0 = (num * 3127461979u ^ 2628254444u);
                        continue;

                    case 4u:
                        this.Header.Message = (byte)message;
                        arg_E5_0            = (num * 1888841257u ^ 182257382u);
                        continue;

                    case 5u:
                        this.stream = AuthPacket.smethod_1(AuthPacket.smethod_0());
                        arg_E5_0    = (num * 4268182235u ^ 1808986985u);
                        continue;

                    case 6u:
                    {
                        this.Header.Channel = channel;
                        bool flag = channel > AuthChannel.None;
                        this.Write <byte>(this.Header.Message, 6);
                        arg_E5_0 = (num * 1702613302u ^ 3433456695u);
                        continue;
                    }

                    case 7u:
                    {
                        bool flag;
                        this.Write <bool>(flag, 1);
                        arg_E5_0 = (((!flag) ? 1611924362u : 28007344u) ^ num * 3110452489u);
                        continue;
                    }
                    }
                    return;
                }
            }
        }
Ejemplo n.º 2
0
        public AuthPacket()
        {
            while (true)
            {
IL_42:
                uint arg_2A_0 = 575686330u;
                while (true)
                {
                    uint num;
                    switch ((num = (arg_2A_0 ^ 1375028428u)) % 3u)
                    {
                    case 1u:
                        this.stream = AuthPacket.smethod_1(AuthPacket.smethod_0());
                        arg_2A_0    = (num * 3148369998u ^ 2997472847u);
                        continue;

                    case 2u:
                        goto IL_42;
                    }
                    return;
                }
            }
        }