コード例 #1
0
        public Task <TransactionReceipt> SetTileTypeAtRequestAndWaitForReceiptAsync(ushort x, ushort y, byte tile, ushort type, CancellationTokenSource cancellationToken = null)
        {
            var setTileTypeAtFunction = new SetTileTypeAtFunction();

            setTileTypeAtFunction.X    = x;
            setTileTypeAtFunction.Y    = y;
            setTileTypeAtFunction.Tile = tile;
            setTileTypeAtFunction.Type = type;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(setTileTypeAtFunction, cancellationToken));
        }
コード例 #2
0
        public Task <string> SetTileTypeAtRequestAsync(ushort x, ushort y, byte tile, ushort type)
        {
            var setTileTypeAtFunction = new SetTileTypeAtFunction();

            setTileTypeAtFunction.X    = x;
            setTileTypeAtFunction.Y    = y;
            setTileTypeAtFunction.Tile = tile;
            setTileTypeAtFunction.Type = type;

            return(ContractHandler.SendRequestAsync(setTileTypeAtFunction));
        }
コード例 #3
0
 public Task <TransactionReceipt> SetTileTypeAtRequestAndWaitForReceiptAsync(SetTileTypeAtFunction setTileTypeAtFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(setTileTypeAtFunction, cancellationToken));
 }
コード例 #4
0
 public Task <string> SetTileTypeAtRequestAsync(SetTileTypeAtFunction setTileTypeAtFunction)
 {
     return(ContractHandler.SendRequestAsync(setTileTypeAtFunction));
 }