node-cs2
Version:
Modern CS2/CS:GO Game Coordinator integration with latest GameTracking-CS2 protobuf definitions. Includes support for highlight_reel, variations, and all modern CS2 fields.
865 lines (814 loc) • 3.97 MB
JavaScript
/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/
(function(global, factory) { /* global define, require, module */
/* AMD */ if (typeof define === 'function' && define.amd)
define(["protobufjs/minimal"], factory);
/* CommonJS */ else if (typeof require === 'function' && typeof module === 'object' && module && module.exports)
module.exports = factory(require("protobufjs/minimal"));
})(this, function($protobuf) {
"use strict";
// Common aliases
var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;
// Exported root namespace
var $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {});
/**
* ECsgoGCMsg enum.
* @exports ECsgoGCMsg
* @enum {number}
* @property {number} k_EMsgGCCStrike15_v2_Base=9100 k_EMsgGCCStrike15_v2_Base value
* @property {number} k_EMsgGCCStrike15_v2_MatchmakingStart=9101 k_EMsgGCCStrike15_v2_MatchmakingStart value
* @property {number} k_EMsgGCCStrike15_v2_MatchmakingStop=9102 k_EMsgGCCStrike15_v2_MatchmakingStop value
* @property {number} k_EMsgGCCStrike15_v2_MatchmakingClient2ServerPing=9103 k_EMsgGCCStrike15_v2_MatchmakingClient2ServerPing value
* @property {number} k_EMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate=9104 k_EMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate value
* @property {number} k_EMsgGCCStrike15_v2_MatchmakingServerReservationResponse=9106 k_EMsgGCCStrike15_v2_MatchmakingServerReservationResponse value
* @property {number} k_EMsgGCCStrike15_v2_MatchmakingGC2ClientReserve=9107 k_EMsgGCCStrike15_v2_MatchmakingGC2ClientReserve value
* @property {number} k_EMsgGCCStrike15_v2_MatchmakingClient2GCHello=9109 k_EMsgGCCStrike15_v2_MatchmakingClient2GCHello value
* @property {number} k_EMsgGCCStrike15_v2_MatchmakingGC2ClientHello=9110 k_EMsgGCCStrike15_v2_MatchmakingGC2ClientHello value
* @property {number} k_EMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon=9112 k_EMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon value
* @property {number} k_EMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate=9117 k_EMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate value
* @property {number} k_EMsgGCCStrike15_v2_ServerNotificationForUserPenalty=9118 k_EMsgGCCStrike15_v2_ServerNotificationForUserPenalty value
* @property {number} k_EMsgGCCStrike15_v2_ClientReportPlayer=9119 k_EMsgGCCStrike15_v2_ClientReportPlayer value
* @property {number} k_EMsgGCCStrike15_v2_ClientReportServer=9120 k_EMsgGCCStrike15_v2_ClientReportServer value
* @property {number} k_EMsgGCCStrike15_v2_ClientCommendPlayer=9121 k_EMsgGCCStrike15_v2_ClientCommendPlayer value
* @property {number} k_EMsgGCCStrike15_v2_ClientReportResponse=9122 k_EMsgGCCStrike15_v2_ClientReportResponse value
* @property {number} k_EMsgGCCStrike15_v2_ClientCommendPlayerQuery=9123 k_EMsgGCCStrike15_v2_ClientCommendPlayerQuery value
* @property {number} k_EMsgGCCStrike15_v2_ClientCommendPlayerQueryResponse=9124 k_EMsgGCCStrike15_v2_ClientCommendPlayerQueryResponse value
* @property {number} k_EMsgGCCStrike15_v2_WatchInfoUsers=9126 k_EMsgGCCStrike15_v2_WatchInfoUsers value
* @property {number} k_EMsgGCCStrike15_v2_ClientRequestPlayersProfile=9127 k_EMsgGCCStrike15_v2_ClientRequestPlayersProfile value
* @property {number} k_EMsgGCCStrike15_v2_PlayersProfile=9128 k_EMsgGCCStrike15_v2_PlayersProfile value
* @property {number} k_EMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate=9131 k_EMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate value
* @property {number} k_EMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment=9132 k_EMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment value
* @property {number} k_EMsgGCCStrike15_v2_PlayerOverwatchCaseStatus=9133 k_EMsgGCCStrike15_v2_PlayerOverwatchCaseStatus value
* @property {number} k_EMsgGCCStrike15_v2_GC2ClientTextMsg=9134 k_EMsgGCCStrike15_v2_GC2ClientTextMsg value
* @property {number} k_EMsgGCCStrike15_v2_Client2GCTextMsg=9135 k_EMsgGCCStrike15_v2_Client2GCTextMsg value
* @property {number} k_EMsgGCCStrike15_v2_MatchEndRunRewardDrops=9136 k_EMsgGCCStrike15_v2_MatchEndRunRewardDrops value
* @property {number} k_EMsgGCCStrike15_v2_MatchEndRewardDropsNotification=9137 k_EMsgGCCStrike15_v2_MatchEndRewardDropsNotification value
* @property {number} k_EMsgGCCStrike15_v2_ClientRequestWatchInfoFriends2=9138 k_EMsgGCCStrike15_v2_ClientRequestWatchInfoFriends2 value
* @property {number} k_EMsgGCCStrike15_v2_MatchList=9139 k_EMsgGCCStrike15_v2_MatchList value
* @property {number} k_EMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames=9140 k_EMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames value
* @property {number} k_EMsgGCCStrike15_v2_MatchListRequestRecentUserGames=9141 k_EMsgGCCStrike15_v2_MatchListRequestRecentUserGames value
* @property {number} k_EMsgGCCStrike15_v2_GC2ServerReservationUpdate=9142 k_EMsgGCCStrike15_v2_GC2ServerReservationUpdate value
* @property {number} k_EMsgGCCStrike15_v2_ClientVarValueNotificationInfo=9144 k_EMsgGCCStrike15_v2_ClientVarValueNotificationInfo value
* @property {number} k_EMsgGCCStrike15_v2_MatchListRequestTournamentGames=9146 k_EMsgGCCStrike15_v2_MatchListRequestTournamentGames value
* @property {number} k_EMsgGCCStrike15_v2_MatchListRequestFullGameInfo=9147 k_EMsgGCCStrike15_v2_MatchListRequestFullGameInfo value
* @property {number} k_EMsgGCCStrike15_v2_GiftsLeaderboardRequest=9148 k_EMsgGCCStrike15_v2_GiftsLeaderboardRequest value
* @property {number} k_EMsgGCCStrike15_v2_GiftsLeaderboardResponse=9149 k_EMsgGCCStrike15_v2_GiftsLeaderboardResponse value
* @property {number} k_EMsgGCCStrike15_v2_ServerVarValueNotificationInfo=9150 k_EMsgGCCStrike15_v2_ServerVarValueNotificationInfo value
* @property {number} k_EMsgGCCStrike15_v2_ClientSubmitSurveyVote=9152 k_EMsgGCCStrike15_v2_ClientSubmitSurveyVote value
* @property {number} k_EMsgGCCStrike15_v2_Server2GCClientValidate=9153 k_EMsgGCCStrike15_v2_Server2GCClientValidate value
* @property {number} k_EMsgGCCStrike15_v2_MatchListRequestLiveGameForUser=9154 k_EMsgGCCStrike15_v2_MatchListRequestLiveGameForUser value
* @property {number} k_EMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest=9156 k_EMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest value
* @property {number} k_EMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse=9157 k_EMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse value
* @property {number} k_EMsgGCCStrike15_v2_AccountPrivacySettings=9158 k_EMsgGCCStrike15_v2_AccountPrivacySettings value
* @property {number} k_EMsgGCCStrike15_v2_SetMyActivityInfo=9159 k_EMsgGCCStrike15_v2_SetMyActivityInfo value
* @property {number} k_EMsgGCCStrike15_v2_MatchListRequestTournamentPredictions=9160 k_EMsgGCCStrike15_v2_MatchListRequestTournamentPredictions value
* @property {number} k_EMsgGCCStrike15_v2_MatchListUploadTournamentPredictions=9161 k_EMsgGCCStrike15_v2_MatchListUploadTournamentPredictions value
* @property {number} k_EMsgGCCStrike15_v2_DraftSummary=9162 k_EMsgGCCStrike15_v2_DraftSummary value
* @property {number} k_EMsgGCCStrike15_v2_ClientRequestJoinFriendData=9163 k_EMsgGCCStrike15_v2_ClientRequestJoinFriendData value
* @property {number} k_EMsgGCCStrike15_v2_ClientRequestJoinServerData=9164 k_EMsgGCCStrike15_v2_ClientRequestJoinServerData value
* @property {number} k_EMsgGCCStrike15_v2_GC2ClientTournamentInfo=9167 k_EMsgGCCStrike15_v2_GC2ClientTournamentInfo value
* @property {number} k_EMsgGC_GlobalGame_Subscribe=9168 k_EMsgGC_GlobalGame_Subscribe value
* @property {number} k_EMsgGC_GlobalGame_Unsubscribe=9169 k_EMsgGC_GlobalGame_Unsubscribe value
* @property {number} k_EMsgGC_GlobalGame_Play=9170 k_EMsgGC_GlobalGame_Play value
* @property {number} k_EMsgGCCStrike15_v2_AcknowledgePenalty=9171 k_EMsgGCCStrike15_v2_AcknowledgePenalty value
* @property {number} k_EMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin=9172 k_EMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin value
* @property {number} k_EMsgGCCStrike15_v2_GC2ClientGlobalStats=9173 k_EMsgGCCStrike15_v2_GC2ClientGlobalStats value
* @property {number} k_EMsgGCCStrike15_v2_Client2GCStreamUnlock=9174 k_EMsgGCCStrike15_v2_Client2GCStreamUnlock value
* @property {number} k_EMsgGCCStrike15_v2_FantasyRequestClientData=9175 k_EMsgGCCStrike15_v2_FantasyRequestClientData value
* @property {number} k_EMsgGCCStrike15_v2_FantasyUpdateClientData=9176 k_EMsgGCCStrike15_v2_FantasyUpdateClientData value
* @property {number} k_EMsgGCCStrike15_v2_GCToClientSteamdatagramTicket=9177 k_EMsgGCCStrike15_v2_GCToClientSteamdatagramTicket value
* @property {number} k_EMsgGCCStrike15_v2_ClientToGCRequestTicket=9178 k_EMsgGCCStrike15_v2_ClientToGCRequestTicket value
* @property {number} k_EMsgGCCStrike15_v2_ClientToGCRequestElevate=9179 k_EMsgGCCStrike15_v2_ClientToGCRequestElevate value
* @property {number} k_EMsgGCCStrike15_v2_GlobalChat=9180 k_EMsgGCCStrike15_v2_GlobalChat value
* @property {number} k_EMsgGCCStrike15_v2_GlobalChat_Subscribe=9181 k_EMsgGCCStrike15_v2_GlobalChat_Subscribe value
* @property {number} k_EMsgGCCStrike15_v2_GlobalChat_Unsubscribe=9182 k_EMsgGCCStrike15_v2_GlobalChat_Unsubscribe value
* @property {number} k_EMsgGCCStrike15_v2_ClientAuthKeyCode=9183 k_EMsgGCCStrike15_v2_ClientAuthKeyCode value
* @property {number} k_EMsgGCCStrike15_v2_GotvSyncPacket=9184 k_EMsgGCCStrike15_v2_GotvSyncPacket value
* @property {number} k_EMsgGCCStrike15_v2_ClientPlayerDecalSign=9185 k_EMsgGCCStrike15_v2_ClientPlayerDecalSign value
* @property {number} k_EMsgGCCStrike15_v2_ClientLogonFatalError=9187 k_EMsgGCCStrike15_v2_ClientLogonFatalError value
* @property {number} k_EMsgGCCStrike15_v2_ClientPollState=9188 k_EMsgGCCStrike15_v2_ClientPollState value
* @property {number} k_EMsgGCCStrike15_v2_Party_Register=9189 k_EMsgGCCStrike15_v2_Party_Register value
* @property {number} k_EMsgGCCStrike15_v2_Party_Unregister=9190 k_EMsgGCCStrike15_v2_Party_Unregister value
* @property {number} k_EMsgGCCStrike15_v2_Party_Search=9191 k_EMsgGCCStrike15_v2_Party_Search value
* @property {number} k_EMsgGCCStrike15_v2_Party_Invite=9192 k_EMsgGCCStrike15_v2_Party_Invite value
* @property {number} k_EMsgGCCStrike15_v2_Account_RequestCoPlays=9193 k_EMsgGCCStrike15_v2_Account_RequestCoPlays value
* @property {number} k_EMsgGCCStrike15_v2_ClientGCRankUpdate=9194 k_EMsgGCCStrike15_v2_ClientGCRankUpdate value
* @property {number} k_EMsgGCCStrike15_v2_ClientRequestOffers=9195 k_EMsgGCCStrike15_v2_ClientRequestOffers value
* @property {number} k_EMsgGCCStrike15_v2_ClientAccountBalance=9196 k_EMsgGCCStrike15_v2_ClientAccountBalance value
* @property {number} k_EMsgGCCStrike15_v2_ClientPartyJoinRelay=9197 k_EMsgGCCStrike15_v2_ClientPartyJoinRelay value
* @property {number} k_EMsgGCCStrike15_v2_ClientPartyWarning=9198 k_EMsgGCCStrike15_v2_ClientPartyWarning value
* @property {number} k_EMsgGCCStrike15_v2_SetEventFavorite=9200 k_EMsgGCCStrike15_v2_SetEventFavorite value
* @property {number} k_EMsgGCCStrike15_v2_GetEventFavorites_Request=9201 k_EMsgGCCStrike15_v2_GetEventFavorites_Request value
* @property {number} k_EMsgGCCStrike15_v2_ClientPerfReport=9202 k_EMsgGCCStrike15_v2_ClientPerfReport value
* @property {number} k_EMsgGCCStrike15_v2_GetEventFavorites_Response=9203 k_EMsgGCCStrike15_v2_GetEventFavorites_Response value
* @property {number} k_EMsgGCCStrike15_v2_ClientRequestSouvenir=9204 k_EMsgGCCStrike15_v2_ClientRequestSouvenir value
* @property {number} k_EMsgGCCStrike15_v2_ClientReportValidation=9205 k_EMsgGCCStrike15_v2_ClientReportValidation value
* @property {number} k_EMsgGCCStrike15_v2_GC2ClientRefuseSecureMode=9206 k_EMsgGCCStrike15_v2_GC2ClientRefuseSecureMode value
* @property {number} k_EMsgGCCStrike15_v2_GC2ClientRequestValidation=9207 k_EMsgGCCStrike15_v2_GC2ClientRequestValidation value
* @property {number} k_EMsgGCCStrike15_v2_ClientRedeemMissionReward=9209 k_EMsgGCCStrike15_v2_ClientRedeemMissionReward value
* @property {number} k_EMsgGCCStrike15_ClientDeepStats=9210 k_EMsgGCCStrike15_ClientDeepStats value
* @property {number} k_EMsgGCCStrike15_StartAgreementSessionInGame=9211 k_EMsgGCCStrike15_StartAgreementSessionInGame value
* @property {number} k_EMsgGCCStrike15_v2_GC2ClientInitSystem=9212 k_EMsgGCCStrike15_v2_GC2ClientInitSystem value
* @property {number} k_EMsgGCCStrike15_v2_GC2ClientInitSystem_Response=9213 k_EMsgGCCStrike15_v2_GC2ClientInitSystem_Response value
* @property {number} k_EMsgGCCStrike15_v2_PrivateQueues=9214 k_EMsgGCCStrike15_v2_PrivateQueues value
* @property {number} k_EMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt=9215 k_EMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt value
* @property {number} k_EMsgGCCStrike15_v2_BetaEnrollment=9217 k_EMsgGCCStrike15_v2_BetaEnrollment value
* @property {number} k_EMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName=9218 k_EMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName value
* @property {number} k_EMsgGCCStrike15_v2_ClientRedeemFreeReward=9219 k_EMsgGCCStrike15_v2_ClientRedeemFreeReward value
* @property {number} k_EMsgGCCStrike15_v2_ClientNetworkConfig=9220 k_EMsgGCCStrike15_v2_ClientNetworkConfig value
* @property {number} k_EMsgGCCStrike15_v2_GC2ClientNotifyXPShop=9221 k_EMsgGCCStrike15_v2_GC2ClientNotifyXPShop value
* @property {number} k_EMsgGCCStrike15_v2_Client2GcAckXPShopTracks=9222 k_EMsgGCCStrike15_v2_Client2GcAckXPShopTracks value
* @property {number} k_EMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats=9223 k_EMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats value
* @property {number} k_EMsgGCCStrike15_v2_PremierSeasonSummary=9224 k_EMsgGCCStrike15_v2_PremierSeasonSummary value
* @property {number} k_EMsgGCCStrike15_v2_RequestRecurringMissionSchedule=9225 k_EMsgGCCStrike15_v2_RequestRecurringMissionSchedule value
* @property {number} k_EMsgGCCStrike15_v2_RecurringMissionSchema=9226 k_EMsgGCCStrike15_v2_RecurringMissionSchema value
*/
$root.ECsgoGCMsg = (function() {
var valuesById = {}, values = Object.create(valuesById);
values[valuesById[9100] = "k_EMsgGCCStrike15_v2_Base"] = 9100;
values[valuesById[9101] = "k_EMsgGCCStrike15_v2_MatchmakingStart"] = 9101;
values[valuesById[9102] = "k_EMsgGCCStrike15_v2_MatchmakingStop"] = 9102;
values[valuesById[9103] = "k_EMsgGCCStrike15_v2_MatchmakingClient2ServerPing"] = 9103;
values[valuesById[9104] = "k_EMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate"] = 9104;
values[valuesById[9106] = "k_EMsgGCCStrike15_v2_MatchmakingServerReservationResponse"] = 9106;
values[valuesById[9107] = "k_EMsgGCCStrike15_v2_MatchmakingGC2ClientReserve"] = 9107;
values[valuesById[9109] = "k_EMsgGCCStrike15_v2_MatchmakingClient2GCHello"] = 9109;
values[valuesById[9110] = "k_EMsgGCCStrike15_v2_MatchmakingGC2ClientHello"] = 9110;
values[valuesById[9112] = "k_EMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon"] = 9112;
values[valuesById[9117] = "k_EMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate"] = 9117;
values[valuesById[9118] = "k_EMsgGCCStrike15_v2_ServerNotificationForUserPenalty"] = 9118;
values[valuesById[9119] = "k_EMsgGCCStrike15_v2_ClientReportPlayer"] = 9119;
values[valuesById[9120] = "k_EMsgGCCStrike15_v2_ClientReportServer"] = 9120;
values[valuesById[9121] = "k_EMsgGCCStrike15_v2_ClientCommendPlayer"] = 9121;
values[valuesById[9122] = "k_EMsgGCCStrike15_v2_ClientReportResponse"] = 9122;
values[valuesById[9123] = "k_EMsgGCCStrike15_v2_ClientCommendPlayerQuery"] = 9123;
values[valuesById[9124] = "k_EMsgGCCStrike15_v2_ClientCommendPlayerQueryResponse"] = 9124;
values[valuesById[9126] = "k_EMsgGCCStrike15_v2_WatchInfoUsers"] = 9126;
values[valuesById[9127] = "k_EMsgGCCStrike15_v2_ClientRequestPlayersProfile"] = 9127;
values[valuesById[9128] = "k_EMsgGCCStrike15_v2_PlayersProfile"] = 9128;
values[valuesById[9131] = "k_EMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate"] = 9131;
values[valuesById[9132] = "k_EMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment"] = 9132;
values[valuesById[9133] = "k_EMsgGCCStrike15_v2_PlayerOverwatchCaseStatus"] = 9133;
values[valuesById[9134] = "k_EMsgGCCStrike15_v2_GC2ClientTextMsg"] = 9134;
values[valuesById[9135] = "k_EMsgGCCStrike15_v2_Client2GCTextMsg"] = 9135;
values[valuesById[9136] = "k_EMsgGCCStrike15_v2_MatchEndRunRewardDrops"] = 9136;
values[valuesById[9137] = "k_EMsgGCCStrike15_v2_MatchEndRewardDropsNotification"] = 9137;
values[valuesById[9138] = "k_EMsgGCCStrike15_v2_ClientRequestWatchInfoFriends2"] = 9138;
values[valuesById[9139] = "k_EMsgGCCStrike15_v2_MatchList"] = 9139;
values[valuesById[9140] = "k_EMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames"] = 9140;
values[valuesById[9141] = "k_EMsgGCCStrike15_v2_MatchListRequestRecentUserGames"] = 9141;
values[valuesById[9142] = "k_EMsgGCCStrike15_v2_GC2ServerReservationUpdate"] = 9142;
values[valuesById[9144] = "k_EMsgGCCStrike15_v2_ClientVarValueNotificationInfo"] = 9144;
values[valuesById[9146] = "k_EMsgGCCStrike15_v2_MatchListRequestTournamentGames"] = 9146;
values[valuesById[9147] = "k_EMsgGCCStrike15_v2_MatchListRequestFullGameInfo"] = 9147;
values[valuesById[9148] = "k_EMsgGCCStrike15_v2_GiftsLeaderboardRequest"] = 9148;
values[valuesById[9149] = "k_EMsgGCCStrike15_v2_GiftsLeaderboardResponse"] = 9149;
values[valuesById[9150] = "k_EMsgGCCStrike15_v2_ServerVarValueNotificationInfo"] = 9150;
values[valuesById[9152] = "k_EMsgGCCStrike15_v2_ClientSubmitSurveyVote"] = 9152;
values[valuesById[9153] = "k_EMsgGCCStrike15_v2_Server2GCClientValidate"] = 9153;
values[valuesById[9154] = "k_EMsgGCCStrike15_v2_MatchListRequestLiveGameForUser"] = 9154;
values[valuesById[9156] = "k_EMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest"] = 9156;
values[valuesById[9157] = "k_EMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse"] = 9157;
values[valuesById[9158] = "k_EMsgGCCStrike15_v2_AccountPrivacySettings"] = 9158;
values[valuesById[9159] = "k_EMsgGCCStrike15_v2_SetMyActivityInfo"] = 9159;
values[valuesById[9160] = "k_EMsgGCCStrike15_v2_MatchListRequestTournamentPredictions"] = 9160;
values[valuesById[9161] = "k_EMsgGCCStrike15_v2_MatchListUploadTournamentPredictions"] = 9161;
values[valuesById[9162] = "k_EMsgGCCStrike15_v2_DraftSummary"] = 9162;
values[valuesById[9163] = "k_EMsgGCCStrike15_v2_ClientRequestJoinFriendData"] = 9163;
values[valuesById[9164] = "k_EMsgGCCStrike15_v2_ClientRequestJoinServerData"] = 9164;
values[valuesById[9167] = "k_EMsgGCCStrike15_v2_GC2ClientTournamentInfo"] = 9167;
values[valuesById[9168] = "k_EMsgGC_GlobalGame_Subscribe"] = 9168;
values[valuesById[9169] = "k_EMsgGC_GlobalGame_Unsubscribe"] = 9169;
values[valuesById[9170] = "k_EMsgGC_GlobalGame_Play"] = 9170;
values[valuesById[9171] = "k_EMsgGCCStrike15_v2_AcknowledgePenalty"] = 9171;
values[valuesById[9172] = "k_EMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin"] = 9172;
values[valuesById[9173] = "k_EMsgGCCStrike15_v2_GC2ClientGlobalStats"] = 9173;
values[valuesById[9174] = "k_EMsgGCCStrike15_v2_Client2GCStreamUnlock"] = 9174;
values[valuesById[9175] = "k_EMsgGCCStrike15_v2_FantasyRequestClientData"] = 9175;
values[valuesById[9176] = "k_EMsgGCCStrike15_v2_FantasyUpdateClientData"] = 9176;
values[valuesById[9177] = "k_EMsgGCCStrike15_v2_GCToClientSteamdatagramTicket"] = 9177;
values[valuesById[9178] = "k_EMsgGCCStrike15_v2_ClientToGCRequestTicket"] = 9178;
values[valuesById[9179] = "k_EMsgGCCStrike15_v2_ClientToGCRequestElevate"] = 9179;
values[valuesById[9180] = "k_EMsgGCCStrike15_v2_GlobalChat"] = 9180;
values[valuesById[9181] = "k_EMsgGCCStrike15_v2_GlobalChat_Subscribe"] = 9181;
values[valuesById[9182] = "k_EMsgGCCStrike15_v2_GlobalChat_Unsubscribe"] = 9182;
values[valuesById[9183] = "k_EMsgGCCStrike15_v2_ClientAuthKeyCode"] = 9183;
values[valuesById[9184] = "k_EMsgGCCStrike15_v2_GotvSyncPacket"] = 9184;
values[valuesById[9185] = "k_EMsgGCCStrike15_v2_ClientPlayerDecalSign"] = 9185;
values[valuesById[9187] = "k_EMsgGCCStrike15_v2_ClientLogonFatalError"] = 9187;
values[valuesById[9188] = "k_EMsgGCCStrike15_v2_ClientPollState"] = 9188;
values[valuesById[9189] = "k_EMsgGCCStrike15_v2_Party_Register"] = 9189;
values[valuesById[9190] = "k_EMsgGCCStrike15_v2_Party_Unregister"] = 9190;
values[valuesById[9191] = "k_EMsgGCCStrike15_v2_Party_Search"] = 9191;
values[valuesById[9192] = "k_EMsgGCCStrike15_v2_Party_Invite"] = 9192;
values[valuesById[9193] = "k_EMsgGCCStrike15_v2_Account_RequestCoPlays"] = 9193;
values[valuesById[9194] = "k_EMsgGCCStrike15_v2_ClientGCRankUpdate"] = 9194;
values[valuesById[9195] = "k_EMsgGCCStrike15_v2_ClientRequestOffers"] = 9195;
values[valuesById[9196] = "k_EMsgGCCStrike15_v2_ClientAccountBalance"] = 9196;
values[valuesById[9197] = "k_EMsgGCCStrike15_v2_ClientPartyJoinRelay"] = 9197;
values[valuesById[9198] = "k_EMsgGCCStrike15_v2_ClientPartyWarning"] = 9198;
values[valuesById[9200] = "k_EMsgGCCStrike15_v2_SetEventFavorite"] = 9200;
values[valuesById[9201] = "k_EMsgGCCStrike15_v2_GetEventFavorites_Request"] = 9201;
values[valuesById[9202] = "k_EMsgGCCStrike15_v2_ClientPerfReport"] = 9202;
values[valuesById[9203] = "k_EMsgGCCStrike15_v2_GetEventFavorites_Response"] = 9203;
values[valuesById[9204] = "k_EMsgGCCStrike15_v2_ClientRequestSouvenir"] = 9204;
values[valuesById[9205] = "k_EMsgGCCStrike15_v2_ClientReportValidation"] = 9205;
values[valuesById[9206] = "k_EMsgGCCStrike15_v2_GC2ClientRefuseSecureMode"] = 9206;
values[valuesById[9207] = "k_EMsgGCCStrike15_v2_GC2ClientRequestValidation"] = 9207;
values[valuesById[9209] = "k_EMsgGCCStrike15_v2_ClientRedeemMissionReward"] = 9209;
values[valuesById[9210] = "k_EMsgGCCStrike15_ClientDeepStats"] = 9210;
values[valuesById[9211] = "k_EMsgGCCStrike15_StartAgreementSessionInGame"] = 9211;
values[valuesById[9212] = "k_EMsgGCCStrike15_v2_GC2ClientInitSystem"] = 9212;
values[valuesById[9213] = "k_EMsgGCCStrike15_v2_GC2ClientInitSystem_Response"] = 9213;
values[valuesById[9214] = "k_EMsgGCCStrike15_v2_PrivateQueues"] = 9214;
values[valuesById[9215] = "k_EMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt"] = 9215;
values[valuesById[9217] = "k_EMsgGCCStrike15_v2_BetaEnrollment"] = 9217;
values[valuesById[9218] = "k_EMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName"] = 9218;
values[valuesById[9219] = "k_EMsgGCCStrike15_v2_ClientRedeemFreeReward"] = 9219;
values[valuesById[9220] = "k_EMsgGCCStrike15_v2_ClientNetworkConfig"] = 9220;
values[valuesById[9221] = "k_EMsgGCCStrike15_v2_GC2ClientNotifyXPShop"] = 9221;
values[valuesById[9222] = "k_EMsgGCCStrike15_v2_Client2GcAckXPShopTracks"] = 9222;
values[valuesById[9223] = "k_EMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats"] = 9223;
values[valuesById[9224] = "k_EMsgGCCStrike15_v2_PremierSeasonSummary"] = 9224;
values[valuesById[9225] = "k_EMsgGCCStrike15_v2_RequestRecurringMissionSchedule"] = 9225;
values[valuesById[9226] = "k_EMsgGCCStrike15_v2_RecurringMissionSchema"] = 9226;
return values;
})();
/**
* ECsgoSteamUserStat enum.
* @exports ECsgoSteamUserStat
* @enum {number}
* @property {number} k_ECsgoSteamUserStat_XpEarnedGames=1 k_ECsgoSteamUserStat_XpEarnedGames value
* @property {number} k_ECsgoSteamUserStat_MatchWinsCompetitive=2 k_ECsgoSteamUserStat_MatchWinsCompetitive value
* @property {number} k_ECsgoSteamUserStat_SurvivedDangerZone=3 k_ECsgoSteamUserStat_SurvivedDangerZone value
*/
$root.ECsgoSteamUserStat = (function() {
var valuesById = {}, values = Object.create(valuesById);
values[valuesById[1] = "k_ECsgoSteamUserStat_XpEarnedGames"] = 1;
values[valuesById[2] = "k_ECsgoSteamUserStat_MatchWinsCompetitive"] = 2;
values[valuesById[3] = "k_ECsgoSteamUserStat_SurvivedDangerZone"] = 3;
return values;
})();
/**
* QuestType enum.
* @exports QuestType
* @enum {number}
* @property {number} k_EQuestType_Operation=1 k_EQuestType_Operation value
* @property {number} k_EQuestType_RecurringMission=2 k_EQuestType_RecurringMission value
*/
$root.QuestType = (function() {
var valuesById = {}, values = Object.create(valuesById);
values[valuesById[1] = "k_EQuestType_Operation"] = 1;
values[valuesById[2] = "k_EQuestType_RecurringMission"] = 2;
return values;
})();
/**
* EClientReportingVersion enum.
* @exports EClientReportingVersion
* @enum {number}
* @property {number} k_EClientReportingVersion_OldVersion=0 k_EClientReportingVersion_OldVersion value
* @property {number} k_EClientReportingVersion_BetaVersion=1 k_EClientReportingVersion_BetaVersion value
* @property {number} k_EClientReportingVersion_SupportsTrustedMode=2 k_EClientReportingVersion_SupportsTrustedMode value
*/
$root.EClientReportingVersion = (function() {
var valuesById = {}, values = Object.create(valuesById);
values[valuesById[0] = "k_EClientReportingVersion_OldVersion"] = 0;
values[valuesById[1] = "k_EClientReportingVersion_BetaVersion"] = 1;
values[valuesById[2] = "k_EClientReportingVersion_SupportsTrustedMode"] = 2;
return values;
})();
/**
* EInitSystemResult enum.
* @exports EInitSystemResult
* @enum {number}
* @property {number} k_EInitSystemResult_Invalid=0 k_EInitSystemResult_Invalid value
* @property {number} k_EInitSystemResult_Success=1 k_EInitSystemResult_Success value
* @property {number} k_EInitSystemResult_None=2 k_EInitSystemResult_None value
* @property {number} k_EInitSystemResult_NotFound=3 k_EInitSystemResult_NotFound value
* @property {number} k_EInitSystemResult_Existing=4 k_EInitSystemResult_Existing value
* @property {number} k_EInitSystemResult_FailedOpen=5 k_EInitSystemResult_FailedOpen value
* @property {number} k_EInitSystemResult_Mismatch=6 k_EInitSystemResult_Mismatch value
* @property {number} k_EInitSystemResult_FailedInit=7 k_EInitSystemResult_FailedInit value
* @property {number} k_EInitSystemResult_Max=8 k_EInitSystemResult_Max value
*/
$root.EInitSystemResult = (function() {
var valuesById = {}, values = Object.create(valuesById);
values[valuesById[0] = "k_EInitSystemResult_Invalid"] = 0;
values[valuesById[1] = "k_EInitSystemResult_Success"] = 1;
values[valuesById[2] = "k_EInitSystemResult_None"] = 2;
values[valuesById[3] = "k_EInitSystemResult_NotFound"] = 3;
values[valuesById[4] = "k_EInitSystemResult_Existing"] = 4;
values[valuesById[5] = "k_EInitSystemResult_FailedOpen"] = 5;
values[valuesById[6] = "k_EInitSystemResult_Mismatch"] = 6;
values[valuesById[7] = "k_EInitSystemResult_FailedInit"] = 7;
values[valuesById[8] = "k_EInitSystemResult_Max"] = 8;
return values;
})();
$root.GameServerPing = (function() {
/**
* Properties of a GameServerPing.
* @exports IGameServerPing
* @interface IGameServerPing
* @property {number|null} [ping] GameServerPing ping
* @property {number|null} [ip] GameServerPing ip
* @property {number|null} [instances] GameServerPing instances
*/
/**
* Constructs a new GameServerPing.
* @exports GameServerPing
* @classdesc Represents a GameServerPing.
* @implements IGameServerPing
* @constructor
* @param {IGameServerPing=} [properties] Properties to set
*/
function GameServerPing(properties) {
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
this[keys[i]] = properties[keys[i]];
}
/**
* GameServerPing ping.
* @member {number} ping
* @memberof GameServerPing
* @instance
*/
GameServerPing.prototype.ping = 0;
/**
* GameServerPing ip.
* @member {number} ip
* @memberof GameServerPing
* @instance
*/
GameServerPing.prototype.ip = 0;
/**
* GameServerPing instances.
* @member {number} instances
* @memberof GameServerPing
* @instance
*/
GameServerPing.prototype.instances = 0;
/**
* Creates a new GameServerPing instance using the specified properties.
* @function create
* @memberof GameServerPing
* @static
* @param {IGameServerPing=} [properties] Properties to set
* @returns {GameServerPing} GameServerPing instance
*/
GameServerPing.create = function create(properties) {
return new GameServerPing(properties);
};
/**
* Encodes the specified GameServerPing message. Does not implicitly {@link GameServerPing.verify|verify} messages.
* @function encode
* @memberof GameServerPing
* @static
* @param {IGameServerPing} message GameServerPing message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
GameServerPing.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
if (message.ping != null && Object.hasOwnProperty.call(message, "ping"))
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.ping);
if (message.ip != null && Object.hasOwnProperty.call(message, "ip"))
writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.ip);
if (message.instances != null && Object.hasOwnProperty.call(message, "instances"))
writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.instances);
return writer;
};
/**
* Encodes the specified GameServerPing message, length delimited. Does not implicitly {@link GameServerPing.verify|verify} messages.
* @function encodeDelimited
* @memberof GameServerPing
* @static
* @param {IGameServerPing} message GameServerPing message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
GameServerPing.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
* Decodes a GameServerPing message from the specified reader or buffer.
* @function decode
* @memberof GameServerPing
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
* @returns {GameServerPing} GameServerPing
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
GameServerPing.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GameServerPing();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
break;
switch (tag >>> 3) {
case 2: {
message.ping = reader.int32();
break;
}
case 3: {
message.ip = reader.uint32();
break;
}
case 5: {
message.instances = reader.uint32();
break;
}
default:
reader.skipType(tag & 7);
break;
}
}
return message;
};
/**
* Decodes a GameServerPing message from the specified reader or buffer, length delimited.
* @function decodeDelimited
* @memberof GameServerPing
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @returns {GameServerPing} GameServerPing
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
GameServerPing.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
* Verifies a GameServerPing message.
* @function verify
* @memberof GameServerPing
* @static
* @param {Object.<string,*>} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
GameServerPing.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
if (message.ping != null && message.hasOwnProperty("ping"))
if (!$util.isInteger(message.ping))
return "ping: integer expected";
if (message.ip != null && message.hasOwnProperty("ip"))
if (!$util.isInteger(message.ip))
return "ip: integer expected";
if (message.instances != null && message.hasOwnProperty("instances"))
if (!$util.isInteger(message.instances))
return "instances: integer expected";
return null;
};
/**
* Creates a GameServerPing message from a plain object. Also converts values to their respective internal types.
* @function fromObject
* @memberof GameServerPing
* @static
* @param {Object.<string,*>} object Plain object
* @returns {GameServerPing} GameServerPing
*/
GameServerPing.fromObject = function fromObject(object) {
if (object instanceof $root.GameServerPing)
return object;
var message = new $root.GameServerPing();
if (object.ping != null)
message.ping = object.ping | 0;
if (object.ip != null)
message.ip = object.ip >>> 0;
if (object.instances != null)
message.instances = object.instances >>> 0;
return message;
};
/**
* Creates a plain object from a GameServerPing message. Also converts values to other types if specified.
* @function toObject
* @memberof GameServerPing
* @static
* @param {GameServerPing} message GameServerPing
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.<string,*>} Plain object
*/
GameServerPing.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
if (options.defaults) {
object.ping = 0;
object.ip = 0;
object.instances = 0;
}
if (message.ping != null && message.hasOwnProperty("ping"))
object.ping = message.ping;
if (message.ip != null && message.hasOwnProperty("ip"))
object.ip = message.ip;
if (message.instances != null && message.hasOwnProperty("instances"))
object.instances = message.instances;
return object;
};
/**
* Converts this GameServerPing to JSON.
* @function toJSON
* @memberof GameServerPing
* @instance
* @returns {Object.<string,*>} JSON object
*/
GameServerPing.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
/**
* Gets the default type url for GameServerPing
* @function getTypeUrl
* @memberof GameServerPing
* @static
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns {string} The default type url
*/
GameServerPing.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
if (typeUrlPrefix === undefined) {
typeUrlPrefix = "type.googleapis.com";
}
return typeUrlPrefix + "/GameServerPing";
};
return GameServerPing;
})();
$root.DataCenterPing = (function() {
/**
* Properties of a DataCenterPing.
* @exports IDataCenterPing
* @interface IDataCenterPing
* @property {number|null} [data_center_id] DataCenterPing data_center_id
* @property {number|null} [ping] DataCenterPing ping
*/
/**
* Constructs a new DataCenterPing.
* @exports DataCenterPing
* @classdesc Represents a DataCenterPing.
* @implements IDataCenterPing
* @constructor
* @param {IDataCenterPing=} [properties] Properties to set
*/
function DataCenterPing(properties) {
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
this[keys[i]] = properties[keys[i]];
}
/**
* DataCenterPing data_center_id.
* @member {number} data_center_id
* @memberof DataCenterPing
* @instance
*/
DataCenterPing.prototype.data_center_id = 0;
/**
* DataCenterPing ping.
* @member {number} ping
* @memberof DataCenterPing
* @instance
*/
DataCenterPing.prototype.ping = 0;
/**
* Creates a new DataCenterPing instance using the specified properties.
* @function create
* @memberof DataCenterPing
* @static
* @param {IDataCenterPing=} [properties] Properties to set
* @returns {DataCenterPing} DataCenterPing instance
*/
DataCenterPing.create = function create(properties) {
return new DataCenterPing(properties);
};
/**
* Encodes the specified DataCenterPing message. Does not implicitly {@link DataCenterPing.verify|verify} messages.
* @function encode
* @memberof DataCenterPing
* @static
* @param {IDataCenterPing} message DataCenterPing message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
DataCenterPing.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
if (message.data_center_id != null && Object.hasOwnProperty.call(message, "data_center_id"))
writer.uint32(/* id 1, wireType 5 =*/13).fixed32(message.data_center_id);
if (message.ping != null && Object.hasOwnProperty.call(message, "ping"))
writer.uint32(/* id 2, wireType 0 =*/16).sint32(message.ping);
return writer;
};
/**
* Encodes the specified DataCenterPing message, length delimited. Does not implicitly {@link DataCenterPing.verify|verify} messages.
* @function encodeDelimited
* @memberof DataCenterPing
* @static
* @param {IDataCenterPing} message DataCenterPing message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
DataCenterPing.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
* Decodes a DataCenterPing message from the specified reader or buffer.
* @function decode
* @memberof DataCenterPing
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
* @returns {DataCenterPing} DataCenterPing
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
DataCenterPing.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.DataCenterPing();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
break;
switch (tag >>> 3) {
case 1: {
message.data_center_id = reader.fixed32();
break;
}
case 2: {
message.ping = reader.sint32();
break;
}
default:
reader.skipType(tag & 7);
break;
}
}
return message;
};
/**
* Decodes a DataCenterPing message from the specified reader or buffer, length delimited.
* @function decodeDelimited
* @memberof DataCenterPing
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @returns {DataCenterPing} DataCenterPing
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
DataCenterPing.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
* Verifies a DataCenterPing message.
* @function verify
* @memberof DataCenterPing
* @static
* @param {Object.<string,*>} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
DataCenterPing.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
if (message.data_center_id != null && message.hasOwnProperty("data_center_id"))
if (!$util.isInteger(message.data_center_id))
return "data_center_id: integer expected";
if (message.ping != null && message.hasOwnProperty("ping"))
if (!$util.isInteger(message.ping))
return "ping: integer expected";
return null;
};
/**
* Creates a DataCenterPing message from a plain object. Also converts values to their respective internal types.
* @function fromObject
* @memberof DataCenterPing
* @static
* @param {Object.<string,*>} object Plain object
* @returns {DataCenterPing} DataCenterPing
*/
DataCenterPing.fromObject = function fromObject(object) {
if (object instanceof $root.DataCenterPing)
return object;
var message = new $root.DataCenterPing();
if (object.data_center_id != null)
message.data_center_id = object.data_center_id >>> 0;
if (object.ping != null)
message.ping = object.ping | 0;
return message;
};
/**
* Creates a plain object from a DataCenterPing message. Also converts values to other types if specified.
* @function toObject
* @memberof DataCenterPing
* @static
* @param {DataCenterPing} message DataCenterPing
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.<string,*>} Plain object
*/
DataCenterPing.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
if (options.defaults) {
object.data_center_id = 0;
object.ping = 0;
}
if (message.data_center_id != null && message.hasOwnProperty("data_center_id"))
object.data_center_id = message.data_center_id;
if (message.ping != null && message.hasOwnProperty("ping"))
object.ping = message.ping;
return object;
};
/**
* Converts this DataCenterPing to JSON.
* @function toJSON
* @memberof DataCenterPing
* @instance
* @returns {Object.<string,*>} JSON object
*/
DataCenterPing.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
/**
* Gets the default type url for DataCenterPing
* @function getTypeUrl
* @memberof DataCenterPing
* @static
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns {string} The default type url
*/
DataCenterPing.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
if (typeUrlPrefix === undefined) {
typeUrlPrefix = "type.googleapis.com";
}
return typeUrlPrefix + "/DataCenterPing";
};
return DataCenterPing;
})();
$root.DetailedSearchStatistic = (function() {
/**
* Properties of a DetailedSearchStatistic.
* @exports IDetailedSearchStatistic
* @interface IDetailedSearchStatistic
* @property {number|null} [game_type] DetailedSearchStatistic game_type
* @property {number|null} [search_time_avg] DetailedSearchStatistic search_time_avg
* @property {number|null} [players_searching] DetailedSearchStatistic players_searching
*/
/**
* Constructs a new DetailedSearchStatistic.
* @exports DetailedSearchStatistic
* @classdesc Represents a DetailedSearchStatistic.
* @implements IDetailedSearchStatistic
* @constructor
* @param {IDetailedSearchStatistic=} [properties] Properties to set
*/
function DetailedSearchStatistic(properties) {
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
this[keys[i]] = properties[keys[i]];
}
/**
* DetailedSearchStatistic game_type.
* @member {number} game_type
* @memberof DetailedSearchStatistic
* @instance
*/
DetailedSearchStatistic.prototype.game_type = 0;
/**
* DetailedSearchStatistic search_time_avg.
* @member {number} search_time_avg
* @memberof DetailedSearchStatistic
* @instance
*/
DetailedSearchStatistic.prototype.search_time_avg = 0;
/**
* DetailedSearchStatistic players_searching.
* @member {number} players_searching
* @memberof DetailedSearchStatistic
* @instance
*/
DetailedSearchStatistic.prototype.players_searching = 0;
/**
* Creates a new DetailedSearchStatistic instance using the specified properties.
* @function create
* @memberof DetailedSearchStatistic
* @static
* @param {IDetailedSearchStatistic=} [properties] Properties to set
* @returns {DetailedSearchStatistic} DetailedSearchStatistic instance
*/
DetailedSearchStatistic.create = function create(properties) {
return new DetailedSearchStatistic(properties);
};
/**
* Encodes the specified DetailedSearchStatistic message. Does not implicitly {@link DetailedSearchStatistic.verify|verify} messages.
* @function encode
* @memberof DetailedSearchStatistic
* @static
* @param {IDetailedSearchStatistic} me