public Task <byte> CanCollectQueryAsync(ushort x, ushort y, byte tile, BlockParameter blockParameter = null) { var canCollectFunction = new CanCollectFunction(); canCollectFunction.X = x; canCollectFunction.Y = y; canCollectFunction.Tile = tile; return(ContractHandler.QueryAsync <CanCollectFunction, byte>(canCollectFunction, blockParameter)); }
public Task <byte> CanCollectQueryAsync(CanCollectFunction canCollectFunction, BlockParameter blockParameter = null) { return(ContractHandler.QueryAsync <CanCollectFunction, byte>(canCollectFunction, blockParameter)); }