GroupVisAddReq() public method

public GroupVisAddReq ( int gId, byte pId ) : void
gId int
pId byte
return void
Ejemplo n.º 1
0
        public void Parse(byte[] data)
        {
            MemoryStream stream = new MemoryStream(data);
            BinaryReader reader = new BinaryReader(stream);
            short        length;

            handler.muted = reader.ReadInt32();
            byte method = reader.ReadByte();

            switch (method)
            {
            case 0:
            {
                handler.Binary();
                break;
            }

            case 1:
            {
                string arg0 = reader.ReadString();
                handler.Error(arg0);
                break;
            }

            case 2:
            {
                byte   arg0 = reader.ReadByte();
                string arg1 = reader.ReadString();
                handler.Boot(arg0, arg1);
                break;
            }

            case 4:
            {
                string  arg0 = reader.ReadString();
                ulong   arg1 = reader.ReadUInt64();
                string  arg2 = reader.ReadString();
                Version arg3 = new Version(reader.ReadString());
                Version arg4 = new Version(reader.ReadString());
                Guid    arg5 = new Guid(reader.ReadBytes(16));
                Version arg6 = new Version(reader.ReadString());
                string  arg7 = reader.ReadString();
                bool    arg8 = reader.ReadBoolean();
                handler.Hello(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
                break;
            }

            case 5:
            {
                byte    arg0 = reader.ReadByte();
                string  arg1 = reader.ReadString();
                ulong   arg2 = reader.ReadUInt64();
                string  arg3 = reader.ReadString();
                Version arg4 = new Version(reader.ReadString());
                Version arg5 = new Version(reader.ReadString());
                Guid    arg6 = new Guid(reader.ReadBytes(16));
                Version arg7 = new Version(reader.ReadString());
                string  arg8 = reader.ReadString();
                handler.HelloAgain(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
                break;
            }

            case 7:
            {
                bool arg0 = reader.ReadBoolean();
                bool arg1 = reader.ReadBoolean();
                bool arg2 = reader.ReadBoolean();
                handler.Settings(arg0, arg1, arg2);
                break;
            }

            case 8:
            {
                byte arg0 = reader.ReadByte();
                bool arg1 = reader.ReadBoolean();
                bool arg2 = reader.ReadBoolean();
                handler.PlayerSettings(arg0, arg1, arg2);
                break;
            }

            case 10:
            {
                byte arg0 = reader.ReadByte();
                handler.Leave(arg0);
                break;
            }

            case 11:
            {
                string arg0 = reader.ReadString();
                handler.NickReq(arg0);
                break;
            }

            case 13:
            {
                handler.Start();
                break;
            }

            case 14:
            {
                handler.ResetReq();
                break;
            }

            case 16:
            {
                byte arg0 = reader.ReadByte();
                handler.NextTurn(arg0);
                break;
            }

            case 17:
            {
                int  arg0 = reader.ReadInt32();
                bool arg1 = reader.ReadBoolean();
                handler.StopTurnReq(arg0, arg1);
                break;
            }

            case 19:
            {
                string arg0 = reader.ReadString();
                handler.ChatReq(arg0);
                break;
            }

            case 21:
            {
                string arg0 = reader.ReadString();
                handler.PrintReq(arg0);
                break;
            }

            case 23:
            {
                int arg0 = reader.ReadInt32();
                int arg1 = reader.ReadInt32();
                handler.RandomReq(arg0, arg1);
                break;
            }

            case 25:
            {
                int  arg0 = reader.ReadInt32();
                int  arg1 = reader.ReadInt32();
                bool arg2 = reader.ReadBoolean();
                handler.CounterReq(arg0, arg1, arg2);
                break;
            }

            case 27:
            {
                length = reader.ReadInt16();
                int[] arg0 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg0[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                Guid[] arg1 = new Guid[length];
                for (int i = 0; i < length; ++i)
                {
                    arg1[i] = new Guid(reader.ReadBytes(16));
                }
                length = reader.ReadInt16();
                int[] arg2 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg2[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                string[] arg3 = new string[length];
                for (int i = 0; i < length; ++i)
                {
                    arg3[i] = reader.ReadString();
                }
                string arg4 = reader.ReadString();
                handler.LoadDeck(arg0, arg1, arg2, arg3, arg4);
                break;
            }

            case 28:
            {
                length = reader.ReadInt16();
                int[] arg0 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg0[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                Guid[] arg1 = new Guid[length];
                for (int i = 0; i < length; ++i)
                {
                    arg1[i] = new Guid(reader.ReadBytes(16));
                }
                length = reader.ReadInt16();
                string[] arg2 = new string[length];
                for (int i = 0; i < length; ++i)
                {
                    arg2[i] = reader.ReadString();
                }
                int arg3 = reader.ReadInt32();
                handler.CreateCard(arg0, arg1, arg2, arg3);
                break;
            }

            case 29:
            {
                length = reader.ReadInt16();
                int[] arg0 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg0[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                Guid[] arg1 = new Guid[length];
                for (int i = 0; i < length; ++i)
                {
                    arg1[i] = new Guid(reader.ReadBytes(16));
                }
                length = reader.ReadInt16();
                int[] arg2 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg2[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                int[] arg3 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg3[i] = reader.ReadInt32();
                }
                bool arg4 = reader.ReadBoolean();
                bool arg5 = reader.ReadBoolean();
                handler.CreateCardAt(arg0, arg1, arg2, arg3, arg4, arg5);
                break;
            }

            case 30:
            {
                length = reader.ReadInt16();
                int[] arg0 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg0[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                ulong[] arg1 = new ulong[length];
                for (int i = 0; i < length; ++i)
                {
                    arg1[i] = reader.ReadUInt64();
                }
                handler.CreateAliasDeprecated(arg0, arg1);
                break;
            }

            case 31:
            {
                length = reader.ReadInt16();
                int[] arg0 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg0[i] = reader.ReadInt32();
                }
                int arg1 = reader.ReadInt32();
                length = reader.ReadInt16();
                int[] arg2 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg2[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                bool[] arg3 = new bool[length];
                for (int i = 0; i < length; ++i)
                {
                    arg3[i] = reader.ReadBoolean();
                }
                bool arg4 = reader.ReadBoolean();
                handler.MoveCardReq(arg0, arg1, arg2, arg3, arg4);
                break;
            }

            case 33:
            {
                length = reader.ReadInt16();
                int[] arg0 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg0[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                int[] arg1 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg1[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                int[] arg2 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg2[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                int[] arg3 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg3[i] = reader.ReadInt32();
                }
                bool arg4 = reader.ReadBoolean();
                length = reader.ReadInt16();
                bool[] arg5 = new bool[length];
                for (int i = 0; i < length; ++i)
                {
                    arg5[i] = reader.ReadBoolean();
                }
                handler.MoveCardAtReq(arg0, arg1, arg2, arg3, arg4, arg5);
                break;
            }

            case 35:
            {
                int arg0 = reader.ReadInt32();
                handler.PeekReq(arg0);
                break;
            }

            case 37:
            {
                int  arg0 = reader.ReadInt32();
                bool arg1 = reader.ReadBoolean();
                handler.UntargetReq(arg0, arg1);
                break;
            }

            case 39:
            {
                int  arg0 = reader.ReadInt32();
                bool arg1 = reader.ReadBoolean();
                handler.TargetReq(arg0, arg1);
                break;
            }

            case 41:
            {
                int  arg0 = reader.ReadInt32();
                int  arg1 = reader.ReadInt32();
                bool arg2 = reader.ReadBoolean();
                handler.TargetArrowReq(arg0, arg1, arg2);
                break;
            }

            case 43:
            {
                int    arg0 = reader.ReadInt32();
                string arg1 = reader.ReadString();
                handler.Highlight(arg0, arg1);
                break;
            }

            case 44:
            {
                int  arg0 = reader.ReadInt32();
                bool arg1 = reader.ReadBoolean();
                handler.TurnReq(arg0, arg1);
                break;
            }

            case 46:
            {
                int             arg0 = reader.ReadInt32();
                CardOrientation arg1 = (CardOrientation)reader.ReadByte();
                handler.RotateReq(arg0, arg1);
                break;
            }

            case 48:
            {
                int arg0 = reader.ReadInt32();
                length = reader.ReadInt16();
                int[] arg1 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg1[i] = reader.ReadInt32();
                }
                handler.ShuffleDeprecated(arg0, arg1);
                break;
            }

            case 49:
            {
                byte arg0 = reader.ReadByte();
                int  arg1 = reader.ReadInt32();
                length = reader.ReadInt16();
                int[] arg2 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg2[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                short[] arg3 = new short[length];
                for (int i = 0; i < length; ++i)
                {
                    arg3[i] = reader.ReadInt16();
                }
                handler.Shuffled(arg0, arg1, arg2, arg3);
                break;
            }

            case 50:
            {
                int arg0 = reader.ReadInt32();
                handler.UnaliasGrpDeprecated(arg0);
                break;
            }

            case 51:
            {
                length = reader.ReadInt16();
                int[] arg0 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg0[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                ulong[] arg1 = new ulong[length];
                for (int i = 0; i < length; ++i)
                {
                    arg1[i] = reader.ReadUInt64();
                }
                handler.UnaliasDeprecated(arg0, arg1);
                break;
            }

            case 52:
            {
                int    arg0 = reader.ReadInt32();
                Guid   arg1 = new Guid(reader.ReadBytes(16));
                string arg2 = reader.ReadString();
                ushort arg3 = reader.ReadUInt16();
                ushort arg4 = reader.ReadUInt16();
                bool   arg5 = reader.ReadBoolean();
                handler.AddMarkerReq(arg0, arg1, arg2, arg3, arg4, arg5);
                break;
            }

            case 54:
            {
                int    arg0 = reader.ReadInt32();
                Guid   arg1 = new Guid(reader.ReadBytes(16));
                string arg2 = reader.ReadString();
                ushort arg3 = reader.ReadUInt16();
                ushort arg4 = reader.ReadUInt16();
                bool   arg5 = reader.ReadBoolean();
                handler.RemoveMarkerReq(arg0, arg1, arg2, arg3, arg4, arg5);
                break;
            }

            case 56:
            {
                int    arg0 = reader.ReadInt32();
                int    arg1 = reader.ReadInt32();
                Guid   arg2 = new Guid(reader.ReadBytes(16));
                string arg3 = reader.ReadString();
                ushort arg4 = reader.ReadUInt16();
                ushort arg5 = reader.ReadUInt16();
                bool   arg6 = reader.ReadBoolean();
                handler.TransferMarkerReq(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
                break;
            }

            case 58:
            {
                int  arg0 = reader.ReadInt32();
                byte arg1 = reader.ReadByte();
                bool arg2 = reader.ReadBoolean();
                handler.PassToReq(arg0, arg1, arg2);
                break;
            }

            case 60:
            {
                int  arg0 = reader.ReadInt32();
                byte arg1 = reader.ReadByte();
                handler.TakeFromReq(arg0, arg1);
                break;
            }

            case 62:
            {
                int  arg0 = reader.ReadInt32();
                byte arg1 = reader.ReadByte();
                handler.DontTakeReq(arg0, arg1);
                break;
            }

            case 64:
            {
                int arg0 = reader.ReadInt32();
                handler.FreezeCardsVisibility(arg0);
                break;
            }

            case 65:
            {
                int  arg0 = reader.ReadInt32();
                bool arg1 = reader.ReadBoolean();
                bool arg2 = reader.ReadBoolean();
                handler.GroupVisReq(arg0, arg1, arg2);
                break;
            }

            case 67:
            {
                int  arg0 = reader.ReadInt32();
                byte arg1 = reader.ReadByte();
                handler.GroupVisAddReq(arg0, arg1);
                break;
            }

            case 69:
            {
                int  arg0 = reader.ReadInt32();
                byte arg1 = reader.ReadByte();
                handler.GroupVisRemoveReq(arg0, arg1);
                break;
            }

            case 71:
            {
                int  arg0 = reader.ReadInt32();
                int  arg1 = reader.ReadInt32();
                bool arg2 = reader.ReadBoolean();
                handler.LookAtReq(arg0, arg1, arg2);
                break;
            }

            case 73:
            {
                int  arg0 = reader.ReadInt32();
                int  arg1 = reader.ReadInt32();
                int  arg2 = reader.ReadInt32();
                bool arg3 = reader.ReadBoolean();
                handler.LookAtTopReq(arg0, arg1, arg2, arg3);
                break;
            }

            case 75:
            {
                int  arg0 = reader.ReadInt32();
                int  arg1 = reader.ReadInt32();
                int  arg2 = reader.ReadInt32();
                bool arg3 = reader.ReadBoolean();
                handler.LookAtBottomReq(arg0, arg1, arg2, arg3);
                break;
            }

            case 77:
            {
                length = reader.ReadInt16();
                Guid[] arg0 = new Guid[length];
                for (int i = 0; i < length; ++i)
                {
                    arg0[i] = new Guid(reader.ReadBytes(16));
                }
                handler.StartLimitedReq(arg0);
                break;
            }

            case 79:
            {
                handler.CancelLimitedReq();
                break;
            }

            case 81:
            {
                byte   arg0 = reader.ReadByte();
                int    arg1 = reader.ReadInt32();
                string arg2 = reader.ReadString();
                handler.CardSwitchTo(arg0, arg1, arg2);
                break;
            }

            case 82:
            {
                byte   arg0 = reader.ReadByte();
                string arg1 = reader.ReadString();
                string arg2 = reader.ReadString();
                string arg3 = reader.ReadString();
                handler.PlayerSetGlobalVariable(arg0, arg1, arg2, arg3);
                break;
            }

            case 83:
            {
                string arg0 = reader.ReadString();
                string arg1 = reader.ReadString();
                string arg2 = reader.ReadString();
                handler.SetGlobalVariable(arg0, arg1, arg2);
                break;
            }

            case 85:
            {
                handler.Ping();
                break;
            }

            case 86:
            {
                bool arg0 = reader.ReadBoolean();
                handler.IsTableBackgroundFlipped(arg0);
                break;
            }

            case 87:
            {
                byte   arg0 = reader.ReadByte();
                string arg1 = reader.ReadString();
                handler.PlaySound(arg0, arg1);
                break;
            }

            case 88:
            {
                byte arg0 = reader.ReadByte();
                handler.Ready(arg0);
                break;
            }

            case 90:
            {
                byte   arg0 = reader.ReadByte();
                string arg1 = reader.ReadString();
                string arg2 = reader.ReadString();
                handler.RemoteCall(arg0, arg1, arg2);
                break;
            }

            case 91:
            {
                byte arg0 = reader.ReadByte();
                handler.GameStateReq(arg0);
                break;
            }

            case 92:
            {
                byte   arg0 = reader.ReadByte();
                string arg1 = reader.ReadString();
                handler.GameState(arg0, arg1);
                break;
            }

            case 93:
            {
                int  arg0 = reader.ReadInt32();
                byte arg1 = reader.ReadByte();
                handler.DeleteCard(arg0, arg1);
                break;
            }

            case 95:
            {
                length = reader.ReadInt16();
                Guid[] arg0 = new Guid[length];
                for (int i = 0; i < length; ++i)
                {
                    arg0[i] = new Guid(reader.ReadBytes(16));
                }
                bool arg1 = reader.ReadBoolean();
                handler.AddPacksReq(arg0, arg1);
                break;
            }

            case 97:
            {
                int  arg0 = reader.ReadInt32();
                byte arg1 = reader.ReadByte();
                bool arg2 = reader.ReadBoolean();
                handler.AnchorCard(arg0, arg1, arg2);
                break;
            }

            case 98:
            {
                int    arg0 = reader.ReadInt32();
                byte   arg1 = reader.ReadByte();
                string arg2 = reader.ReadString();
                string arg3 = reader.ReadString();
                string arg4 = reader.ReadString();
                handler.SetCardProperty(arg0, arg1, arg2, arg3, arg4);
                break;
            }

            case 99:
            {
                int  arg0 = reader.ReadInt32();
                byte arg1 = reader.ReadByte();
                handler.ResetCardProperties(arg0, arg1);
                break;
            }

            case 100:
            {
                int    arg0 = reader.ReadInt32();
                string arg1 = reader.ReadString();
                handler.Filter(arg0, arg1);
                break;
            }

            case 101:
            {
                string arg0 = reader.ReadString();
                handler.SetBoard(arg0);
                break;
            }

            case 102:
            {
                byte   arg0 = reader.ReadByte();
                string arg1 = reader.ReadString();
                handler.SetPlayerColor(arg0, arg1);
                break;
            }

            default:
                Debug.WriteLine(L.D.ServerMessage__UnknownBinaryMessage + method);
                break;
            }
            reader.Close();
        }
Ejemplo n.º 2
0
        public void Parse(byte[] data)
        {
            MemoryStream stream = new MemoryStream(data);
            BinaryReader reader = new BinaryReader(stream);
            short        length;

            handler.muted = reader.ReadInt32();
            byte method = reader.ReadByte();

            switch (method)
            {
            case 0:
            {
                handler.Binary();
                break;
            }

            case 1:
            {
                string arg0 = reader.ReadString();
                handler.Error(arg0);
                break;
            }

            case 2:
            {
                string  arg0 = reader.ReadString();
                ulong   arg1 = reader.ReadUInt64();
                string  arg2 = reader.ReadString();
                Version arg3 = new Version(reader.ReadString());
                Version arg4 = new Version(reader.ReadString());
                Guid    arg5 = new Guid(reader.ReadBytes(16));
                Version arg6 = new Version(reader.ReadString());
                handler.Hello(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
                break;
            }

            case 4:
            {
                bool arg0 = reader.ReadBoolean();
                handler.Settings(arg0);
                break;
            }

            case 5:
            {
                byte arg0 = reader.ReadByte();
                bool arg1 = reader.ReadBoolean();
                handler.PlayerSettings(arg0, arg1);
                break;
            }

            case 8:
            {
                string arg0 = reader.ReadString();
                handler.NickReq(arg0);
                break;
            }

            case 10:
            {
                handler.Start();
                break;
            }

            case 11:
            {
                handler.ResetReq();
                break;
            }

            case 13:
            {
                byte arg0 = reader.ReadByte();
                handler.NextTurn(arg0);
                break;
            }

            case 14:
            {
                int  arg0 = reader.ReadInt32();
                bool arg1 = reader.ReadBoolean();
                handler.StopTurnReq(arg0, arg1);
                break;
            }

            case 16:
            {
                string arg0 = reader.ReadString();
                handler.ChatReq(arg0);
                break;
            }

            case 18:
            {
                string arg0 = reader.ReadString();
                handler.PrintReq(arg0);
                break;
            }

            case 20:
            {
                int arg0 = reader.ReadInt32();
                int arg1 = reader.ReadInt32();
                int arg2 = reader.ReadInt32();
                handler.RandomReq(arg0, arg1, arg2);
                break;
            }

            case 22:
            {
                int   arg0 = reader.ReadInt32();
                ulong arg1 = reader.ReadUInt64();
                handler.RandomAnswer1Req(arg0, arg1);
                break;
            }

            case 24:
            {
                int   arg0 = reader.ReadInt32();
                ulong arg1 = reader.ReadUInt64();
                handler.RandomAnswer2Req(arg0, arg1);
                break;
            }

            case 26:
            {
                int arg0 = reader.ReadInt32();
                int arg1 = reader.ReadInt32();
                handler.CounterReq(arg0, arg1);
                break;
            }

            case 28:
            {
                length = reader.ReadInt16();
                int[] arg0 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg0[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                ulong[] arg1 = new ulong[length];
                for (int i = 0; i < length; ++i)
                {
                    arg1[i] = reader.ReadUInt64();
                }
                length = reader.ReadInt16();
                int[] arg2 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg2[i] = reader.ReadInt32();
                }
                handler.LoadDeck(arg0, arg1, arg2);
                break;
            }

            case 29:
            {
                length = reader.ReadInt16();
                int[] arg0 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg0[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                ulong[] arg1 = new ulong[length];
                for (int i = 0; i < length; ++i)
                {
                    arg1[i] = reader.ReadUInt64();
                }
                int arg2 = reader.ReadInt32();
                handler.CreateCard(arg0, arg1, arg2);
                break;
            }

            case 30:
            {
                length = reader.ReadInt16();
                int[] arg0 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg0[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                ulong[] arg1 = new ulong[length];
                for (int i = 0; i < length; ++i)
                {
                    arg1[i] = reader.ReadUInt64();
                }
                length = reader.ReadInt16();
                Guid[] arg2 = new Guid[length];
                for (int i = 0; i < length; ++i)
                {
                    arg2[i] = new Guid(reader.ReadBytes(16));
                }
                length = reader.ReadInt16();
                int[] arg3 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg3[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                int[] arg4 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg4[i] = reader.ReadInt32();
                }
                bool arg5 = reader.ReadBoolean();
                bool arg6 = reader.ReadBoolean();
                handler.CreateCardAt(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
                break;
            }

            case 31:
            {
                length = reader.ReadInt16();
                int[] arg0 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg0[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                ulong[] arg1 = new ulong[length];
                for (int i = 0; i < length; ++i)
                {
                    arg1[i] = reader.ReadUInt64();
                }
                handler.CreateAlias(arg0, arg1);
                break;
            }

            case 32:
            {
                int  arg0 = reader.ReadInt32();
                int  arg1 = reader.ReadInt32();
                int  arg2 = reader.ReadInt32();
                bool arg3 = reader.ReadBoolean();
                handler.MoveCardReq(arg0, arg1, arg2, arg3);
                break;
            }

            case 34:
            {
                int  arg0 = reader.ReadInt32();
                int  arg1 = reader.ReadInt32();
                int  arg2 = reader.ReadInt32();
                int  arg3 = reader.ReadInt32();
                bool arg4 = reader.ReadBoolean();
                handler.MoveCardAtReq(arg0, arg1, arg2, arg3, arg4);
                break;
            }

            case 36:
            {
                int   arg0 = reader.ReadInt32();
                ulong arg1 = reader.ReadUInt64();
                Guid  arg2 = new Guid(reader.ReadBytes(16));
                handler.Reveal(arg0, arg1, arg2);
                break;
            }

            case 37:
            {
                byte arg0 = reader.ReadByte();
                length = reader.ReadInt16();
                byte[] arg1 = new byte[length];
                for (int i = 0; i < length; ++i)
                {
                    arg1[i] = reader.ReadByte();
                }
                int arg2 = reader.ReadInt32();
                length = reader.ReadInt16();
                ulong[] arg3 = new ulong[length];
                for (int i = 0; i < length; ++i)
                {
                    arg3[i] = reader.ReadUInt64();
                }
                handler.RevealToReq(arg0, arg1, arg2, arg3);
                break;
            }

            case 39:
            {
                int arg0 = reader.ReadInt32();
                handler.PeekReq(arg0);
                break;
            }

            case 41:
            {
                int arg0 = reader.ReadInt32();
                handler.UntargetReq(arg0);
                break;
            }

            case 43:
            {
                int arg0 = reader.ReadInt32();
                handler.TargetReq(arg0);
                break;
            }

            case 45:
            {
                int arg0 = reader.ReadInt32();
                int arg1 = reader.ReadInt32();
                handler.TargetArrowReq(arg0, arg1);
                break;
            }

            case 47:
            {
                int    arg0 = reader.ReadInt32();
                string arg1 = reader.ReadString();
                handler.Highlight(arg0, arg1);
                break;
            }

            case 48:
            {
                int  arg0 = reader.ReadInt32();
                bool arg1 = reader.ReadBoolean();
                handler.TurnReq(arg0, arg1);
                break;
            }

            case 50:
            {
                int             arg0 = reader.ReadInt32();
                CardOrientation arg1 = (CardOrientation)reader.ReadByte();
                handler.RotateReq(arg0, arg1);
                break;
            }

            case 52:
            {
                int arg0 = reader.ReadInt32();
                length = reader.ReadInt16();
                int[] arg1 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg1[i] = reader.ReadInt32();
                }
                handler.Shuffle(arg0, arg1);
                break;
            }

            case 53:
            {
                int arg0 = reader.ReadInt32();
                length = reader.ReadInt16();
                int[] arg1 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg1[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                short[] arg2 = new short[length];
                for (int i = 0; i < length; ++i)
                {
                    arg2[i] = reader.ReadInt16();
                }
                handler.Shuffled(arg0, arg1, arg2);
                break;
            }

            case 54:
            {
                int arg0 = reader.ReadInt32();
                handler.UnaliasGrp(arg0);
                break;
            }

            case 55:
            {
                length = reader.ReadInt16();
                int[] arg0 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg0[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                ulong[] arg1 = new ulong[length];
                for (int i = 0; i < length; ++i)
                {
                    arg1[i] = reader.ReadUInt64();
                }
                handler.Unalias(arg0, arg1);
                break;
            }

            case 56:
            {
                int    arg0 = reader.ReadInt32();
                Guid   arg1 = new Guid(reader.ReadBytes(16));
                string arg2 = reader.ReadString();
                ushort arg3 = reader.ReadUInt16();
                handler.AddMarkerReq(arg0, arg1, arg2, arg3);
                break;
            }

            case 58:
            {
                int    arg0 = reader.ReadInt32();
                Guid   arg1 = new Guid(reader.ReadBytes(16));
                string arg2 = reader.ReadString();
                ushort arg3 = reader.ReadUInt16();
                handler.RemoveMarkerReq(arg0, arg1, arg2, arg3);
                break;
            }

            case 60:
            {
                int    arg0 = reader.ReadInt32();
                Guid   arg1 = new Guid(reader.ReadBytes(16));
                string arg2 = reader.ReadString();
                ushort arg3 = reader.ReadUInt16();
                handler.SetMarkerReq(arg0, arg1, arg2, arg3);
                break;
            }

            case 62:
            {
                int    arg0 = reader.ReadInt32();
                int    arg1 = reader.ReadInt32();
                Guid   arg2 = new Guid(reader.ReadBytes(16));
                string arg3 = reader.ReadString();
                ushort arg4 = reader.ReadUInt16();
                handler.TransferMarkerReq(arg0, arg1, arg2, arg3, arg4);
                break;
            }

            case 64:
            {
                int  arg0 = reader.ReadInt32();
                byte arg1 = reader.ReadByte();
                bool arg2 = reader.ReadBoolean();
                handler.PassToReq(arg0, arg1, arg2);
                break;
            }

            case 66:
            {
                int  arg0 = reader.ReadInt32();
                byte arg1 = reader.ReadByte();
                handler.TakeFromReq(arg0, arg1);
                break;
            }

            case 68:
            {
                int  arg0 = reader.ReadInt32();
                byte arg1 = reader.ReadByte();
                handler.DontTakeReq(arg0, arg1);
                break;
            }

            case 70:
            {
                int arg0 = reader.ReadInt32();
                handler.FreezeCardsVisibility(arg0);
                break;
            }

            case 71:
            {
                int  arg0 = reader.ReadInt32();
                bool arg1 = reader.ReadBoolean();
                bool arg2 = reader.ReadBoolean();
                handler.GroupVisReq(arg0, arg1, arg2);
                break;
            }

            case 73:
            {
                int  arg0 = reader.ReadInt32();
                byte arg1 = reader.ReadByte();
                handler.GroupVisAddReq(arg0, arg1);
                break;
            }

            case 75:
            {
                int  arg0 = reader.ReadInt32();
                byte arg1 = reader.ReadByte();
                handler.GroupVisRemoveReq(arg0, arg1);
                break;
            }

            case 77:
            {
                int  arg0 = reader.ReadInt32();
                int  arg1 = reader.ReadInt32();
                bool arg2 = reader.ReadBoolean();
                handler.LookAtReq(arg0, arg1, arg2);
                break;
            }

            case 79:
            {
                int  arg0 = reader.ReadInt32();
                int  arg1 = reader.ReadInt32();
                int  arg2 = reader.ReadInt32();
                bool arg3 = reader.ReadBoolean();
                handler.LookAtTopReq(arg0, arg1, arg2, arg3);
                break;
            }

            case 81:
            {
                int  arg0 = reader.ReadInt32();
                int  arg1 = reader.ReadInt32();
                int  arg2 = reader.ReadInt32();
                bool arg3 = reader.ReadBoolean();
                handler.LookAtBottomReq(arg0, arg1, arg2, arg3);
                break;
            }

            case 83:
            {
                length = reader.ReadInt16();
                Guid[] arg0 = new Guid[length];
                for (int i = 0; i < length; ++i)
                {
                    arg0[i] = new Guid(reader.ReadBytes(16));
                }
                handler.StartLimitedReq(arg0);
                break;
            }

            case 85:
            {
                handler.CancelLimitedReq();
                break;
            }

            case 87:
            {
                int  arg0 = reader.ReadInt32();
                bool arg1 = reader.ReadBoolean();
                handler.IsAlternateImage(arg0, arg1);
                break;
            }

            case 88:
            {
                byte   arg0 = reader.ReadByte();
                string arg1 = reader.ReadString();
                string arg2 = reader.ReadString();
                handler.PlayerSetGlobalVariable(arg0, arg1, arg2);
                break;
            }

            case 89:
            {
                string arg0 = reader.ReadString();
                string arg1 = reader.ReadString();
                handler.SetGlobalVariable(arg0, arg1);
                break;
            }

            case 90:
            {
                int arg0 = reader.ReadInt32();
                handler.SwitchWithAlternate(arg0);
                break;
            }

            case 91:
            {
                handler.Ping();
                break;
            }

            default:
                Debug.WriteLine("[Server Parser] Unknown message: " + method);
                break;
            }
            reader.Close();
        }
Ejemplo n.º 3
0
        public void Parse(byte[] data)
        {
            MemoryStream stream = new MemoryStream(data);
            BinaryReader reader = new BinaryReader(stream);
            short        length;

            handler.muted = reader.ReadInt32();
            byte method = reader.ReadByte();

            switch (method)
            {
            case 0:
            {
                Log.Debug($"SERVER IN:  Binary");
                handler.Binary();
                break;
            }

            case 1:
            {
                string arg0 = reader.ReadString();
                Log.Debug($"SERVER IN:  Error");
                handler.Error(arg0);
                break;
            }

            case 2:
            {
                byte   arg0 = reader.ReadByte();
                string arg1 = reader.ReadString();
                Log.Debug($"SERVER IN:  Boot");
                handler.Boot(arg0, arg1);
                break;
            }

            case 4:
            {
                string  arg0 = reader.ReadString();
                string  arg1 = reader.ReadString();
                ulong   arg2 = reader.ReadUInt64();
                string  arg3 = reader.ReadString();
                Version arg4 = new Version(reader.ReadString());
                Version arg5 = new Version(reader.ReadString());
                Guid    arg6 = new Guid(reader.ReadBytes(16));
                Version arg7 = new Version(reader.ReadString());
                string  arg8 = reader.ReadString();
                bool    arg9 = reader.ReadBoolean();
                Log.Debug($"SERVER IN:  Hello");
                handler.Hello(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
                break;
            }

            case 5:
            {
                byte    arg0 = reader.ReadByte();
                string  arg1 = reader.ReadString();
                string  arg2 = reader.ReadString();
                ulong   arg3 = reader.ReadUInt64();
                string  arg4 = reader.ReadString();
                Version arg5 = new Version(reader.ReadString());
                Version arg6 = new Version(reader.ReadString());
                Guid    arg7 = new Guid(reader.ReadBytes(16));
                Version arg8 = new Version(reader.ReadString());
                string  arg9 = reader.ReadString();
                Log.Debug($"SERVER IN:  HelloAgain");
                handler.HelloAgain(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
                break;
            }

            case 7:
            {
                bool arg0 = reader.ReadBoolean();
                bool arg1 = reader.ReadBoolean();
                bool arg2 = reader.ReadBoolean();
                Log.Debug($"SERVER IN:  Settings");
                handler.Settings(arg0, arg1, arg2);
                break;
            }

            case 8:
            {
                byte arg0 = reader.ReadByte();
                bool arg1 = reader.ReadBoolean();
                bool arg2 = reader.ReadBoolean();
                Log.Debug($"SERVER IN:  PlayerSettings");
                handler.PlayerSettings(arg0, arg1, arg2);
                break;
            }

            case 10:
            {
                byte arg0 = reader.ReadByte();
                Log.Debug($"SERVER IN:  Leave");
                handler.Leave(arg0);
                break;
            }

            case 11:
            {
                string arg0 = reader.ReadString();
                Log.Debug($"SERVER IN:  NickReq");
                handler.NickReq(arg0);
                break;
            }

            case 13:
            {
                Log.Debug($"SERVER IN:  Start");
                handler.Start();
                break;
            }

            case 14:
            {
                Log.Debug($"SERVER IN:  ResetReq");
                handler.ResetReq();
                break;
            }

            case 16:
            {
                byte arg0 = reader.ReadByte();
                bool arg1 = reader.ReadBoolean();
                bool arg2 = reader.ReadBoolean();
                Log.Debug($"SERVER IN:  NextTurn");
                handler.NextTurn(arg0, arg1, arg2);
                break;
            }

            case 17:
            {
                int  arg0 = reader.ReadInt32();
                bool arg1 = reader.ReadBoolean();
                Log.Debug($"SERVER IN:  StopTurnReq");
                handler.StopTurnReq(arg0, arg1);
                break;
            }

            case 19:
            {
                byte arg0 = reader.ReadByte();
                bool arg1 = reader.ReadBoolean();
                Log.Debug($"SERVER IN:  SetPhaseReq");
                handler.SetPhaseReq(arg0, arg1);
                break;
            }

            case 21:
            {
                byte arg0 = reader.ReadByte();
                bool arg1 = reader.ReadBoolean();
                Log.Debug($"SERVER IN:  StopPhaseReq");
                handler.StopPhaseReq(arg0, arg1);
                break;
            }

            case 22:
            {
                byte arg0 = reader.ReadByte();
                Log.Debug($"SERVER IN:  SetActivePlayer");
                handler.SetActivePlayer(arg0);
                break;
            }

            case 23:
            {
                Log.Debug($"SERVER IN:  ClearActivePlayer");
                handler.ClearActivePlayer();
                break;
            }

            case 24:
            {
                string arg0 = reader.ReadString();
                Log.Debug($"SERVER IN:  ChatReq");
                handler.ChatReq(arg0);
                break;
            }

            case 26:
            {
                string arg0 = reader.ReadString();
                Log.Debug($"SERVER IN:  PrintReq");
                handler.PrintReq(arg0);
                break;
            }

            case 28:
            {
                int arg0 = reader.ReadInt32();
                int arg1 = reader.ReadInt32();
                Log.Debug($"SERVER IN:  RandomReq");
                handler.RandomReq(arg0, arg1);
                break;
            }

            case 30:
            {
                int  arg0 = reader.ReadInt32();
                int  arg1 = reader.ReadInt32();
                bool arg2 = reader.ReadBoolean();
                Log.Debug($"SERVER IN:  CounterReq");
                handler.CounterReq(arg0, arg1, arg2);
                break;
            }

            case 32:
            {
                length = reader.ReadInt16();
                int[] arg0 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg0[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                Guid[] arg1 = new Guid[length];
                for (int i = 0; i < length; ++i)
                {
                    arg1[i] = new Guid(reader.ReadBytes(16));
                }
                length = reader.ReadInt16();
                int[] arg2 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg2[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                string[] arg3 = new string[length];
                for (int i = 0; i < length; ++i)
                {
                    arg3[i] = reader.ReadString();
                }
                string arg4 = reader.ReadString();
                bool   arg5 = reader.ReadBoolean();
                Log.Debug($"SERVER IN:  LoadDeck");
                handler.LoadDeck(arg0, arg1, arg2, arg3, arg4, arg5);
                break;
            }

            case 33:
            {
                length = reader.ReadInt16();
                int[] arg0 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg0[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                Guid[] arg1 = new Guid[length];
                for (int i = 0; i < length; ++i)
                {
                    arg1[i] = new Guid(reader.ReadBytes(16));
                }
                length = reader.ReadInt16();
                string[] arg2 = new string[length];
                for (int i = 0; i < length; ++i)
                {
                    arg2[i] = reader.ReadString();
                }
                int arg3 = reader.ReadInt32();
                Log.Debug($"SERVER IN:  CreateCard");
                handler.CreateCard(arg0, arg1, arg2, arg3);
                break;
            }

            case 34:
            {
                length = reader.ReadInt16();
                int[] arg0 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg0[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                Guid[] arg1 = new Guid[length];
                for (int i = 0; i < length; ++i)
                {
                    arg1[i] = new Guid(reader.ReadBytes(16));
                }
                length = reader.ReadInt16();
                int[] arg2 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg2[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                int[] arg3 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg3[i] = reader.ReadInt32();
                }
                bool arg4 = reader.ReadBoolean();
                bool arg5 = reader.ReadBoolean();
                Log.Debug($"SERVER IN:  CreateCardAt");
                handler.CreateCardAt(arg0, arg1, arg2, arg3, arg4, arg5);
                break;
            }

            case 35:
            {
                length = reader.ReadInt16();
                int[] arg0 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg0[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                ulong[] arg1 = new ulong[length];
                for (int i = 0; i < length; ++i)
                {
                    arg1[i] = reader.ReadUInt64();
                }
                Log.Debug($"SERVER IN:  CreateAliasDeprecated");
                handler.CreateAliasDeprecated(arg0, arg1);
                break;
            }

            case 36:
            {
                length = reader.ReadInt16();
                int[] arg0 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg0[i] = reader.ReadInt32();
                }
                int arg1 = reader.ReadInt32();
                length = reader.ReadInt16();
                int[] arg2 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg2[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                bool[] arg3 = new bool[length];
                for (int i = 0; i < length; ++i)
                {
                    arg3[i] = reader.ReadBoolean();
                }
                bool arg4 = reader.ReadBoolean();
                Log.Debug($"SERVER IN:  MoveCardReq");
                handler.MoveCardReq(arg0, arg1, arg2, arg3, arg4);
                break;
            }

            case 38:
            {
                length = reader.ReadInt16();
                int[] arg0 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg0[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                int[] arg1 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg1[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                int[] arg2 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg2[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                int[] arg3 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg3[i] = reader.ReadInt32();
                }
                bool arg4 = reader.ReadBoolean();
                length = reader.ReadInt16();
                bool[] arg5 = new bool[length];
                for (int i = 0; i < length; ++i)
                {
                    arg5[i] = reader.ReadBoolean();
                }
                Log.Debug($"SERVER IN:  MoveCardAtReq");
                handler.MoveCardAtReq(arg0, arg1, arg2, arg3, arg4, arg5);
                break;
            }

            case 40:
            {
                int arg0 = reader.ReadInt32();
                Log.Debug($"SERVER IN:  PeekReq");
                handler.PeekReq(arg0);
                break;
            }

            case 42:
            {
                int  arg0 = reader.ReadInt32();
                bool arg1 = reader.ReadBoolean();
                Log.Debug($"SERVER IN:  UntargetReq");
                handler.UntargetReq(arg0, arg1);
                break;
            }

            case 44:
            {
                int  arg0 = reader.ReadInt32();
                bool arg1 = reader.ReadBoolean();
                Log.Debug($"SERVER IN:  TargetReq");
                handler.TargetReq(arg0, arg1);
                break;
            }

            case 46:
            {
                int  arg0 = reader.ReadInt32();
                int  arg1 = reader.ReadInt32();
                bool arg2 = reader.ReadBoolean();
                Log.Debug($"SERVER IN:  TargetArrowReq");
                handler.TargetArrowReq(arg0, arg1, arg2);
                break;
            }

            case 48:
            {
                int    arg0 = reader.ReadInt32();
                string arg1 = reader.ReadString();
                Log.Debug($"SERVER IN:  Highlight");
                handler.Highlight(arg0, arg1);
                break;
            }

            case 49:
            {
                int  arg0 = reader.ReadInt32();
                bool arg1 = reader.ReadBoolean();
                Log.Debug($"SERVER IN:  TurnReq");
                handler.TurnReq(arg0, arg1);
                break;
            }

            case 51:
            {
                int             arg0 = reader.ReadInt32();
                CardOrientation arg1 = (CardOrientation)reader.ReadByte();
                Log.Debug($"SERVER IN:  RotateReq");
                handler.RotateReq(arg0, arg1);
                break;
            }

            case 53:
            {
                int arg0 = reader.ReadInt32();
                length = reader.ReadInt16();
                int[] arg1 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg1[i] = reader.ReadInt32();
                }
                Log.Debug($"SERVER IN:  ShuffleDeprecated");
                handler.ShuffleDeprecated(arg0, arg1);
                break;
            }

            case 54:
            {
                byte arg0 = reader.ReadByte();
                int  arg1 = reader.ReadInt32();
                length = reader.ReadInt16();
                int[] arg2 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg2[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                short[] arg3 = new short[length];
                for (int i = 0; i < length; ++i)
                {
                    arg3[i] = reader.ReadInt16();
                }
                Log.Debug($"SERVER IN:  Shuffled");
                handler.Shuffled(arg0, arg1, arg2, arg3);
                break;
            }

            case 55:
            {
                int arg0 = reader.ReadInt32();
                Log.Debug($"SERVER IN:  UnaliasGrpDeprecated");
                handler.UnaliasGrpDeprecated(arg0);
                break;
            }

            case 56:
            {
                length = reader.ReadInt16();
                int[] arg0 = new int[length];
                for (int i = 0; i < length; ++i)
                {
                    arg0[i] = reader.ReadInt32();
                }
                length = reader.ReadInt16();
                ulong[] arg1 = new ulong[length];
                for (int i = 0; i < length; ++i)
                {
                    arg1[i] = reader.ReadUInt64();
                }
                Log.Debug($"SERVER IN:  UnaliasDeprecated");
                handler.UnaliasDeprecated(arg0, arg1);
                break;
            }

            case 57:
            {
                int    arg0 = reader.ReadInt32();
                Guid   arg1 = new Guid(reader.ReadBytes(16));
                string arg2 = reader.ReadString();
                ushort arg3 = reader.ReadUInt16();
                ushort arg4 = reader.ReadUInt16();
                bool   arg5 = reader.ReadBoolean();
                Log.Debug($"SERVER IN:  AddMarkerReq");
                handler.AddMarkerReq(arg0, arg1, arg2, arg3, arg4, arg5);
                break;
            }

            case 59:
            {
                int    arg0 = reader.ReadInt32();
                Guid   arg1 = new Guid(reader.ReadBytes(16));
                string arg2 = reader.ReadString();
                ushort arg3 = reader.ReadUInt16();
                ushort arg4 = reader.ReadUInt16();
                bool   arg5 = reader.ReadBoolean();
                Log.Debug($"SERVER IN:  RemoveMarkerReq");
                handler.RemoveMarkerReq(arg0, arg1, arg2, arg3, arg4, arg5);
                break;
            }

            case 61:
            {
                int    arg0 = reader.ReadInt32();
                int    arg1 = reader.ReadInt32();
                Guid   arg2 = new Guid(reader.ReadBytes(16));
                string arg3 = reader.ReadString();
                ushort arg4 = reader.ReadUInt16();
                ushort arg5 = reader.ReadUInt16();
                bool   arg6 = reader.ReadBoolean();
                Log.Debug($"SERVER IN:  TransferMarkerReq");
                handler.TransferMarkerReq(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
                break;
            }

            case 63:
            {
                int  arg0 = reader.ReadInt32();
                byte arg1 = reader.ReadByte();
                bool arg2 = reader.ReadBoolean();
                Log.Debug($"SERVER IN:  PassToReq");
                handler.PassToReq(arg0, arg1, arg2);
                break;
            }

            case 65:
            {
                int  arg0 = reader.ReadInt32();
                byte arg1 = reader.ReadByte();
                Log.Debug($"SERVER IN:  TakeFromReq");
                handler.TakeFromReq(arg0, arg1);
                break;
            }

            case 67:
            {
                int  arg0 = reader.ReadInt32();
                byte arg1 = reader.ReadByte();
                Log.Debug($"SERVER IN:  DontTakeReq");
                handler.DontTakeReq(arg0, arg1);
                break;
            }

            case 69:
            {
                int arg0 = reader.ReadInt32();
                Log.Debug($"SERVER IN:  FreezeCardsVisibility");
                handler.FreezeCardsVisibility(arg0);
                break;
            }

            case 70:
            {
                int  arg0 = reader.ReadInt32();
                bool arg1 = reader.ReadBoolean();
                bool arg2 = reader.ReadBoolean();
                Log.Debug($"SERVER IN:  GroupVisReq");
                handler.GroupVisReq(arg0, arg1, arg2);
                break;
            }

            case 72:
            {
                int  arg0 = reader.ReadInt32();
                byte arg1 = reader.ReadByte();
                Log.Debug($"SERVER IN:  GroupVisAddReq");
                handler.GroupVisAddReq(arg0, arg1);
                break;
            }

            case 74:
            {
                int  arg0 = reader.ReadInt32();
                byte arg1 = reader.ReadByte();
                Log.Debug($"SERVER IN:  GroupVisRemoveReq");
                handler.GroupVisRemoveReq(arg0, arg1);
                break;
            }

            case 76:
            {
                int  arg0 = reader.ReadInt32();
                int  arg1 = reader.ReadInt32();
                bool arg2 = reader.ReadBoolean();
                Log.Debug($"SERVER IN:  LookAtReq");
                handler.LookAtReq(arg0, arg1, arg2);
                break;
            }

            case 78:
            {
                int  arg0 = reader.ReadInt32();
                int  arg1 = reader.ReadInt32();
                int  arg2 = reader.ReadInt32();
                bool arg3 = reader.ReadBoolean();
                Log.Debug($"SERVER IN:  LookAtTopReq");
                handler.LookAtTopReq(arg0, arg1, arg2, arg3);
                break;
            }

            case 80:
            {
                int  arg0 = reader.ReadInt32();
                int  arg1 = reader.ReadInt32();
                int  arg2 = reader.ReadInt32();
                bool arg3 = reader.ReadBoolean();
                Log.Debug($"SERVER IN:  LookAtBottomReq");
                handler.LookAtBottomReq(arg0, arg1, arg2, arg3);
                break;
            }

            case 82:
            {
                length = reader.ReadInt16();
                Guid[] arg0 = new Guid[length];
                for (int i = 0; i < length; ++i)
                {
                    arg0[i] = new Guid(reader.ReadBytes(16));
                }
                Log.Debug($"SERVER IN:  StartLimitedReq");
                handler.StartLimitedReq(arg0);
                break;
            }

            case 84:
            {
                Log.Debug($"SERVER IN:  CancelLimitedReq");
                handler.CancelLimitedReq();
                break;
            }

            case 86:
            {
                byte   arg0 = reader.ReadByte();
                int    arg1 = reader.ReadInt32();
                string arg2 = reader.ReadString();
                Log.Debug($"SERVER IN:  CardSwitchTo");
                handler.CardSwitchTo(arg0, arg1, arg2);
                break;
            }

            case 87:
            {
                byte   arg0 = reader.ReadByte();
                string arg1 = reader.ReadString();
                string arg2 = reader.ReadString();
                string arg3 = reader.ReadString();
                Log.Debug($"SERVER IN:  PlayerSetGlobalVariable");
                handler.PlayerSetGlobalVariable(arg0, arg1, arg2, arg3);
                break;
            }

            case 88:
            {
                string arg0 = reader.ReadString();
                string arg1 = reader.ReadString();
                string arg2 = reader.ReadString();
                Log.Debug($"SERVER IN:  SetGlobalVariable");
                handler.SetGlobalVariable(arg0, arg1, arg2);
                break;
            }

            case 90:
            {
                handler.Ping();
                break;
            }

            case 91:
            {
                bool arg0 = reader.ReadBoolean();
                Log.Debug($"SERVER IN:  IsTableBackgroundFlipped");
                handler.IsTableBackgroundFlipped(arg0);
                break;
            }

            case 92:
            {
                byte   arg0 = reader.ReadByte();
                string arg1 = reader.ReadString();
                Log.Debug($"SERVER IN:  PlaySound");
                handler.PlaySound(arg0, arg1);
                break;
            }

            case 93:
            {
                byte arg0 = reader.ReadByte();
                Log.Debug($"SERVER IN:  Ready");
                handler.Ready(arg0);
                break;
            }

            case 95:
            {
                byte   arg0 = reader.ReadByte();
                string arg1 = reader.ReadString();
                string arg2 = reader.ReadString();
                Log.Debug($"SERVER IN:  RemoteCall");
                handler.RemoteCall(arg0, arg1, arg2);
                break;
            }

            case 96:
            {
                byte arg0 = reader.ReadByte();
                Log.Debug($"SERVER IN:  GameStateReq");
                handler.GameStateReq(arg0);
                break;
            }

            case 97:
            {
                byte   arg0 = reader.ReadByte();
                string arg1 = reader.ReadString();
                Log.Debug($"SERVER IN:  GameState");
                handler.GameState(arg0, arg1);
                break;
            }

            case 98:
            {
                int  arg0 = reader.ReadInt32();
                byte arg1 = reader.ReadByte();
                Log.Debug($"SERVER IN:  DeleteCard");
                handler.DeleteCard(arg0, arg1);
                break;
            }

            case 100:
            {
                length = reader.ReadInt16();
                Guid[] arg0 = new Guid[length];
                for (int i = 0; i < length; ++i)
                {
                    arg0[i] = new Guid(reader.ReadBytes(16));
                }
                bool arg1 = reader.ReadBoolean();
                Log.Debug($"SERVER IN:  AddPacksReq");
                handler.AddPacksReq(arg0, arg1);
                break;
            }

            case 102:
            {
                int  arg0 = reader.ReadInt32();
                byte arg1 = reader.ReadByte();
                bool arg2 = reader.ReadBoolean();
                Log.Debug($"SERVER IN:  AnchorCard");
                handler.AnchorCard(arg0, arg1, arg2);
                break;
            }

            case 103:
            {
                int    arg0 = reader.ReadInt32();
                byte   arg1 = reader.ReadByte();
                string arg2 = reader.ReadString();
                string arg3 = reader.ReadString();
                string arg4 = reader.ReadString();
                Log.Debug($"SERVER IN:  SetCardProperty");
                handler.SetCardProperty(arg0, arg1, arg2, arg3, arg4);
                break;
            }

            case 104:
            {
                int  arg0 = reader.ReadInt32();
                byte arg1 = reader.ReadByte();
                Log.Debug($"SERVER IN:  ResetCardProperties");
                handler.ResetCardProperties(arg0, arg1);
                break;
            }

            case 105:
            {
                int    arg0 = reader.ReadInt32();
                string arg1 = reader.ReadString();
                Log.Debug($"SERVER IN:  Filter");
                handler.Filter(arg0, arg1);
                break;
            }

            case 106:
            {
                string arg0 = reader.ReadString();
                Log.Debug($"SERVER IN:  SetBoard");
                handler.SetBoard(arg0);
                break;
            }

            case 107:
            {
                byte   arg0 = reader.ReadByte();
                string arg1 = reader.ReadString();
                Log.Debug($"SERVER IN:  SetPlayerColor");
                handler.SetPlayerColor(arg0, arg1);
                break;
            }

            default:
                Debug.WriteLine(L.D.ServerMessage__UnknownBinaryMessage + method);
                break;
            }
            reader.Close();
        }