private System.IAsyncResult OnBeginJoinGame(object[] inValues, System.AsyncCallback callback, object asyncState) { string gameIdToJoin = ((string)(inValues[0])); SchinkZeShips.Core.SchinkZeShipsReference.Player player = ((SchinkZeShips.Core.SchinkZeShipsReference.Player)(inValues[1])); return(((SchinkZeShips.Core.SchinkZeShipsReference.ISchinkZeShips)(this)).BeginJoinGame(gameIdToJoin, player, callback, asyncState)); }
private System.IAsyncResult OnBeginCreateGame(object[] inValues, System.AsyncCallback callback, object asyncState) { SchinkZeShips.Core.SchinkZeShipsReference.Player creator = ((SchinkZeShips.Core.SchinkZeShipsReference.Player)(inValues[0])); string gameName = ((string)(inValues[1])); return(((SchinkZeShips.Core.SchinkZeShipsReference.ISchinkZeShips)(this)).BeginCreateGame(creator, gameName, callback, asyncState)); }
public System.IAsyncResult BeginJoinGame(string gameIdToJoin, SchinkZeShips.Core.SchinkZeShipsReference.Player player, System.AsyncCallback callback, object asyncState) { object[] _args = new object[2]; _args[0] = gameIdToJoin; _args[1] = player; System.IAsyncResult _result = base.BeginInvoke("JoinGame", _args, callback, asyncState); return(_result); }
public System.IAsyncResult BeginCreateGame(SchinkZeShips.Core.SchinkZeShipsReference.Player creator, string gameName, System.AsyncCallback callback, object asyncState) { object[] _args = new object[2]; _args[0] = creator; _args[1] = gameName; System.IAsyncResult _result = base.BeginInvoke("CreateGame", _args, callback, asyncState); return(_result); }
public void JoinGameAsync(string gameIdToJoin, SchinkZeShips.Core.SchinkZeShipsReference.Player player, object userState) { if ((this.onBeginJoinGameDelegate == null)) { this.onBeginJoinGameDelegate = new BeginOperationDelegate(this.OnBeginJoinGame); } if ((this.onEndJoinGameDelegate == null)) { this.onEndJoinGameDelegate = new EndOperationDelegate(this.OnEndJoinGame); } if ((this.onJoinGameCompletedDelegate == null)) { this.onJoinGameCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnJoinGameCompleted); } base.InvokeAsync(this.onBeginJoinGameDelegate, new object[] { gameIdToJoin, player }, this.onEndJoinGameDelegate, this.onJoinGameCompletedDelegate, userState); }
public void CreateGameAsync(SchinkZeShips.Core.SchinkZeShipsReference.Player creator, string gameName, object userState) { if ((this.onBeginCreateGameDelegate == null)) { this.onBeginCreateGameDelegate = new BeginOperationDelegate(this.OnBeginCreateGame); } if ((this.onEndCreateGameDelegate == null)) { this.onEndCreateGameDelegate = new EndOperationDelegate(this.OnEndCreateGame); } if ((this.onCreateGameCompletedDelegate == null)) { this.onCreateGameCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnCreateGameCompleted); } base.InvokeAsync(this.onBeginCreateGameDelegate, new object[] { creator, gameName }, this.onEndCreateGameDelegate, this.onCreateGameCompletedDelegate, userState); }
public void JoinGameAsync(string gameIdToJoin, SchinkZeShips.Core.SchinkZeShipsReference.Player player) { this.JoinGameAsync(gameIdToJoin, player, null); }
System.IAsyncResult SchinkZeShips.Core.SchinkZeShipsReference.ISchinkZeShips.BeginJoinGame(string gameIdToJoin, SchinkZeShips.Core.SchinkZeShipsReference.Player player, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginJoinGame(gameIdToJoin, player, callback, asyncState)); }
public void CreateGameAsync(SchinkZeShips.Core.SchinkZeShipsReference.Player creator, string gameName) { this.CreateGameAsync(creator, gameName, null); }
System.IAsyncResult SchinkZeShips.Core.SchinkZeShipsReference.ISchinkZeShips.BeginCreateGame(SchinkZeShips.Core.SchinkZeShipsReference.Player creator, string gameName, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginCreateGame(creator, gameName, callback, asyncState)); }