Ejemplo n.º 1
0
 public Character(long id, DestinyClassDefinition classDef, long light, Inventory Inventory)
 {
     Id             = id;
     ClassType      = classDef.ClassType;
     Light          = light;
     this.Inventory = Inventory;
 }
Ejemplo n.º 2
0
 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;
 }