public Character(long id, DestinyClassDefinition classDef, long light, Inventory Inventory)
 {
     Id             = id;
     ClassType      = classDef.ClassType;
     Light          = light;
     this.Inventory = Inventory;
 }
示例#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;
 }