Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (randomNationality == NAT_GERMANY) // if object is german
- {
- randomLastNames = randomLastNamesDEU; // set the surname pool to the german surname pool
- if (gender == Gender.Female) // if object is female
- randomFirstNames = randomFirstNamesFemaleDEU; // set first name pool to the german female first name pool
- else // if object is not female
- randomFirstNames = randomFirstNamesMaleDEU; // set first name pool to the german male first name pool
- }
- else if (randomNationality == NAT_ALBANIA) // if object is albanian
- {
- randomLastNames = randomLastNamesALB;
- if (gender == Gender.Female)
- randomFirstNames = randomFirstNamesFemaleALB;
- else
- randomFirstNames = randomFNamesMaleALB;
- }
- else if (randomNationality == NAT_CHINA) // if object is chinese
- {
- randomLastNames = randomLastNamesCHN;
- if (gender == Gender.Female)
- randomFirstNames = randomFirstNamesFemaleCHN;
- else
- randomFirstNames = randomFirstNamesMaleCHN;
- }
- else if (randomNationality == NAT_JAPAN) // if object is japanese
- {
- randomLastNames = randomLastNamesJPN;
- if (gender == Gender.Female)
- randomFirstNames = randomFirstNamesFemaleJPN;
- else
- randomFirstNames = randomFirstNamesMaleJPN;
- }
- else // if object is romanian
- {
- randomLastNames = randomLastNamesROU;
- if (gender == Gender.Female)
- randomFirstNames = randomFirstNamesFemaleROU;
- else
- randomFirstNames = randomFirstNamesMaleROU;
- }
Add Comment
Please, Sign In to add comment