pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "svc_ServerInfo" => Some(Self::SvcServerInfo),
            "svc_FlattenedSerializer" => Some(Self::SvcFlattenedSerializer),
            "svc_ClassInfo" => Some(Self::SvcClassInfo),
            "svc_SetPause" => Some(Self::SvcSetPause),
            "svc_CreateStringTable" => Some(Self::SvcCreateStringTable),
            "svc_UpdateStringTable" => Some(Self::SvcUpdateStringTable),
            "svc_VoiceInit" => Some(Self::SvcVoiceInit),
            "svc_VoiceData" => Some(Self::SvcVoiceData),
            "svc_Print" => Some(Self::SvcPrint),
            "svc_Sounds" => Some(Self::SvcSounds),
            "svc_SetView" => Some(Self::SvcSetView),
            "svc_ClearAllStringTables" => Some(Self::SvcClearAllStringTables),
            "svc_CmdKeyValues" => Some(Self::SvcCmdKeyValues),
            "svc_BSPDecal" => Some(Self::SvcBspDecal),
            "svc_SplitScreen" => Some(Self::SvcSplitScreen),
            "svc_PacketEntities" => Some(Self::SvcPacketEntities),
            "svc_Prefetch" => Some(Self::SvcPrefetch),
            "svc_Menu" => Some(Self::SvcMenu),
            "svc_GetCvarValue" => Some(Self::SvcGetCvarValue),
            "svc_StopSound" => Some(Self::SvcStopSound),
            "svc_PeerList" => Some(Self::SvcPeerList),
            "svc_PacketReliable" => Some(Self::SvcPacketReliable),
            "svc_HLTVStatus" => Some(Self::SvcHltvStatus),
            "svc_ServerSteamID" => Some(Self::SvcServerSteamId),
            "svc_FullFrameSplit" => Some(Self::SvcFullFrameSplit),
            "svc_RconServerDetails" => Some(Self::SvcRconServerDetails),
            "svc_UserMessage" => Some(Self::SvcUserMessage),
            "svc_Broadcast_Command" => Some(Self::SvcBroadcastCommand),
            "svc_HltvFixupOperatorStatus" => Some(Self::SvcHltvFixupOperatorStatus),
            "svc_UserCmds" => Some(Self::SvcUserCmds),
            _ => None,
        }
    }
Creates an enum from field names used in the ProtoBuf definition.
src/csgoproto/src/protobuf.rs