pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "RP_PAUSE" => Some(Self::RpPause),
            "RP_UNPAUSE" => Some(Self::RpUnpause),
            "RP_TOGGLEPAUSE" => Some(Self::RpTogglepause),
            _ => None,
        }
    }
Creates an enum from field names used in the ProtoBuf definition.
src/csgoproto/src/protobuf.rs