public System.IAsyncResult BeginAddPlayer(PhoneApp1.ServiceReference1.Player pl, System.AsyncCallback callback, object asyncState) { object[] _args = new object[1]; _args[0] = pl; System.IAsyncResult _result = base.BeginInvoke("AddPlayer", _args, callback, asyncState); return(_result); }
private System.IAsyncResult OnBeginCreateLobby(object[] inValues, System.AsyncCallback callback, object asyncState) { PhoneApp1.ServiceReference1.Player host = ((PhoneApp1.ServiceReference1.Player)(inValues[0])); int lobby = ((int)(inValues[1])); return(((PhoneApp1.ServiceReference1.IService1)(this)).BeginCreateLobby(host, lobby, callback, asyncState)); }
public System.IAsyncResult BeginCreateLobby(PhoneApp1.ServiceReference1.Player host, int lobby, System.AsyncCallback callback, object asyncState) { object[] _args = new object[2]; _args[0] = host; _args[1] = lobby; System.IAsyncResult _result = base.BeginInvoke("CreateLobby", _args, callback, asyncState); return(_result); }
public void AddPlayerAsync(PhoneApp1.ServiceReference1.Player pl, object userState) { if ((this.onBeginAddPlayerDelegate == null)) { this.onBeginAddPlayerDelegate = new BeginOperationDelegate(this.OnBeginAddPlayer); } if ((this.onEndAddPlayerDelegate == null)) { this.onEndAddPlayerDelegate = new EndOperationDelegate(this.OnEndAddPlayer); } if ((this.onAddPlayerCompletedDelegate == null)) { this.onAddPlayerCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnAddPlayerCompleted); } base.InvokeAsync(this.onBeginAddPlayerDelegate, new object[] { pl }, this.onEndAddPlayerDelegate, this.onAddPlayerCompletedDelegate, userState); }
public void CreateLobbyAsync(PhoneApp1.ServiceReference1.Player host, int lobby, object userState) { if ((this.onBeginCreateLobbyDelegate == null)) { this.onBeginCreateLobbyDelegate = new BeginOperationDelegate(this.OnBeginCreateLobby); } if ((this.onEndCreateLobbyDelegate == null)) { this.onEndCreateLobbyDelegate = new EndOperationDelegate(this.OnEndCreateLobby); } if ((this.onCreateLobbyCompletedDelegate == null)) { this.onCreateLobbyCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnCreateLobbyCompleted); } base.InvokeAsync(this.onBeginCreateLobbyDelegate, new object[] { host, lobby }, this.onEndCreateLobbyDelegate, this.onCreateLobbyCompletedDelegate, userState); }
public void AddPlayerAsync(PhoneApp1.ServiceReference1.Player pl) { this.AddPlayerAsync(pl, null); }
private System.IAsyncResult OnBeginAddPlayer(object[] inValues, System.AsyncCallback callback, object asyncState) { PhoneApp1.ServiceReference1.Player pl = ((PhoneApp1.ServiceReference1.Player)(inValues[0])); return(((PhoneApp1.ServiceReference1.IService1)(this)).BeginAddPlayer(pl, callback, asyncState)); }
System.IAsyncResult PhoneApp1.ServiceReference1.IService1.BeginAddPlayer(PhoneApp1.ServiceReference1.Player pl, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginAddPlayer(pl, callback, asyncState)); }
public void CreateLobbyAsync(PhoneApp1.ServiceReference1.Player host, int lobby) { this.CreateLobbyAsync(host, lobby, null); }
System.IAsyncResult PhoneApp1.ServiceReference1.IService1.BeginCreateLobby(PhoneApp1.ServiceReference1.Player host, int lobby, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginCreateLobby(host, lobby, callback, asyncState)); }