Exemple #1
0
 public CharacterData(Character character)
 {
     Name = character.CharacterName;
     ID = character.CharacterId;
     Corporation = new CorporationData {Name = character.CorporationName, ID = character.CorporationId};
     Corporation.alliance = new AllianceData {Name = character.AllianceName, ID = character.AllianceId};
 }
Exemple #2
0
 public CharacterData(Character character)
 {
     Name        = character.CharacterName;
     ID          = character.CharacterId;
     Corporation = new CorporationData {
         Name = character.CorporationName, ID = character.CorporationId
     };
     Corporation.alliance = new AllianceData {
         Name = character.AllianceName, ID = character.AllianceId
     };
 }