示例#1
0
        public Task <GetTileOutputDTO> GetTileQueryAsync(ushort x, ushort y, byte index, BlockParameter blockParameter = null)
        {
            var getTileFunction = new GetTileFunction();

            getTileFunction.X     = x;
            getTileFunction.Y     = y;
            getTileFunction.Index = index;

            return(ContractHandler.QueryDeserializingToObjectAsync <GetTileFunction, GetTileOutputDTO>(getTileFunction, blockParameter));
        }
示例#2
0
 public Task <GetTileOutputDTO> GetTileQueryAsync(GetTileFunction getTileFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryDeserializingToObjectAsync <GetTileFunction, GetTileOutputDTO>(getTileFunction, blockParameter));
 }