pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "DIALOG_MSG" => Some(Self::DialogMsg),
            "DIALOG_MENU" => Some(Self::DialogMenu),
            "DIALOG_TEXT" => Some(Self::DialogText),
            "DIALOG_ENTRY" => Some(Self::DialogEntry),
            "DIALOG_ASKCONNECT" => Some(Self::DialogAskconnect),
            _ => None,
        }
    }
Creates an enum from field names used in the ProtoBuf definition.
src/csgoproto/src/protobuf.rs