pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "DEM_Error" => Some(Self::DemError),
            "DEM_Stop" => Some(Self::DemStop),
            "DEM_FileHeader" => Some(Self::DemFileHeader),
            "DEM_FileInfo" => Some(Self::DemFileInfo),
            "DEM_SyncTick" => Some(Self::DemSyncTick),
            "DEM_SendTables" => Some(Self::DemSendTables),
            "DEM_ClassInfo" => Some(Self::DemClassInfo),
            "DEM_StringTables" => Some(Self::DemStringTables),
            "DEM_Packet" => Some(Self::DemPacket),
            "DEM_SignonPacket" => Some(Self::DemSignonPacket),
            "DEM_ConsoleCmd" => Some(Self::DemConsoleCmd),
            "DEM_CustomData" => Some(Self::DemCustomData),
            "DEM_CustomDataCallbacks" => Some(Self::DemCustomDataCallbacks),
            "DEM_UserCmd" => Some(Self::DemUserCmd),
            "DEM_FullPacket" => Some(Self::DemFullPacket),
            "DEM_SaveGame" => Some(Self::DemSaveGame),
            "DEM_SpawnGroups" => Some(Self::DemSpawnGroups),
            "DEM_AnimationData" => Some(Self::DemAnimationData),
            "DEM_AnimationHeader" => Some(Self::DemAnimationHeader),
            "DEM_Recovery" => Some(Self::DemRecovery),
            "DEM_Max" => Some(Self::DemMax),
            "DEM_IsCompressed" => Some(Self::DemIsCompressed),
            _ => None,
        }
    }
Creates an enum from field names used in the ProtoBuf definition.
src/csgoproto/src/protobuf.rs