コード例 #1
0
        protected override void Format7BHandler(LoginClient client, ClientFormat7B format)
        {
            if (format.Type == 0x00)
            {
                client.Send(new ServerFormat6F
                {
                    Type = 0x00,
                    Name = format.Name
                });
            }

            if (format.Type == 0x01)
            {
                client.Send(new ServerFormat6F
                {
                    Type = 0x01
                });
            }
        }
コード例 #2
0
        protected override void Format7BHandler(LoginClient client, ClientFormat7B format)
        {
            if (format.Type == 0x00)
            {
                Console.WriteLine("Client Requested Metafile: {0}", format.Name);

                client.Send(new ServerFormat6F
                {
                    Type = 0x00,
                    Name = format.Name
                });
            }

            if (format.Type == 0x01)
            {
                client.Send(new ServerFormat6F
                {
                    Type = 0x01
                });
            }
        }
コード例 #3
0
 protected virtual void Format7BHandler(TClient client, ClientFormat7B format)
 {
 }