public Character(long id, DestinyClassDefinition classDef, long light, Inventory Inventory) { Id = id; ClassType = classDef.ClassType; Light = light; this.Inventory = Inventory; }
public Character(long characterId, DestinyCharacterComponent character, DestinyClassDefinition classDefinition, string baseUrl) { Id = characterId; Level = character.Level; PowerLevel = character.Light; ClassName = classDefinition.DisplayProperties.Name; ClassType = classDefinition.ClassType; EmblemPath = baseUrl + character.EmblemPath; }