pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "EASY" => Some(Self::Easy),
            "MEDIUM" => Some(Self::Medium),
            "HARD" => Some(Self::Hard),
            "TROLL" => Some(Self::Troll),
            _ => None,
        }
    }
Creates an enum from field names used in the ProtoBuf definition.
crates/sdk/src/network/proto/network.rs