Exemplo n.º 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};
 }
Exemplo n.º 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
     };
 }