public void MailsList(int startMailId, ServerCallbackDelegate callback) { MailListRequest request = new MailListRequest(); request.StartMailId = startMailId; SendCommand(request, callback); }
public int Call_MailList(MailListRequest request) { String pid = CurrentSession.UserId; MailListResponse response = new MailListResponse(); List <MailInfo> ms = new List <MailInfo>() { }; response.id = pid; response.mails = ms; response.success = true; CurrentSession.SendAsync(response); return(0); }