Ejemplo n.º 1
0
        public Task <TransactionReceipt> EmbarkRequestAndWaitForReceiptAsync(ushort x, ushort y, BigInteger shipId, CancellationTokenSource cancellationToken = null)
        {
            var embarkFunction = new EmbarkFunction();

            embarkFunction.X      = x;
            embarkFunction.Y      = y;
            embarkFunction.ShipId = shipId;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(embarkFunction, cancellationToken));
        }
Ejemplo n.º 2
0
        public Task <string> EmbarkRequestAsync(ushort x, ushort y, BigInteger shipId)
        {
            var embarkFunction = new EmbarkFunction();

            embarkFunction.X      = x;
            embarkFunction.Y      = y;
            embarkFunction.ShipId = shipId;

            return(ContractHandler.SendRequestAsync(embarkFunction));
        }
Ejemplo n.º 3
0
        public Task <string> EmbarkRequestAsync(string contract, BigInteger shipId, ushort x, ushort y, ushort location)
        {
            var embarkFunction = new EmbarkFunction();

            embarkFunction.Contract = contract;
            embarkFunction.ShipId   = shipId;
            embarkFunction.X        = x;
            embarkFunction.Y        = y;
            embarkFunction.Location = location;

            return(ContractHandler.SendRequestAsync(embarkFunction));
        }
Ejemplo n.º 4
0
 public Task <TransactionReceipt> EmbarkRequestAndWaitForReceiptAsync(EmbarkFunction embarkFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(embarkFunction, cancellationToken));
 }
Ejemplo n.º 5
0
 public Task <string> EmbarkRequestAsync(EmbarkFunction embarkFunction)
 {
     return(ContractHandler.SendRequestAsync(embarkFunction));
 }