public Summoner(DbDataReader dataReader) { Reader reader = new Reader(dataReader); Id = reader.Integer(); Region = reader.String().ToRegionType(); 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(Reader reader) { InternalGameId = reader.Integer(); Map = reader.String().ToMapType(); GameMode = reader.String().ToGameModeType(); GameTime = reader.Time(); reader.SanityCheck(GetExtendedFields()); }
public SummonerRating(DbDataReader dataReader) { Reader reader = new Reader(dataReader); Map = reader.String().ToMapType(); GameMode = reader.String().ToGameModeType(); Wins = reader.Integer(); Losses = reader.Integer(); Leaves = reader.Integer(); CurrentRating = reader.MaybeInteger(); TopRating = reader.MaybeInteger(); reader.SanityCheck(Fields); }
public AggregatedChampionStatistics(DbDataReader dataReader) { Reader reader = new Reader(dataReader); 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(NpgsqlDataReader dataReader) { Reader reader = new Reader(dataReader); Id = reader.Integer(); GameId = reader.Integer(); Map = reader.String().ToMapType(); GameMode = reader.String().ToGameModeType(); GameTime = reader.Time(); Team1Won = reader.Boolean(); Team1Id = reader.Integer(); Team2Id = reader.Integer(); reader.SanityCheck(Fields); }
public SummonerRankedStatistics(DbDataReader dataReader) { Reader reader = new Reader(dataReader); 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); }
protected virtual void PerformExtendedReading(Reader reader) { reader.SanityCheck(Fields); }