Exemple #1
0
        private System.IAsyncResult OnBeginUpdateGameState(object[] inValues, System.AsyncCallback callback, object asyncState)
        {
            string gameId = ((string)(inValues[0]));

            SchinkZeShips.Core.SchinkZeShipsReference.GameState gameState = ((SchinkZeShips.Core.SchinkZeShipsReference.GameState)(inValues[1]));
            return(((SchinkZeShips.Core.SchinkZeShipsReference.ISchinkZeShips)(this)).BeginUpdateGameState(gameId, gameState, callback, asyncState));
        }
Exemple #2
0
 public System.IAsyncResult BeginUpdateGameState(string gameId, SchinkZeShips.Core.SchinkZeShipsReference.GameState gameState, System.AsyncCallback callback, object asyncState)
 {
     object[] _args = new object[2];
     _args[0] = gameId;
     _args[1] = gameState;
     System.IAsyncResult _result = base.BeginInvoke("UpdateGameState", _args, callback, asyncState);
     return(_result);
 }
Exemple #3
0
 public void UpdateGameStateAsync(string gameId, SchinkZeShips.Core.SchinkZeShipsReference.GameState gameState, object userState)
 {
     if ((this.onBeginUpdateGameStateDelegate == null))
     {
         this.onBeginUpdateGameStateDelegate = new BeginOperationDelegate(this.OnBeginUpdateGameState);
     }
     if ((this.onEndUpdateGameStateDelegate == null))
     {
         this.onEndUpdateGameStateDelegate = new EndOperationDelegate(this.OnEndUpdateGameState);
     }
     if ((this.onUpdateGameStateCompletedDelegate == null))
     {
         this.onUpdateGameStateCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnUpdateGameStateCompleted);
     }
     base.InvokeAsync(this.onBeginUpdateGameStateDelegate, new object[] {
         gameId,
         gameState
     }, this.onEndUpdateGameStateDelegate, this.onUpdateGameStateCompletedDelegate, userState);
 }
Exemple #4
0
 public void UpdateGameStateAsync(string gameId, SchinkZeShips.Core.SchinkZeShipsReference.GameState gameState)
 {
     this.UpdateGameStateAsync(gameId, gameState, null);
 }
Exemple #5
0
 System.IAsyncResult SchinkZeShips.Core.SchinkZeShipsReference.ISchinkZeShips.BeginUpdateGameState(string gameId, SchinkZeShips.Core.SchinkZeShipsReference.GameState gameState, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginUpdateGameState(gameId, gameState, callback, asyncState));
 }