Esempio n. 1
0
 public async Task SeedCheckAsync([Summary("Trade Code")][Remainder] string code)
 {
     int tradeCode = Util.ToInt32(code);
     var sig       = Context.User.GetFavor();
     await QueueHelper <T> .AddToQueueAsync(Context, tradeCode == 0?Info.GetRandomTradeCode() : tradeCode, Context.User.Username, sig, new T(), PokeRoutineType.SeedCheck, PokeTradeType.Seed).ConfigureAwait(false);
 }
Esempio n. 2
0
 public async Task SeedCheckAsync(int code)
 {
     var sig = Context.User.GetFavor();
     await QueueHelper <T> .AddToQueueAsync(Context, code, Context.User.Username, sig, new T(), PokeRoutineType.SeedCheck, PokeTradeType.Seed).ConfigureAwait(false);
 }