Exemplo n.º 1
0
        static void gclient_OnAccountInfoRequest(object sender, AccountInfoRequestArgs e)
        {
            GlobalTask gst = new GlobalTask();
            gst.Type = (int)GlobalTask.GlobalType.AccountInfoRequest;
            gst.Client = (GlobalClient)sender;
            gst.Args = e;

            _server.TaskProcessor.AddTask(gst);
        }
Exemplo n.º 2
0
        void AccountInfoRequestHandler(BinaryReader br)
        {
            AccountInfoRequestArgs args = new AccountInfoRequestArgs();

            args.ClientKey   = br.ReadUInt32();
            args.Email       = ReadUTF8String(br);
            args.Password    = ReadUTF8String(br);
            args.DisplayName = ReadUTF8String(br);
            args.OAuthMode   = br.ReadInt32();
            OnAccountInfoRequest(this, args);
        }
Exemplo n.º 3
0
 void AccountInfoRequestHandler(BinaryReader br)
 {
     AccountInfoRequestArgs args = new AccountInfoRequestArgs();
     args.ClientKey = br.ReadUInt32();
     args.Email = ReadUTF8String(br);
     args.Password = ReadUTF8String(br);
     args.DisplayName = ReadUTF8String(br);
     OnAccountInfoRequest(this, args);
 }