pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "UM_AchievementEvent" => Some(Self::UmAchievementEvent),
            "UM_CloseCaption" => Some(Self::UmCloseCaption),
            "UM_CloseCaptionDirect" => Some(Self::UmCloseCaptionDirect),
            "UM_CurrentTimescale" => Some(Self::UmCurrentTimescale),
            "UM_DesiredTimescale" => Some(Self::UmDesiredTimescale),
            "UM_Fade" => Some(Self::UmFade),
            "UM_GameTitle" => Some(Self::UmGameTitle),
            "UM_HudMsg" => Some(Self::UmHudMsg),
            "UM_HudText" => Some(Self::UmHudText),
            "UM_ColoredText" => Some(Self::UmColoredText),
            "UM_RequestState" => Some(Self::UmRequestState),
            "UM_ResetHUD" => Some(Self::UmResetHud),
            "UM_Rumble" => Some(Self::UmRumble),
            "UM_SayText" => Some(Self::UmSayText),
            "UM_SayText2" => Some(Self::UmSayText2),
            "UM_SayTextChannel" => Some(Self::UmSayTextChannel),
            "UM_Shake" => Some(Self::UmShake),
            "UM_ShakeDir" => Some(Self::UmShakeDir),
            "UM_WaterShake" => Some(Self::UmWaterShake),
            "UM_TextMsg" => Some(Self::UmTextMsg),
            "UM_ScreenTilt" => Some(Self::UmScreenTilt),
            "UM_VoiceMask" => Some(Self::UmVoiceMask),
            "UM_SendAudio" => Some(Self::UmSendAudio),
            "UM_ItemPickup" => Some(Self::UmItemPickup),
            "UM_AmmoDenied" => Some(Self::UmAmmoDenied),
            "UM_ShowMenu" => Some(Self::UmShowMenu),
            "UM_CreditsMsg" => Some(Self::UmCreditsMsg),
            "UM_CloseCaptionPlaceholder" => Some(Self::UmCloseCaptionPlaceholder),
            "UM_CameraTransition" => Some(Self::UmCameraTransition),
            "UM_AudioParameter" => Some(Self::UmAudioParameter),
            "UM_ParticleManager" => Some(Self::UmParticleManager),
            "UM_HudError" => Some(Self::UmHudError),
            "UM_CustomGameEvent" => Some(Self::UmCustomGameEvent),
            "UM_AnimGraphUpdate" => Some(Self::UmAnimGraphUpdate),
            "UM_HapticsManagerPulse" => Some(Self::UmHapticsManagerPulse),
            "UM_HapticsManagerEffect" => Some(Self::UmHapticsManagerEffect),
            "UM_CommandQueueState" => Some(Self::UmCommandQueueState),
            "UM_UpdateCssClasses" => Some(Self::UmUpdateCssClasses),
            "UM_ServerFrameTime" => Some(Self::UmServerFrameTime),
            "UM_LagCompensationError" => Some(Self::UmLagCompensationError),
            "UM_RequestDllStatus" => Some(Self::UmRequestDllStatus),
            "UM_RequestUtilAction" => Some(Self::UmRequestUtilAction),
            "UM_UtilActionResponse" => Some(Self::UmUtilActionResponse),
            "UM_DllStatusResponse" => Some(Self::UmDllStatusResponse),
            "UM_RequestInventory" => Some(Self::UmRequestInventory),
            "UM_InventoryResponse" => Some(Self::UmInventoryResponse),
            "UM_RequestDiagnostic" => Some(Self::UmRequestDiagnostic),
            "UM_DiagnosticResponse" => Some(Self::UmDiagnosticResponse),
            "UM_ExtraUserData" => Some(Self::UmExtraUserData),
            "UM_NotifyResponseFound" => Some(Self::UmNotifyResponseFound),
            "UM_PlayResponseConditional" => Some(Self::UmPlayResponseConditional),
            "UM_MAX_BASE" => Some(Self::UmMaxBase),
            _ => None,
        }
    }
Creates an enum from field names used in the ProtoBuf definition.
src/csgoproto/src/protobuf.rs