pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::NetworkDisconnectInvalid => "NETWORK_DISCONNECT_INVALID",
            Self::NetworkDisconnectShutdown => "NETWORK_DISCONNECT_SHUTDOWN",
            Self::NetworkDisconnectDisconnectByUser => "NETWORK_DISCONNECT_DISCONNECT_BY_USER",
            Self::NetworkDisconnectDisconnectByServer => "NETWORK_DISCONNECT_DISCONNECT_BY_SERVER",
            Self::NetworkDisconnectLost => "NETWORK_DISCONNECT_LOST",
            Self::NetworkDisconnectOverflow => "NETWORK_DISCONNECT_OVERFLOW",
            Self::NetworkDisconnectSteamBanned => "NETWORK_DISCONNECT_STEAM_BANNED",
            Self::NetworkDisconnectSteamInuse => "NETWORK_DISCONNECT_STEAM_INUSE",
            Self::NetworkDisconnectSteamTicket => "NETWORK_DISCONNECT_STEAM_TICKET",
            Self::NetworkDisconnectSteamLogon => "NETWORK_DISCONNECT_STEAM_LOGON",
            Self::NetworkDisconnectSteamAuthcancelled => "NETWORK_DISCONNECT_STEAM_AUTHCANCELLED",
            Self::NetworkDisconnectSteamAuthalreadyused => "NETWORK_DISCONNECT_STEAM_AUTHALREADYUSED",
            Self::NetworkDisconnectSteamAuthinvalid => "NETWORK_DISCONNECT_STEAM_AUTHINVALID",
            Self::NetworkDisconnectSteamVacbanstate => "NETWORK_DISCONNECT_STEAM_VACBANSTATE",
            Self::NetworkDisconnectSteamLoggedInElsewhere => "NETWORK_DISCONNECT_STEAM_LOGGED_IN_ELSEWHERE",
            Self::NetworkDisconnectSteamVacCheckTimedout => "NETWORK_DISCONNECT_STEAM_VAC_CHECK_TIMEDOUT",
            Self::NetworkDisconnectSteamDropped => "NETWORK_DISCONNECT_STEAM_DROPPED",
            Self::NetworkDisconnectSteamOwnership => "NETWORK_DISCONNECT_STEAM_OWNERSHIP",
            Self::NetworkDisconnectServerinfoOverflow => "NETWORK_DISCONNECT_SERVERINFO_OVERFLOW",
            Self::NetworkDisconnectTickmsgOverflow => "NETWORK_DISCONNECT_TICKMSG_OVERFLOW",
            Self::NetworkDisconnectStringtablemsgOverflow => "NETWORK_DISCONNECT_STRINGTABLEMSG_OVERFLOW",
            Self::NetworkDisconnectDeltaentmsgOverflow => "NETWORK_DISCONNECT_DELTAENTMSG_OVERFLOW",
            Self::NetworkDisconnectTempentmsgOverflow => "NETWORK_DISCONNECT_TEMPENTMSG_OVERFLOW",
            Self::NetworkDisconnectSoundsmsgOverflow => "NETWORK_DISCONNECT_SOUNDSMSG_OVERFLOW",
            Self::NetworkDisconnectSnapshotoverflow => "NETWORK_DISCONNECT_SNAPSHOTOVERFLOW",
            Self::NetworkDisconnectSnapshoterror => "NETWORK_DISCONNECT_SNAPSHOTERROR",
            Self::NetworkDisconnectReliableoverflow => "NETWORK_DISCONNECT_RELIABLEOVERFLOW",
            Self::NetworkDisconnectBaddeltatick => "NETWORK_DISCONNECT_BADDELTATICK",
            Self::NetworkDisconnectNomoresplits => "NETWORK_DISCONNECT_NOMORESPLITS",
            Self::NetworkDisconnectTimedout => "NETWORK_DISCONNECT_TIMEDOUT",
            Self::NetworkDisconnectDisconnected => "NETWORK_DISCONNECT_DISCONNECTED",
            Self::NetworkDisconnectLeavingsplit => "NETWORK_DISCONNECT_LEAVINGSPLIT",
            Self::NetworkDisconnectDifferentclasstables => "NETWORK_DISCONNECT_DIFFERENTCLASSTABLES",
            Self::NetworkDisconnectBadrelaypassword => "NETWORK_DISCONNECT_BADRELAYPASSWORD",
            Self::NetworkDisconnectBadspectatorpassword => "NETWORK_DISCONNECT_BADSPECTATORPASSWORD",
            Self::NetworkDisconnectHltvrestricted => "NETWORK_DISCONNECT_HLTVRESTRICTED",
            Self::NetworkDisconnectNospectators => "NETWORK_DISCONNECT_NOSPECTATORS",
            Self::NetworkDisconnectHltvunavailable => "NETWORK_DISCONNECT_HLTVUNAVAILABLE",
            Self::NetworkDisconnectHltvstop => "NETWORK_DISCONNECT_HLTVSTOP",
            Self::NetworkDisconnectKicked => "NETWORK_DISCONNECT_KICKED",
            Self::NetworkDisconnectBanadded => "NETWORK_DISCONNECT_BANADDED",
            Self::NetworkDisconnectKickbanadded => "NETWORK_DISCONNECT_KICKBANADDED",
            Self::NetworkDisconnectHltvdirect => "NETWORK_DISCONNECT_HLTVDIRECT",
            Self::NetworkDisconnectPureserverClientextra => "NETWORK_DISCONNECT_PURESERVER_CLIENTEXTRA",
            Self::NetworkDisconnectPureserverMismatch => "NETWORK_DISCONNECT_PURESERVER_MISMATCH",
            Self::NetworkDisconnectUsercmd => "NETWORK_DISCONNECT_USERCMD",
            Self::NetworkDisconnectRejectedByGame => "NETWORK_DISCONNECT_REJECTED_BY_GAME",
            Self::NetworkDisconnectMessageParseError => "NETWORK_DISCONNECT_MESSAGE_PARSE_ERROR",
            Self::NetworkDisconnectInvalidMessageError => "NETWORK_DISCONNECT_INVALID_MESSAGE_ERROR",
            Self::NetworkDisconnectBadServerPassword => "NETWORK_DISCONNECT_BAD_SERVER_PASSWORD",
            Self::NetworkDisconnectDirectConnectReservation => "NETWORK_DISCONNECT_DIRECT_CONNECT_RESERVATION",
            Self::NetworkDisconnectConnectionFailure => "NETWORK_DISCONNECT_CONNECTION_FAILURE",
            Self::NetworkDisconnectNoPeerGroupHandlers => "NETWORK_DISCONNECT_NO_PEER_GROUP_HANDLERS",
            Self::NetworkDisconnectReconnection => "NETWORK_DISCONNECT_RECONNECTION",
            Self::NetworkDisconnectLoopshutdown => "NETWORK_DISCONNECT_LOOPSHUTDOWN",
            Self::NetworkDisconnectLoopdeactivate => "NETWORK_DISCONNECT_LOOPDEACTIVATE",
            Self::NetworkDisconnectHostEndgame => "NETWORK_DISCONNECT_HOST_ENDGAME",
            Self::NetworkDisconnectLoopLevelloadActivate => "NETWORK_DISCONNECT_LOOP_LEVELLOAD_ACTIVATE",
            Self::NetworkDisconnectCreateServerFailed => "NETWORK_DISCONNECT_CREATE_SERVER_FAILED",
            Self::NetworkDisconnectExiting => "NETWORK_DISCONNECT_EXITING",
            Self::NetworkDisconnectRequestHoststateIdle => "NETWORK_DISCONNECT_REQUEST_HOSTSTATE_IDLE",
            Self::NetworkDisconnectRequestHoststateHltvrelay => "NETWORK_DISCONNECT_REQUEST_HOSTSTATE_HLTVRELAY",
            Self::NetworkDisconnectClientConsistencyFail => "NETWORK_DISCONNECT_CLIENT_CONSISTENCY_FAIL",
            Self::NetworkDisconnectClientUnableToCrcMap => "NETWORK_DISCONNECT_CLIENT_UNABLE_TO_CRC_MAP",
            Self::NetworkDisconnectClientNoMap => "NETWORK_DISCONNECT_CLIENT_NO_MAP",
            Self::NetworkDisconnectClientDifferentMap => "NETWORK_DISCONNECT_CLIENT_DIFFERENT_MAP",
            Self::NetworkDisconnectServerRequiresSteam => "NETWORK_DISCONNECT_SERVER_REQUIRES_STEAM",
            Self::NetworkDisconnectSteamDenyMisc => "NETWORK_DISCONNECT_STEAM_DENY_MISC",
            Self::NetworkDisconnectSteamDenyBadAntiCheat => "NETWORK_DISCONNECT_STEAM_DENY_BAD_ANTI_CHEAT",
            Self::NetworkDisconnectServerShutdown => "NETWORK_DISCONNECT_SERVER_SHUTDOWN",
            Self::NetworkDisconnectReplayIncompatible => "NETWORK_DISCONNECT_REPLAY_INCOMPATIBLE",
            Self::NetworkDisconnectConnectRequestTimedout => "NETWORK_DISCONNECT_CONNECT_REQUEST_TIMEDOUT",
            Self::NetworkDisconnectServerIncompatible => "NETWORK_DISCONNECT_SERVER_INCOMPATIBLE",
            Self::NetworkDisconnectLocalproblemManyrelays => "NETWORK_DISCONNECT_LOCALPROBLEM_MANYRELAYS",
            Self::NetworkDisconnectLocalproblemHostedserverprimaryrelay => "NETWORK_DISCONNECT_LOCALPROBLEM_HOSTEDSERVERPRIMARYRELAY",
            Self::NetworkDisconnectLocalproblemNetworkconfig => "NETWORK_DISCONNECT_LOCALPROBLEM_NETWORKCONFIG",
            Self::NetworkDisconnectLocalproblemOther => "NETWORK_DISCONNECT_LOCALPROBLEM_OTHER",
            Self::NetworkDisconnectRemoteTimeout => "NETWORK_DISCONNECT_REMOTE_TIMEOUT",
            Self::NetworkDisconnectRemoteTimeoutConnecting => "NETWORK_DISCONNECT_REMOTE_TIMEOUT_CONNECTING",
            Self::NetworkDisconnectRemoteOther => "NETWORK_DISCONNECT_REMOTE_OTHER",
            Self::NetworkDisconnectRemoteBadcrypt => "NETWORK_DISCONNECT_REMOTE_BADCRYPT",
            Self::NetworkDisconnectRemoteCertnottrusted => "NETWORK_DISCONNECT_REMOTE_CERTNOTTRUSTED",
            Self::NetworkDisconnectUnusual => "NETWORK_DISCONNECT_UNUSUAL",
            Self::NetworkDisconnectInternalError => "NETWORK_DISCONNECT_INTERNAL_ERROR",
            Self::NetworkDisconnectRejectBadchallenge => "NETWORK_DISCONNECT_REJECT_BADCHALLENGE",
            Self::NetworkDisconnectRejectNolobby => "NETWORK_DISCONNECT_REJECT_NOLOBBY",
            Self::NetworkDisconnectRejectBackgroundMap => "NETWORK_DISCONNECT_REJECT_BACKGROUND_MAP",
            Self::NetworkDisconnectRejectSinglePlayer => "NETWORK_DISCONNECT_REJECT_SINGLE_PLAYER",
            Self::NetworkDisconnectRejectHiddenGame => "NETWORK_DISCONNECT_REJECT_HIDDEN_GAME",
            Self::NetworkDisconnectRejectLanrestrict => "NETWORK_DISCONNECT_REJECT_LANRESTRICT",
            Self::NetworkDisconnectRejectBadpassword => "NETWORK_DISCONNECT_REJECT_BADPASSWORD",
            Self::NetworkDisconnectRejectServerfull => "NETWORK_DISCONNECT_REJECT_SERVERFULL",
            Self::NetworkDisconnectRejectInvalidreservation => "NETWORK_DISCONNECT_REJECT_INVALIDRESERVATION",
            Self::NetworkDisconnectRejectFailedchannel => "NETWORK_DISCONNECT_REJECT_FAILEDCHANNEL",
            Self::NetworkDisconnectRejectConnectFromLobby => "NETWORK_DISCONNECT_REJECT_CONNECT_FROM_LOBBY",
            Self::NetworkDisconnectRejectReservedForLobby => "NETWORK_DISCONNECT_REJECT_RESERVED_FOR_LOBBY",
            Self::NetworkDisconnectRejectInvalidkeylength => "NETWORK_DISCONNECT_REJECT_INVALIDKEYLENGTH",
            Self::NetworkDisconnectRejectOldprotocol => "NETWORK_DISCONNECT_REJECT_OLDPROTOCOL",
            Self::NetworkDisconnectRejectNewprotocol => "NETWORK_DISCONNECT_REJECT_NEWPROTOCOL",
            Self::NetworkDisconnectRejectInvalidconnection => "NETWORK_DISCONNECT_REJECT_INVALIDCONNECTION",
            Self::NetworkDisconnectRejectInvalidcertlen => "NETWORK_DISCONNECT_REJECT_INVALIDCERTLEN",
            Self::NetworkDisconnectRejectInvalidsteamcertlen => "NETWORK_DISCONNECT_REJECT_INVALIDSTEAMCERTLEN",
            Self::NetworkDisconnectRejectSteam => "NETWORK_DISCONNECT_REJECT_STEAM",
            Self::NetworkDisconnectRejectServerauthdisabled => "NETWORK_DISCONNECT_REJECT_SERVERAUTHDISABLED",
            Self::NetworkDisconnectRejectServercdkeyauthinvalid => "NETWORK_DISCONNECT_REJECT_SERVERCDKEYAUTHINVALID",
            Self::NetworkDisconnectRejectBanned => "NETWORK_DISCONNECT_REJECT_BANNED",
            Self::NetworkDisconnectKickedTeamkilling => "NETWORK_DISCONNECT_KICKED_TEAMKILLING",
            Self::NetworkDisconnectKickedTkStart => "NETWORK_DISCONNECT_KICKED_TK_START",
            Self::NetworkDisconnectKickedUntrustedaccount => "NETWORK_DISCONNECT_KICKED_UNTRUSTEDACCOUNT",
            Self::NetworkDisconnectKickedConvictedaccount => "NETWORK_DISCONNECT_KICKED_CONVICTEDACCOUNT",
            Self::NetworkDisconnectKickedCompetitivecooldown => "NETWORK_DISCONNECT_KICKED_COMPETITIVECOOLDOWN",
            Self::NetworkDisconnectKickedTeamhurting => "NETWORK_DISCONNECT_KICKED_TEAMHURTING",
            Self::NetworkDisconnectKickedHostagekilling => "NETWORK_DISCONNECT_KICKED_HOSTAGEKILLING",
            Self::NetworkDisconnectKickedVotedoff => "NETWORK_DISCONNECT_KICKED_VOTEDOFF",
            Self::NetworkDisconnectKickedIdle => "NETWORK_DISCONNECT_KICKED_IDLE",
            Self::NetworkDisconnectKickedSuicide => "NETWORK_DISCONNECT_KICKED_SUICIDE",
            Self::NetworkDisconnectKickedNosteamlogin => "NETWORK_DISCONNECT_KICKED_NOSTEAMLOGIN",
            Self::NetworkDisconnectKickedNosteamticket => "NETWORK_DISCONNECT_KICKED_NOSTEAMTICKET",
            Self::NetworkDisconnectKickedInputautomation => "NETWORK_DISCONNECT_KICKED_INPUTAUTOMATION",
            Self::NetworkDisconnectKickedVacnetabnormalbehavior => "NETWORK_DISCONNECT_KICKED_VACNETABNORMALBEHAVIOR",
            Self::NetworkDisconnectKickedInsecureclient => "NETWORK_DISCONNECT_KICKED_INSECURECLIENT",
        }
    }
String value of the enum field names used in the ProtoBuf definition.

The values are not transformed in any way and thus are considered stable
(if the ProtoBuf definition does not change) and safe for programmatic use.
src/csgoproto/src/protobuf.rs