public PokeTradeDetail(TPoke pkm, PokeTradeTrainerInfo info, IPokeTradeNotifier <TPoke> notifier, int code = RandomCode) { Code = code; TradeData = pkm; Trainer = info; Notifier = notifier; }
public PokeTradeDetail(TPoke pkm, PokeTradeTrainerInfo info, IPokeTradeNotifier <TPoke> notifier, PokeTradeType type, int code) { Code = code; TradeData = pkm; Trainer = info; Notifier = notifier; Type = type; }
public PokeTradeDetail(TPoke pkm, PokeTradeTrainerInfo info, IPokeTradeNotifier <TPoke> notifier, PokeTradeType type, int code) { Code = code; TradeData = pkm; Trainer = info; Notifier = notifier; Type = type; Time = DateTime.Now; ID = Interlocked.Increment(ref CreatedCount) % 3000; }
public PokeTradeDetail(TPoke pkm, PokeTradeTrainerInfo info, GiveawayPoolEntry poolEntry, IPokeTradeNotifier <TPoke> notifier, PokeTradeType type, int code, bool favored = false) { Code = code; TradeData = pkm; PoolEntry = poolEntry; Trainer = info; Notifier = notifier; Type = type; Time = DateTime.Now; IsFavored = favored; ID = Interlocked.Increment(ref CreatedCount) % 3000; }
public PokeTradeDetail(TPoke pkm, PokeTradeTrainerInfo info, IPokeTradeNotifier <TPoke> notifier, PokeTradeType type, int code, ulong disUserId, bool favored = false, string reqIgn = "") { Code = code; TradeData = pkm; Trainer = info; Notifier = notifier; Type = type; Time = DateTime.Now; IsFavored = favored; DiscordUserId = disUserId; RequestedIgn = reqIgn; ID = Interlocked.Increment(ref CreatedCount) % 3000; }
public ExternalPokeTradeDetail(TPoke pkm, PokeTradeTrainerInfo info, IPokeTradeNotifier <TPoke> notifier, PokeTradeType type, int code, TradeFile paths) : base(pkm, info, notifier, type, code) { SourcePath = paths.SourcePath; DestinationPath = paths.DestinationPath; }