Files
Radicade/Server/RecNet/Generators.cs
T
2026-10-16 23:33:13 -07:00

88 lines
1.4 KiB
C#

namespace RadicadeServer.RecNet
{
public class Generators
{
public readonly static string[] Adjectives = [
"Brilliant",
"Calm",
"Curious",
"Delightful",
"Elegant",
"Fierce",
"Gentle",
"Honest",
"Imaginative",
"Joyful",
"Keen",
"Lively",
"Mysterious",
"Nimble",
"Optimistic",
"Playful",
"Quiet",
"Resilient",
"Thoughtful",
"Vivid",
"Adventurous",
"Bold",
"Charming",
"Confident",
"Creative",
"Daring",
"Energetic",
"Friendly",
"Graceful",
"Humble",
"Insightful",
"Loyal",
"Motivated",
"Patient",
"Reliable",
"Smart",
"Strong",
"Versatile",
"Warm",
"Wise"
];
public readonly static string[] Animals = [
"Bear",
"Cat",
"Dolphin",
"Eagle",
"Fox",
"Giraffe",
"Horse",
"Kangaroo",
"Lion",
"Monkey",
"Narwhal",
"Owl",
"Panda",
"Rabbit",
"Shark",
"Tiger",
"Vulture",
"Wolf",
"Zebra",
"Alligator",
"Cheetah",
"Elephant",
"Falcon",
"Goat",
"Koala",
"Leopard",
"Penguin",
"Raccoon",
"Seal",
"Turtle"
];
public static string GenerateUsername()
{
string adjective = Adjectives[Random.Shared.Next(0, Adjectives.Length - 1)];
string animal = Animals[Random.Shared.Next(0, Animals.Length - 1)];
return adjective + animal + Random.Shared.Next(0, 9999).ToString();
}
}
}