public ReqFriendFindByUsername(string username, Network.ResponseCallback response) { username = WebAPI.EscapeString(username); this.name = "friend/search"; this.body = WebAPI.GetRequestString("\"name\":\"" + username + "\""); this.callback = response; }
public ReqFriendApprove(string fuid, Network.ResponseCallback response) { fuid = WebAPI.EscapeString(fuid); this.name = "friend/approve"; this.body = WebAPI.GetRequestString("\"fuid\":\"" + fuid + "\""); this.callback = response; }
public ReqSetName(string username, Network.ResponseCallback response) { username = WebAPI.EscapeString(username); this.name = "setname"; this.body = WebAPI.GetRequestString("\"name\":\"" + username + "\""); this.callback = response; }
public ReqSetName(string username) { username = WebAPI.EscapeString(username); this.name = "setname"; this.body = WebAPI.GetRequestString("\"name\":\"" + username + "\""); }
public ReqFriendFindByUsername(string username) { username = WebAPI.EscapeString(username); this.name = "friend/search"; this.body = WebAPI.GetRequestString("\"name\":\"" + username + "\""); }
public ReqFriendApprove(string fuid) { fuid = WebAPI.EscapeString(fuid); this.name = "friend/approve"; this.body = WebAPI.GetRequestString("\"fuid\":\"" + fuid + "\""); }