public void AddCastleWallElement(int villageID, int elementType, int x, int y, long clientElementNumber, int wallX, int wallY)
 {
     if (this.AddCastleElement_Callback == null)
     {
         this.AddCastleElement_Callback = new AsyncCallback(this.OurRemoteAsyncCallBack_AddCastleElement);
     }
     RemoteAsyncDelegate_AddCastleElement element = new RemoteAsyncDelegate_AddCastleElement(this.service.AddCastleElement);
     this.registerRPCcall(element.BeginInvoke(this.UserID, this.SessionID, villageID, elementType, x, y, clientElementNumber, wallX, wallY, false, false, null, null, null, this.AddCastleElement_Callback, null), typeof(AddCastleElement_ReturnType));
 }
 public void AddCastleElement(int villageID, int elementType, int x, int y, long clientElementNumber, bool reinforcement, bool vassalReinforcement, byte[,] elementList, long[] troopsToDelete, MoveElementData[] troopsToMove)
 {
     if (this.AddCastleElement_Callback == null)
     {
         this.AddCastleElement_Callback = new AsyncCallback(this.OurRemoteAsyncCallBack_AddCastleElement);
     }
     RemoteAsyncDelegate_AddCastleElement element = new RemoteAsyncDelegate_AddCastleElement(this.service.AddCastleElement);
     this.registerRPCcall(element.BeginInvoke(this.UserID, this.SessionID, villageID, elementType, x, y, clientElementNumber, -1, -1, reinforcement, vassalReinforcement, elementList, troopsToDelete, troopsToMove, this.AddCastleElement_Callback, null), typeof(AddCastleElement_ReturnType));
 }