Exemple #1
0
 public AsyncFuture <UFEPacket> Login(string account, string password, Action <IAsyncContext <UFEPacket> > callback)
 {
     controller.User.Account  = account;
     controller.User.Password = password;
     return(controller.SendAsync(Commands.Login, callback, new { Account = controller.User.Account, Password = controller.User.Password }));
 }
            AsyncFuture <UFEPacket> IFileManager.GetLock()
            {
                const uint retryCount = 10;

                return(controller.SendAsync(Commands.GetLock, null, retryCount));
            }