public Summoner(DatabaseReader reader) { Id = reader.Integer(); Region = (RegionType)reader.Integer(); AccountId = reader.Integer(); SummonerId = reader.Integer(); SummonerName = reader.String(); InternalName = reader.String(); SummonerLevel = reader.Integer(); ProfileIcon = reader.Integer(); UpdateAutomatically = reader.Boolean(); TimeCreated = reader.Time(); TimeUpdated = reader.Time(); reader.SanityCheck(Fields); Ratings = new List<SummonerRating>(); RatingDictionary = new Dictionary<MapType, Dictionary<GameModeType, SummonerRating>>(); RankedStatistics = new List<SummonerRankedStatistics>(); }
protected override void PerformExtendedReading(DatabaseReader reader) { InternalGameId = reader.Integer(); Map = (MapType)reader.Integer(); GameMode = (GameModeType)reader.Integer(); GameTime = reader.Time(); reader.SanityCheck(GetExtendedFields()); }
public RunePage(DatabaseReader reader) { Id = reader.Integer(); Name = reader.String(); IsCurrentRunePage = reader.Boolean(); TimeCreated = reader.Integer(); Slots = new List<RuneSlot>(); reader.SanityCheck(Fields); }
public AggregatedChampionStatistics(DatabaseReader reader) { ChampionId = reader.Integer(); Wins = reader.Integer(); Losses = reader.Integer(); Kills = reader.Integer(); Deaths = reader.Integer(); Assists = reader.Integer(); Gold = reader.Integer(); MinionKills = reader.Integer(); reader.SanityCheck(Fields); }
public Game(DatabaseReader reader) { Id = reader.Integer(); GameId = reader.Integer(); Map = reader.Map(); GameMode = reader.GameMode(); GameTime = reader.Time(); BlueTeamWon = reader.Boolean(); BlueTeamId = reader.Integer(); PurpleTeamId = reader.Integer(); reader.SanityCheck(Fields); }
protected override void PerformExtendedReading(DatabaseReader reader) { InternalGameId = reader.Integer(); Map = reader.Map(); GameMode = reader.GameMode(); GameTime = reader.Integer(); int blueTeamId = reader.Integer(); int purpleTeamId = reader.Integer(); BlueTeamWon = reader.Boolean(); IsBlueTeam = blueTeamId == TeamId; Won = IsBlueTeam == BlueTeamWon; reader.SanityCheck(GetExtendedFields()); }
public Summoner(DatabaseReader reader) { Id = reader.Integer(); Region = (RegionType)reader.Integer(); AccountId = reader.Integer(); SummonerId = reader.Integer(); SummonerName = reader.String(); InternalName = reader.String(); SummonerLevel = reader.Integer(); ProfileIcon = reader.Integer(); HasBeenUpdated = reader.Boolean(); UpdateAutomatically = reader.Boolean(); TimeCreated = reader.Integer(); TimeUpdated = reader.Integer(); reader.SanityCheck(Fields); }
protected virtual void PerformExtendedReading(DatabaseReader reader) { reader.SanityCheck(Fields); }
public SummonerRankedStatistics(DatabaseReader reader) { ChampionId = reader.Integer(); Wins = reader.Integer(); Losses = reader.Integer(); Kills = reader.Integer(); Deaths = reader.Integer(); Assists = reader.Integer(); MinionKills = reader.Integer(); Gold = reader.Integer(); TurretsDestroyed = reader.Integer(); DamageDealt = reader.Integer(); PhysicalDamageDealt = reader.Integer(); MagicalDamageDealt = reader.Integer(); DamageTaken = reader.Integer(); DoubleKills = reader.Integer(); TripleKills = reader.Integer(); QuadraKills = reader.Integer(); PentaKills = reader.Integer(); TimeSpentDead = reader.Integer(); MaximumKills = reader.Integer(); MaximumDeaths = reader.Integer(); reader.SanityCheck(Fields); }