// ------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Mono Runtime Version: 1.1.4322.2032
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
// ------------------------------------------------------------------------------
///
[System.Web.Services.WebServiceBinding(Name="User_asmxSoap", Namespace="http://tempuri.org/")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public class User_asmx : System.Web.Services.Protocols.SoapHttpClientProtocol {
public User_asmx() {
this.Url = "http://au.gamecreate.com/admin/User.asmx";
}
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Login", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, Use=System.Web.Services.Description.SoapBindingUse.Literal)]
public int Login(string username, string password) {
object[] results = this.Invoke("Login", new object[] {
username,
password});
return ((int)(results[0]));
}
public System.IAsyncResult BeginLogin(string username, string password, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Login", new object[] {
username,
password}, callback, asyncState);
}
public int EndLogin(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/CreateAccount", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, Use=System.Web.Services.Description.SoapBindingUse.Literal)]
public int CreateAccount(string username, string password, string name, string email) {
object[] results = this.Invoke("CreateAccount", new object[] {
username,
password,
name,
email});
return ((int)(results[0]));
}
public System.IAsyncResult BeginCreateAccount(string username, string password, string name, string email, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CreateAccount", new object[] {
username,
password,
name,
email}, callback, asyncState);
}
public int EndCreateAccount(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IsUsernameAvailable", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, Use=System.Web.Services.Description.SoapBindingUse.Literal)]
public bool IsUsernameAvailable(string username) {
object[] results = this.Invoke("IsUsernameAvailable", new object[] {
username});
return ((bool)(results[0]));
}
public System.IAsyncResult BeginIsUsernameAvailable(string username, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("IsUsernameAvailable", new object[] {
username}, callback, asyncState);
}
public bool EndIsUsernameAvailable(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/UpdateAccount", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, Use=System.Web.Services.Description.SoapBindingUse.Literal)]
public bool UpdateAccount(string currentUsername, string currentPassword, string username, string password, string name, string email) {
object[] results = this.Invoke("UpdateAccount", new object[] {
currentUsername,
currentPassword,
username,
password,
name,
email});
return ((bool)(results[0]));
}
public System.IAsyncResult BeginUpdateAccount(string currentUsername, string currentPassword, string username, string password, string name, string email, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("UpdateAccount", new object[] {
currentUsername,
currentPassword,
username,
password,
name,
email}, callback, asyncState);
}
public bool EndUpdateAccount(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetAccount", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, Use=System.Web.Services.Description.SoapBindingUse.Literal)]
public UserDetails GetAccount(string username, string password) {
object[] results = this.Invoke("GetAccount", new object[] {
username,
password});
return ((UserDetails)(results[0]));
}
public System.IAsyncResult BeginGetAccount(string username, string password, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetAccount", new object[] {
username,
password}, callback, asyncState);
}
public UserDetails EndGetAccount(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((UserDetails)(results[0]));
}
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
public class UserDetails {
///
public string Username;
///
public string Name;
///
public string Email;
}