pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "REPLAY_EVENT_CANCEL" => Some(Self::ReplayEventCancel),
            "REPLAY_EVENT_DEATH" => Some(Self::ReplayEventDeath),
            "REPLAY_EVENT_GENERIC" => Some(Self::ReplayEventGeneric),
            "REPLAY_EVENT_STUCK_NEED_FULL_UPDATE" => Some(Self::ReplayEventStuckNeedFullUpdate),
            "REPLAY_EVENT_VICTORY" => Some(Self::ReplayEventVictory),
            _ => None,
        }
    }
Creates an enum from field names used in the ProtoBuf definition.
src/csgoproto/src/protobuf.rs