예제 #1
0
        public Task <BigInteger> CountShipsQueryAsync(ushort x, ushort y, byte tile, byte[] model, BlockParameter blockParameter = null)
        {
            var countShipsFunction = new CountShipsFunction();

            countShipsFunction.X     = x;
            countShipsFunction.Y     = y;
            countShipsFunction.Tile  = tile;
            countShipsFunction.Model = model;

            return(ContractHandler.QueryAsync <CountShipsFunction, BigInteger>(countShipsFunction, blockParameter));
        }
예제 #2
0
 public Task <BigInteger> CountShipsQueryAsync(CountShipsFunction countShipsFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <CountShipsFunction, BigInteger>(countShipsFunction, blockParameter));
 }