internal DestinyCharacterComponent(long membershipId, BungieMembershipType membershipType, long characterId, DateTime dateLastPlayed, long minutesPlayedThisSession, long minutesPlayedTotal, int light, Dictionary <uint, int> stats, uint raceHash, uint genderHash, uint classHash, DestinyRaceType raceType, DestinyClassType classType, DestinyGenderTypes genderType, string emblemPath, string emblemBackgroundPath, uint emblemHash, DestinyColor emblemColor, DestinyProgression levelProgression, int baseCharacterLevel, double percentToNextLevel, uint?titleRecordHash) { MembershipId = membershipId; MembershipType = membershipType; CharacterId = characterId; DateLastPlayed = dateLastPlayed; MinutesPlayedThisSession = minutesPlayedThisSession; MinutesPlayedTotal = minutesPlayedTotal; Light = light; Stats = stats.AsReadOnlyDictionaryWithDefinitionKeyOrEmpty <DestinyStatDefinition, int>(DefinitionsEnum.DestinyStatDefinition); Race = new DefinitionHashPointer <DestinyRaceDefinition>(raceHash, DefinitionsEnum.DestinyRaceDefinition); Gender = new DefinitionHashPointer <DestinyGenderDefinition>(genderHash, DefinitionsEnum.DestinyGenderDefinition); Class = new DefinitionHashPointer <DestinyClassDefinition>(classHash, DefinitionsEnum.DestinyClassDefinition); RaceType = raceType; ClassType = classType; GenderType = genderType; EmblemPath = emblemPath; EmblemBackgroundPath = emblemBackgroundPath; Emblem = new DefinitionHashPointer <DestinyInventoryItemDefinition>(emblemHash, DefinitionsEnum.DestinyInventoryItemDefinition); EmblemColor = emblemColor; LevelProgression = levelProgression; BaseCharacterLevel = baseCharacterLevel; PercentToNextLevel = percentToNextLevel; TitleRecord = new DefinitionHashPointer <DestinyRecordDefinition>(titleRecordHash, DefinitionsEnum.DestinyRecordDefinition); }
internal DestinyGenderDefinition(DestinyDefinitionDisplayProperties displayProperties, DestinyGenderTypes genderType, bool blacklisted, uint hash, int index, bool redacted) { DisplayProperties = displayProperties; GenderType = genderType; Blacklisted = blacklisted; Hash = hash; Index = index; Redacted = redacted; }