示例#1
0
 public static string GetLastName()
 {
     return(_lastNames[RNG.Int(_lastNames.Length)]);
 }
示例#2
0
 public static string GetFirstName()
 {
     return(_firstNames[RNG.Int(_firstNames.Length)]);
 }
示例#3
0
 public static string GetMiddleName()
 {
     return(_middleNames[RNG.Int(_middleNames.Length)]);
 }
示例#4
0
 public static string GetFullName()
 {
     return($"{GetFirstName()} {(1 - _middleNameChance <= RNG.Float() ? GetMiddleName() : "")} {GetLastName()}");
 }