예제 #1
0
        public Task <ushort> GetTileLocationQueryAsync(ushort x, ushort y, string address, BlockParameter blockParameter = null)
        {
            var getTileLocationFunction = new GetTileLocationFunction();

            getTileLocationFunction.X       = x;
            getTileLocationFunction.Y       = y;
            getTileLocationFunction.Address = address;

            return(ContractHandler.QueryAsync <GetTileLocationFunction, ushort>(getTileLocationFunction, blockParameter));
        }
예제 #2
0
 public Task <ushort> GetTileLocationQueryAsync(GetTileLocationFunction getTileLocationFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <GetTileLocationFunction, ushort>(getTileLocationFunction, blockParameter));
 }