tf2
Version:
Exposes a simple API for interacting with the Team Fortress 2 game coordinator
690 lines (665 loc) • 4.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"] = {});
/**
* ETFGCMsg enum.
* @exports ETFGCMsg
* @enum {string}
* @property {number} k_EMsgGCReportWarKill=5001 k_EMsgGCReportWarKill value
* @property {number} k_EMsgGCVoteKickBanPlayer=5018 k_EMsgGCVoteKickBanPlayer value
* @property {number} k_EMsgGCVoteKickBanPlayerResult=5019 k_EMsgGCVoteKickBanPlayerResult value
* @property {number} k_EMsgGCKickPlayer_DEPRECATED=5020 k_EMsgGCKickPlayer_DEPRECATED value
* @property {number} k_EMsgGCStartedTraining_DEPRECATED=5021 k_EMsgGCStartedTraining_DEPRECATED value
* @property {number} k_EMsgGCFreeTrial_ChooseMostHelpfulFriend=5022 k_EMsgGCFreeTrial_ChooseMostHelpfulFriend value
* @property {number} k_EMsgGCRequestTF2Friends=5023 k_EMsgGCRequestTF2Friends value
* @property {number} k_EMsgGCRequestTF2FriendsResponse=5024 k_EMsgGCRequestTF2FriendsResponse value
* @property {number} k_EMsgGCReplay_SubmitContestEntry=5026 k_EMsgGCReplay_SubmitContestEntry value
* @property {number} k_EMsgGCReplay_SubmitContestEntryResponse=5027 k_EMsgGCReplay_SubmitContestEntryResponse value
* @property {number} k_EMsgGCSaxxy_Awarded=5029 k_EMsgGCSaxxy_Awarded value
* @property {number} k_EMsgGCFreeTrial_ThankedBySomeone=5028 k_EMsgGCFreeTrial_ThankedBySomeone value
* @property {number} k_EMsgGCFreeTrial_ThankedSomeone=5030 k_EMsgGCFreeTrial_ThankedSomeone value
* @property {number} k_EMsgGCFreeTrial_ConvertedToPremium=5031 k_EMsgGCFreeTrial_ConvertedToPremium value
* @property {number} k_EMsgGCMeetThePyroSilliness_BananaCraft_DEPRECATED=5032 k_EMsgGCMeetThePyroSilliness_BananaCraft_DEPRECATED value
* @property {number} k_EMsgGCMVMARG_HighFiveSuccessResponse_DEPRECATED=5033 k_EMsgGCMVMARG_HighFiveSuccessResponse_DEPRECATED value
* @property {number} k_EMsgGCMVMARG_HighFiveOnClient_DEPRECATED=5034 k_EMsgGCMVMARG_HighFiveOnClient_DEPRECATED value
* @property {number} k_EMsgGCCoaching_AddToCoaches=5200 k_EMsgGCCoaching_AddToCoaches value
* @property {number} k_EMsgGCCoaching_AddToCoachesResponse=5201 k_EMsgGCCoaching_AddToCoachesResponse value
* @property {number} k_EMsgGCCoaching_RemoveFromCoaches=5202 k_EMsgGCCoaching_RemoveFromCoaches value
* @property {number} k_EMsgGCCoaching_RemoveFromCoachesResponse=5203 k_EMsgGCCoaching_RemoveFromCoachesResponse value
* @property {number} k_EMsgGCCoaching_FindCoach=5204 k_EMsgGCCoaching_FindCoach value
* @property {number} k_EMsgGCCoaching_FindCoachResponse=5205 k_EMsgGCCoaching_FindCoachResponse value
* @property {number} k_EMsgGCCoaching_AskCoach=5206 k_EMsgGCCoaching_AskCoach value
* @property {number} k_EMsgGCCoaching_AskCoachResponse=5207 k_EMsgGCCoaching_AskCoachResponse value
* @property {number} k_EMsgGCCoaching_CoachJoinGame=5208 k_EMsgGCCoaching_CoachJoinGame value
* @property {number} k_EMsgGCCoaching_CoachJoining=5209 k_EMsgGCCoaching_CoachJoining value
* @property {number} k_EMsgGCCoaching_CoachJoined=5210 k_EMsgGCCoaching_CoachJoined value
* @property {number} k_EMsgGCCoaching_LikeCurrentCoach=5211 k_EMsgGCCoaching_LikeCurrentCoach value
* @property {number} k_EMsgGCCoaching_RemoveCurrentCoach=5212 k_EMsgGCCoaching_RemoveCurrentCoach value
* @property {number} k_EMsgGCCoaching_AlreadyRatedCoach=5213 k_EMsgGCCoaching_AlreadyRatedCoach value
* @property {number} k_EMsgGC_Duel_Request=5500 k_EMsgGC_Duel_Request value
* @property {number} k_EMsgGC_Duel_Response=5501 k_EMsgGC_Duel_Response value
* @property {number} k_EMsgGC_Duel_Results=5502 k_EMsgGC_Duel_Results value
* @property {number} k_EMsgGC_Duel_Status=5503 k_EMsgGC_Duel_Status value
* @property {number} k_EMsgGC_Halloween_ReservedItem_DEPRECATED=5600 k_EMsgGC_Halloween_ReservedItem_DEPRECATED value
* @property {number} k_EMsgGC_Halloween_GrantItem_DEPRECATED=5601 k_EMsgGC_Halloween_GrantItem_DEPRECATED value
* @property {number} k_EMsgGC_Halloween_GrantItemResponse_DEPRECATED=5604 k_EMsgGC_Halloween_GrantItemResponse_DEPRECATED value
* @property {number} k_EMsgGC_Halloween_Cheat_QueryResponse_DEPRECATED=5605 k_EMsgGC_Halloween_Cheat_QueryResponse_DEPRECATED value
* @property {number} k_EMsgGC_Halloween_ItemClaimed_DEPRECATED=5606 k_EMsgGC_Halloween_ItemClaimed_DEPRECATED value
* @property {number} k_EMsgGC_Halloween_ReservedItem=5607 k_EMsgGC_Halloween_ReservedItem value
* @property {number} k_EMsgGC_Halloween_GrantItem=5608 k_EMsgGC_Halloween_GrantItem value
* @property {number} k_EMsgGC_Halloween_GrantItemResponse=5609 k_EMsgGC_Halloween_GrantItemResponse value
* @property {number} k_EMsgGC_Halloween_Cheat_QueryResponse_DEPRECATED_2=5610 k_EMsgGC_Halloween_Cheat_QueryResponse_DEPRECATED_2 value
* @property {number} k_EMsgGC_Halloween_ItemClaimed_DEPRECATED_2=5611 k_EMsgGC_Halloween_ItemClaimed_DEPRECATED_2 value
* @property {number} k_EMsgGC_Halloween_ServerBossEvent=5612 k_EMsgGC_Halloween_ServerBossEvent value
* @property {number} k_EMsgGC_Halloween_Merasmus2012=5613 k_EMsgGC_Halloween_Merasmus2012 value
* @property {number} k_EMsgGC_Halloween_UpdateMerasmusLootLevel=5614 k_EMsgGC_Halloween_UpdateMerasmusLootLevel value
* @property {number} k_EMsgGC_GameServer_LevelInfo=5700 k_EMsgGC_GameServer_LevelInfo value
* @property {number} k_EMsgGC_GameServer_AuthChallenge=5701 k_EMsgGC_GameServer_AuthChallenge value
* @property {number} k_EMsgGC_GameServer_AuthChallengeResponse=5702 k_EMsgGC_GameServer_AuthChallengeResponse value
* @property {number} k_EMsgGC_GameServer_CreateIdentity=5703 k_EMsgGC_GameServer_CreateIdentity value
* @property {number} k_EMsgGC_GameServer_CreateIdentityResponse=5704 k_EMsgGC_GameServer_CreateIdentityResponse value
* @property {number} k_EMsgGC_GameServer_List=5705 k_EMsgGC_GameServer_List value
* @property {number} k_EMsgGC_GameServer_ListResponse=5706 k_EMsgGC_GameServer_ListResponse value
* @property {number} k_EMsgGC_GameServer_AuthResult=5707 k_EMsgGC_GameServer_AuthResult value
* @property {number} k_EMsgGC_GameServer_ResetIdentity=5708 k_EMsgGC_GameServer_ResetIdentity value
* @property {number} k_EMsgGC_GameServer_ResetIdentityResponse=5709 k_EMsgGC_GameServer_ResetIdentityResponse value
* @property {number} k_EMsgGC_Client_UseServerModificationItem=5710 k_EMsgGC_Client_UseServerModificationItem value
* @property {number} k_EMsgGC_Client_UseServerModificationItem_Response=5711 k_EMsgGC_Client_UseServerModificationItem_Response value
* @property {number} k_EMsgGC_GameServer_UseServerModificationItem=5712 k_EMsgGC_GameServer_UseServerModificationItem value
* @property {number} k_EMsgGC_GameServer_UseServerModificationItem_Response=5713 k_EMsgGC_GameServer_UseServerModificationItem_Response value
* @property {number} k_EMsgGC_GameServer_ServerModificationItemExpired=5714 k_EMsgGC_GameServer_ServerModificationItemExpired value
* @property {number} k_EMsgGC_GameServer_ModificationItemState=5715 k_EMsgGC_GameServer_ModificationItemState value
* @property {number} k_EMsgGC_GameServer_AckPolicy=5716 k_EMsgGC_GameServer_AckPolicy value
* @property {number} k_EMsgGC_GameServer_AckPolicyResponse=5717 k_EMsgGC_GameServer_AckPolicyResponse value
* @property {number} k_EMsgGC_QP_ScoreServers=5800 k_EMsgGC_QP_ScoreServers value
* @property {number} k_EMsgGC_QP_ScoreServersResponse=5801 k_EMsgGC_QP_ScoreServersResponse value
* @property {number} k_EMsgGC_QP_PlayerJoining=5802 k_EMsgGC_QP_PlayerJoining value
* @property {number} k_EMsgGC_PickupItemEligibility_Query_DEPRECATED=6000 k_EMsgGC_PickupItemEligibility_Query_DEPRECATED value
* @property {number} k_EMsgGC_PickupItemEligibility_Query_DEPRECATED_2=6001 k_EMsgGC_PickupItemEligibility_Query_DEPRECATED_2 value
* @property {number} k_EMsgGC_IncrementKillCountAttribute_DEPRECATED=6100 k_EMsgGC_IncrementKillCountAttribute_DEPRECATED value
* @property {number} k_EMsgGC_IncrementKillCountResponse_DEPRECATED=6101 k_EMsgGC_IncrementKillCountResponse_DEPRECATED value
* @property {number} k_EMsgGCAbandonCurrentGame=6235 k_EMsgGCAbandonCurrentGame value
* @property {number} k_EMsgForceSOCacheResend=6237 k_EMsgForceSOCacheResend value
* @property {number} k_EMsgGCRequestChatChannelList=6260 k_EMsgGCRequestChatChannelList value
* @property {number} k_EMsgGCRequestChatChannelListResponse=6261 k_EMsgGCRequestChatChannelListResponse value
* @property {number} k_EMsgGCReadyUp=6270 k_EMsgGCReadyUp value
* @property {number} k_EMsgGCKickedFromMatchmakingQueue=6271 k_EMsgGCKickedFromMatchmakingQueue value
* @property {number} k_EMsgGCLeaverDetected=6272 k_EMsgGCLeaverDetected value
* @property {number} k_EMsgGCLeaverDetectedResponse=6287 k_EMsgGCLeaverDetectedResponse value
* @property {number} k_EMsgGCExitMatchmaking=6289 k_EMsgGCExitMatchmaking value
* @property {number} k_EMsgGCMatchmakingProgress=6293 k_EMsgGCMatchmakingProgress value
* @property {number} k_EMsgGCMvMVictoryInfo=6294 k_EMsgGCMvMVictoryInfo value
* @property {number} k_EMsgGCGameServerMatchmakingStatus=6295 k_EMsgGCGameServerMatchmakingStatus value
* @property {number} k_EMsgGCMvMVictory=6297 k_EMsgGCMvMVictory value
* @property {number} k_EMsgGCMvMVictoryReply=6298 k_EMsgGCMvMVictoryReply value
* @property {number} k_EMsgGCGameServerKickingLobby=6299 k_EMsgGCGameServerKickingLobby value
* @property {number} k_EMsgGCLeaveGameAndPrepareToJoinParty=6300 k_EMsgGCLeaveGameAndPrepareToJoinParty value
* @property {number} k_EMsgGC_UpdatePeriodicEvent=6400 k_EMsgGC_UpdatePeriodicEvent value
* @property {number} k_EMsgGC_DuckLeaderboard_IndividualUpdate=6401 k_EMsgGC_DuckLeaderboard_IndividualUpdate value
* @property {number} k_EMsgGC_Client2GCEconPreviewDataBlockRequest=6402 k_EMsgGC_Client2GCEconPreviewDataBlockRequest value
* @property {number} k_EMsgGC_Client2GCEconPreviewDataBlockResponse=6403 k_EMsgGC_Client2GCEconPreviewDataBlockResponse value
* @property {number} k_EMsgGC_ClientVerificationChallenge=6500 k_EMsgGC_ClientVerificationChallenge value
* @property {number} k_EMsgGC_ClientVerificationChallengeResponse=6501 k_EMsgGC_ClientVerificationChallengeResponse value
* @property {number} k_EMsgGC_ClientVerificationVerboseResponse=6502 k_EMsgGC_ClientVerificationVerboseResponse value
* @property {number} k_EMsgGC_ClientSetItemSlotAttribute=6503 k_EMsgGC_ClientSetItemSlotAttribute value
* @property {number} k_EMsgGC_War_IndividualUpdate=6505 k_EMsgGC_War_IndividualUpdate value
* @property {number} k_EMsgGC_War_JoinWar=6506 k_EMsgGC_War_JoinWar value
* @property {number} k_EMsgGC_War_RequestGlobalStats=6507 k_EMsgGC_War_RequestGlobalStats value
* @property {number} k_EMsgGC_War_GlobalStatsResponse=6508 k_EMsgGC_War_GlobalStatsResponse value
* @property {number} k_EMsgGC_WorldItemPlacement_Attribute=6510 k_EMsgGC_WorldItemPlacement_Attribute value
* @property {number} k_EMsgGC_WorldItemPlacement_Update=6511 k_EMsgGC_WorldItemPlacement_Update value
* @property {number} k_EMsgGC_Match_Result=6512 k_EMsgGC_Match_Result value
* @property {number} k_EMsgGCVoteKickPlayerRequest=6513 k_EMsgGCVoteKickPlayerRequest value
* @property {number} k_EMsgGCVoteKickPlayerRequestResponse=6514 k_EMsgGCVoteKickPlayerRequestResponse value
* @property {number} k_EMsgGC_DailyCompetitiveStatsRollup=6516 k_EMsgGC_DailyCompetitiveStatsRollup value
* @property {number} k_EMsgGC_DailyCompetitiveStatsRollup_Response=6517 k_EMsgGC_DailyCompetitiveStatsRollup_Response value
* @property {number} k_EMsgGC_WorldStatusBroadcast=6518 k_EMsgGC_WorldStatusBroadcast value
* @property {number} k_EMsgGC_ReportPlayer=6519 k_EMsgGC_ReportPlayer value
* @property {number} k_EMsgGC_Match_ResultResponse=6520 k_EMsgGC_Match_ResultResponse value
* @property {number} k_EMsgGCGameServerKickingLobbyResponse=6521 k_EMsgGCGameServerKickingLobbyResponse value
* @property {number} k_EMsgGCPlayerLeftMatch=6522 k_EMsgGCPlayerLeftMatch value
* @property {number} k_EMsgGCPlayerLeftMatchResponse=6523 k_EMsgGCPlayerLeftMatchResponse value
* @property {number} k_EMsgGCRequestMatchMakerStats=6524 k_EMsgGCRequestMatchMakerStats value
* @property {number} k_EMsgGCMatchMakerStatsResponse=6525 k_EMsgGCMatchMakerStatsResponse value
* @property {number} k_EMsgGCMatchHistoryLoad=6526 k_EMsgGCMatchHistoryLoad value
* @property {number} k_EMsgGC_AcknowledgeXP=6527 k_EMsgGC_AcknowledgeXP value
* @property {number} k_EMsgGCDataCenterPing_Update=6528 k_EMsgGCDataCenterPing_Update value
* @property {number} k_EMsgGC_NotificationAcknowledge=6529 k_EMsgGC_NotificationAcknowledge value
* @property {number} k_EMsgGC_NotificationAcknowledgeReply=6530 k_EMsgGC_NotificationAcknowledgeReply value
* @property {number} k_EMsgGC_KickPlayerFromLobby=6531 k_EMsgGC_KickPlayerFromLobby value
* @property {number} k_EMsgGC_SurveyQuestionRequest=6534 k_EMsgGC_SurveyQuestionRequest value
* @property {number} k_EMsgGC_SurveyQuestionResponse=6535 k_EMsgGC_SurveyQuestionResponse value
* @property {number} k_EMsgGC_TFClientInit=6536 k_EMsgGC_TFClientInit value
* @property {number} k_EMsgGC_NewMatchForLobbyRequest=6537 k_EMsgGC_NewMatchForLobbyRequest value
* @property {number} k_EMsgGC_NewMatchForLobbyResponse=6538 k_EMsgGC_NewMatchForLobbyResponse value
* @property {number} k_EMsgGC_ChangeMatchPlayerTeamsRequest=6539 k_EMsgGC_ChangeMatchPlayerTeamsRequest value
* @property {number} k_EMsgGC_ChangeMatchPlayerTeamsResponse=6540 k_EMsgGC_ChangeMatchPlayerTeamsResponse value
* @property {number} k_EMsgGC_QuestIdentify=6541 k_EMsgGC_QuestIdentify value
* @property {number} k_EMsgGC_QuestDevGive=6542 k_EMsgGC_QuestDevGive value
* @property {number} k_EMsgGCQuestComplete_Debug=6544 k_EMsgGCQuestComplete_Debug value
* @property {number} k_EMsgGC_QuestMapDebug=6545 k_EMsgGC_QuestMapDebug value
* @property {number} k_EMsgGC_QuestMapUnlockNode=6547 k_EMsgGC_QuestMapUnlockNode value
* @property {number} k_EMsgGC_QuestMapPurchaseReward=6549 k_EMsgGC_QuestMapPurchaseReward value
* @property {number} k_EMsgGC_SetDisablePartyQuestProgress=6550 k_EMsgGC_SetDisablePartyQuestProgress value
* @property {number} k_EMsgGCPlayerVoteKickedAfterLeavingMatch=6551 k_EMsgGCPlayerVoteKickedAfterLeavingMatch value
* @property {number} k_EMsgGCPlayerVoteKickedAfterLeavingMatchResponse=6552 k_EMsgGCPlayerVoteKickedAfterLeavingMatchResponse value
* @property {number} k_EMsgGCQuestProgressReport=6553 k_EMsgGCQuestProgressReport value
* @property {number} k_EMsgGCParty_SetOptions=6554 k_EMsgGCParty_SetOptions value
* @property {number} k_EMsgGCParty_SetOptionsResponse=6555 k_EMsgGCParty_SetOptionsResponse value
* @property {number} k_EMsgGCParty_QueueForMatch=6556 k_EMsgGCParty_QueueForMatch value
* @property {number} k_EMsgGCParty_QueueForMatchResponse=6557 k_EMsgGCParty_QueueForMatchResponse value
* @property {number} k_EMsgGCParty_RemoveFromQueue=6558 k_EMsgGCParty_RemoveFromQueue value
* @property {number} k_EMsgGCParty_RemoveFromQueueResponse=6559 k_EMsgGCParty_RemoveFromQueueResponse value
* @property {number} k_EMsgGCParty_InvitePlayer=6560 k_EMsgGCParty_InvitePlayer value
* @property {number} k_EMsgGCParty_RequestJoinPlayer=6561 k_EMsgGCParty_RequestJoinPlayer value
* @property {number} k_EMsgGCParty_SendChat=6562 k_EMsgGCParty_SendChat value
* @property {number} k_EMsgGCParty_ChatMsg=6563 k_EMsgGCParty_ChatMsg value
* @property {number} k_EMsgGCQuestNodeTurnIn=6564 k_EMsgGCQuestNodeTurnIn value
* @property {number} k_EMsgGCConsumePaintKit=6565 k_EMsgGCConsumePaintKit value
* @property {number} k_EMsgGC_Painkit_DevGrant=6566 k_EMsgGC_Painkit_DevGrant value
* @property {number} k_EMsgGCParty_QueueForStandby=6567 k_EMsgGCParty_QueueForStandby value
* @property {number} k_EMsgGCParty_QueueForStandbyResponse=6568 k_EMsgGCParty_QueueForStandbyResponse value
* @property {number} k_EMsgGCParty_RemoveFromStandbyQueue=6569 k_EMsgGCParty_RemoveFromStandbyQueue value
* @property {number} k_EMsgGCParty_RemoveFromStandbyQueueResponse=6570 k_EMsgGCParty_RemoveFromStandbyQueueResponse value
* @property {number} k_EMsgGCParty_ClearPendingPlayer=6571 k_EMsgGCParty_ClearPendingPlayer value
* @property {number} k_EMsgGCParty_ClearPendingPlayerResponse=6572 k_EMsgGCParty_ClearPendingPlayerResponse value
* @property {number} k_EMsgGCParty_ClearOtherPartyRequest=6573 k_EMsgGCParty_ClearOtherPartyRequest value
* @property {number} k_EMsgGCParty_ClearOtherPartyRequestResponse=6574 k_EMsgGCParty_ClearOtherPartyRequestResponse value
* @property {number} k_EMsgGCParty_PromoteToLeader=6575 k_EMsgGCParty_PromoteToLeader value
* @property {number} k_EMsgGCParty_KickMember=6576 k_EMsgGCParty_KickMember value
* @property {number} k_EMsgGCQuestStrangeEvent=6577 k_EMsgGCQuestStrangeEvent value
* @property {number} k_EMsgGC_AcceptLobbyInvite=6578 k_EMsgGC_AcceptLobbyInvite value
* @property {number} k_EMsgGC_AcceptLobbyInviteReply=6579 k_EMsgGC_AcceptLobbyInviteReply value
* @property {number} k_EMsgGCDev_GrantWarKill=10001 k_EMsgGCDev_GrantWarKill value
*/
$root.ETFGCMsg = (function() {
var valuesById = {}, values = Object.create(valuesById);
values[valuesById[5001] = "k_EMsgGCReportWarKill"] = 5001;
values[valuesById[5018] = "k_EMsgGCVoteKickBanPlayer"] = 5018;
values[valuesById[5019] = "k_EMsgGCVoteKickBanPlayerResult"] = 5019;
values[valuesById[5020] = "k_EMsgGCKickPlayer_DEPRECATED"] = 5020;
values[valuesById[5021] = "k_EMsgGCStartedTraining_DEPRECATED"] = 5021;
values[valuesById[5022] = "k_EMsgGCFreeTrial_ChooseMostHelpfulFriend"] = 5022;
values[valuesById[5023] = "k_EMsgGCRequestTF2Friends"] = 5023;
values[valuesById[5024] = "k_EMsgGCRequestTF2FriendsResponse"] = 5024;
values[valuesById[5026] = "k_EMsgGCReplay_SubmitContestEntry"] = 5026;
values[valuesById[5027] = "k_EMsgGCReplay_SubmitContestEntryResponse"] = 5027;
values[valuesById[5029] = "k_EMsgGCSaxxy_Awarded"] = 5029;
values[valuesById[5028] = "k_EMsgGCFreeTrial_ThankedBySomeone"] = 5028;
values[valuesById[5030] = "k_EMsgGCFreeTrial_ThankedSomeone"] = 5030;
values[valuesById[5031] = "k_EMsgGCFreeTrial_ConvertedToPremium"] = 5031;
values[valuesById[5032] = "k_EMsgGCMeetThePyroSilliness_BananaCraft_DEPRECATED"] = 5032;
values[valuesById[5033] = "k_EMsgGCMVMARG_HighFiveSuccessResponse_DEPRECATED"] = 5033;
values[valuesById[5034] = "k_EMsgGCMVMARG_HighFiveOnClient_DEPRECATED"] = 5034;
values[valuesById[5200] = "k_EMsgGCCoaching_AddToCoaches"] = 5200;
values[valuesById[5201] = "k_EMsgGCCoaching_AddToCoachesResponse"] = 5201;
values[valuesById[5202] = "k_EMsgGCCoaching_RemoveFromCoaches"] = 5202;
values[valuesById[5203] = "k_EMsgGCCoaching_RemoveFromCoachesResponse"] = 5203;
values[valuesById[5204] = "k_EMsgGCCoaching_FindCoach"] = 5204;
values[valuesById[5205] = "k_EMsgGCCoaching_FindCoachResponse"] = 5205;
values[valuesById[5206] = "k_EMsgGCCoaching_AskCoach"] = 5206;
values[valuesById[5207] = "k_EMsgGCCoaching_AskCoachResponse"] = 5207;
values[valuesById[5208] = "k_EMsgGCCoaching_CoachJoinGame"] = 5208;
values[valuesById[5209] = "k_EMsgGCCoaching_CoachJoining"] = 5209;
values[valuesById[5210] = "k_EMsgGCCoaching_CoachJoined"] = 5210;
values[valuesById[5211] = "k_EMsgGCCoaching_LikeCurrentCoach"] = 5211;
values[valuesById[5212] = "k_EMsgGCCoaching_RemoveCurrentCoach"] = 5212;
values[valuesById[5213] = "k_EMsgGCCoaching_AlreadyRatedCoach"] = 5213;
values[valuesById[5500] = "k_EMsgGC_Duel_Request"] = 5500;
values[valuesById[5501] = "k_EMsgGC_Duel_Response"] = 5501;
values[valuesById[5502] = "k_EMsgGC_Duel_Results"] = 5502;
values[valuesById[5503] = "k_EMsgGC_Duel_Status"] = 5503;
values[valuesById[5600] = "k_EMsgGC_Halloween_ReservedItem_DEPRECATED"] = 5600;
values[valuesById[5601] = "k_EMsgGC_Halloween_GrantItem_DEPRECATED"] = 5601;
values[valuesById[5604] = "k_EMsgGC_Halloween_GrantItemResponse_DEPRECATED"] = 5604;
values[valuesById[5605] = "k_EMsgGC_Halloween_Cheat_QueryResponse_DEPRECATED"] = 5605;
values[valuesById[5606] = "k_EMsgGC_Halloween_ItemClaimed_DEPRECATED"] = 5606;
values[valuesById[5607] = "k_EMsgGC_Halloween_ReservedItem"] = 5607;
values[valuesById[5608] = "k_EMsgGC_Halloween_GrantItem"] = 5608;
values[valuesById[5609] = "k_EMsgGC_Halloween_GrantItemResponse"] = 5609;
values[valuesById[5610] = "k_EMsgGC_Halloween_Cheat_QueryResponse_DEPRECATED_2"] = 5610;
values[valuesById[5611] = "k_EMsgGC_Halloween_ItemClaimed_DEPRECATED_2"] = 5611;
values[valuesById[5612] = "k_EMsgGC_Halloween_ServerBossEvent"] = 5612;
values[valuesById[5613] = "k_EMsgGC_Halloween_Merasmus2012"] = 5613;
values[valuesById[5614] = "k_EMsgGC_Halloween_UpdateMerasmusLootLevel"] = 5614;
values[valuesById[5700] = "k_EMsgGC_GameServer_LevelInfo"] = 5700;
values[valuesById[5701] = "k_EMsgGC_GameServer_AuthChallenge"] = 5701;
values[valuesById[5702] = "k_EMsgGC_GameServer_AuthChallengeResponse"] = 5702;
values[valuesById[5703] = "k_EMsgGC_GameServer_CreateIdentity"] = 5703;
values[valuesById[5704] = "k_EMsgGC_GameServer_CreateIdentityResponse"] = 5704;
values[valuesById[5705] = "k_EMsgGC_GameServer_List"] = 5705;
values[valuesById[5706] = "k_EMsgGC_GameServer_ListResponse"] = 5706;
values[valuesById[5707] = "k_EMsgGC_GameServer_AuthResult"] = 5707;
values[valuesById[5708] = "k_EMsgGC_GameServer_ResetIdentity"] = 5708;
values[valuesById[5709] = "k_EMsgGC_GameServer_ResetIdentityResponse"] = 5709;
values[valuesById[5710] = "k_EMsgGC_Client_UseServerModificationItem"] = 5710;
values[valuesById[5711] = "k_EMsgGC_Client_UseServerModificationItem_Response"] = 5711;
values[valuesById[5712] = "k_EMsgGC_GameServer_UseServerModificationItem"] = 5712;
values[valuesById[5713] = "k_EMsgGC_GameServer_UseServerModificationItem_Response"] = 5713;
values[valuesById[5714] = "k_EMsgGC_GameServer_ServerModificationItemExpired"] = 5714;
values[valuesById[5715] = "k_EMsgGC_GameServer_ModificationItemState"] = 5715;
values[valuesById[5716] = "k_EMsgGC_GameServer_AckPolicy"] = 5716;
values[valuesById[5717] = "k_EMsgGC_GameServer_AckPolicyResponse"] = 5717;
values[valuesById[5800] = "k_EMsgGC_QP_ScoreServers"] = 5800;
values[valuesById[5801] = "k_EMsgGC_QP_ScoreServersResponse"] = 5801;
values[valuesById[5802] = "k_EMsgGC_QP_PlayerJoining"] = 5802;
values[valuesById[6000] = "k_EMsgGC_PickupItemEligibility_Query_DEPRECATED"] = 6000;
values[valuesById[6001] = "k_EMsgGC_PickupItemEligibility_Query_DEPRECATED_2"] = 6001;
values[valuesById[6100] = "k_EMsgGC_IncrementKillCountAttribute_DEPRECATED"] = 6100;
values[valuesById[6101] = "k_EMsgGC_IncrementKillCountResponse_DEPRECATED"] = 6101;
values[valuesById[6235] = "k_EMsgGCAbandonCurrentGame"] = 6235;
values[valuesById[6237] = "k_EMsgForceSOCacheResend"] = 6237;
values[valuesById[6260] = "k_EMsgGCRequestChatChannelList"] = 6260;
values[valuesById[6261] = "k_EMsgGCRequestChatChannelListResponse"] = 6261;
values[valuesById[6270] = "k_EMsgGCReadyUp"] = 6270;
values[valuesById[6271] = "k_EMsgGCKickedFromMatchmakingQueue"] = 6271;
values[valuesById[6272] = "k_EMsgGCLeaverDetected"] = 6272;
values[valuesById[6287] = "k_EMsgGCLeaverDetectedResponse"] = 6287;
values[valuesById[6289] = "k_EMsgGCExitMatchmaking"] = 6289;
values[valuesById[6293] = "k_EMsgGCMatchmakingProgress"] = 6293;
values[valuesById[6294] = "k_EMsgGCMvMVictoryInfo"] = 6294;
values[valuesById[6295] = "k_EMsgGCGameServerMatchmakingStatus"] = 6295;
values[valuesById[6297] = "k_EMsgGCMvMVictory"] = 6297;
values[valuesById[6298] = "k_EMsgGCMvMVictoryReply"] = 6298;
values[valuesById[6299] = "k_EMsgGCGameServerKickingLobby"] = 6299;
values[valuesById[6300] = "k_EMsgGCLeaveGameAndPrepareToJoinParty"] = 6300;
values[valuesById[6400] = "k_EMsgGC_UpdatePeriodicEvent"] = 6400;
values[valuesById[6401] = "k_EMsgGC_DuckLeaderboard_IndividualUpdate"] = 6401;
values[valuesById[6402] = "k_EMsgGC_Client2GCEconPreviewDataBlockRequest"] = 6402;
values[valuesById[6403] = "k_EMsgGC_Client2GCEconPreviewDataBlockResponse"] = 6403;
values[valuesById[6500] = "k_EMsgGC_ClientVerificationChallenge"] = 6500;
values[valuesById[6501] = "k_EMsgGC_ClientVerificationChallengeResponse"] = 6501;
values[valuesById[6502] = "k_EMsgGC_ClientVerificationVerboseResponse"] = 6502;
values[valuesById[6503] = "k_EMsgGC_ClientSetItemSlotAttribute"] = 6503;
values[valuesById[6505] = "k_EMsgGC_War_IndividualUpdate"] = 6505;
values[valuesById[6506] = "k_EMsgGC_War_JoinWar"] = 6506;
values[valuesById[6507] = "k_EMsgGC_War_RequestGlobalStats"] = 6507;
values[valuesById[6508] = "k_EMsgGC_War_GlobalStatsResponse"] = 6508;
values[valuesById[6510] = "k_EMsgGC_WorldItemPlacement_Attribute"] = 6510;
values[valuesById[6511] = "k_EMsgGC_WorldItemPlacement_Update"] = 6511;
values[valuesById[6512] = "k_EMsgGC_Match_Result"] = 6512;
values[valuesById[6513] = "k_EMsgGCVoteKickPlayerRequest"] = 6513;
values[valuesById[6514] = "k_EMsgGCVoteKickPlayerRequestResponse"] = 6514;
values[valuesById[6516] = "k_EMsgGC_DailyCompetitiveStatsRollup"] = 6516;
values[valuesById[6517] = "k_EMsgGC_DailyCompetitiveStatsRollup_Response"] = 6517;
values[valuesById[6518] = "k_EMsgGC_WorldStatusBroadcast"] = 6518;
values[valuesById[6519] = "k_EMsgGC_ReportPlayer"] = 6519;
values[valuesById[6520] = "k_EMsgGC_Match_ResultResponse"] = 6520;
values[valuesById[6521] = "k_EMsgGCGameServerKickingLobbyResponse"] = 6521;
values[valuesById[6522] = "k_EMsgGCPlayerLeftMatch"] = 6522;
values[valuesById[6523] = "k_EMsgGCPlayerLeftMatchResponse"] = 6523;
values[valuesById[6524] = "k_EMsgGCRequestMatchMakerStats"] = 6524;
values[valuesById[6525] = "k_EMsgGCMatchMakerStatsResponse"] = 6525;
values[valuesById[6526] = "k_EMsgGCMatchHistoryLoad"] = 6526;
values[valuesById[6527] = "k_EMsgGC_AcknowledgeXP"] = 6527;
values[valuesById[6528] = "k_EMsgGCDataCenterPing_Update"] = 6528;
values[valuesById[6529] = "k_EMsgGC_NotificationAcknowledge"] = 6529;
values[valuesById[6530] = "k_EMsgGC_NotificationAcknowledgeReply"] = 6530;
values[valuesById[6531] = "k_EMsgGC_KickPlayerFromLobby"] = 6531;
values[valuesById[6534] = "k_EMsgGC_SurveyQuestionRequest"] = 6534;
values[valuesById[6535] = "k_EMsgGC_SurveyQuestionResponse"] = 6535;
values[valuesById[6536] = "k_EMsgGC_TFClientInit"] = 6536;
values[valuesById[6537] = "k_EMsgGC_NewMatchForLobbyRequest"] = 6537;
values[valuesById[6538] = "k_EMsgGC_NewMatchForLobbyResponse"] = 6538;
values[valuesById[6539] = "k_EMsgGC_ChangeMatchPlayerTeamsRequest"] = 6539;
values[valuesById[6540] = "k_EMsgGC_ChangeMatchPlayerTeamsResponse"] = 6540;
values[valuesById[6541] = "k_EMsgGC_QuestIdentify"] = 6541;
values[valuesById[6542] = "k_EMsgGC_QuestDevGive"] = 6542;
values[valuesById[6544] = "k_EMsgGCQuestComplete_Debug"] = 6544;
values[valuesById[6545] = "k_EMsgGC_QuestMapDebug"] = 6545;
values[valuesById[6547] = "k_EMsgGC_QuestMapUnlockNode"] = 6547;
values[valuesById[6549] = "k_EMsgGC_QuestMapPurchaseReward"] = 6549;
values[valuesById[6550] = "k_EMsgGC_SetDisablePartyQuestProgress"] = 6550;
values[valuesById[6551] = "k_EMsgGCPlayerVoteKickedAfterLeavingMatch"] = 6551;
values[valuesById[6552] = "k_EMsgGCPlayerVoteKickedAfterLeavingMatchResponse"] = 6552;
values[valuesById[6553] = "k_EMsgGCQuestProgressReport"] = 6553;
values[valuesById[6554] = "k_EMsgGCParty_SetOptions"] = 6554;
values[valuesById[6555] = "k_EMsgGCParty_SetOptionsResponse"] = 6555;
values[valuesById[6556] = "k_EMsgGCParty_QueueForMatch"] = 6556;
values[valuesById[6557] = "k_EMsgGCParty_QueueForMatchResponse"] = 6557;
values[valuesById[6558] = "k_EMsgGCParty_RemoveFromQueue"] = 6558;
values[valuesById[6559] = "k_EMsgGCParty_RemoveFromQueueResponse"] = 6559;
values[valuesById[6560] = "k_EMsgGCParty_InvitePlayer"] = 6560;
values[valuesById[6561] = "k_EMsgGCParty_RequestJoinPlayer"] = 6561;
values[valuesById[6562] = "k_EMsgGCParty_SendChat"] = 6562;
values[valuesById[6563] = "k_EMsgGCParty_ChatMsg"] = 6563;
values[valuesById[6564] = "k_EMsgGCQuestNodeTurnIn"] = 6564;
values[valuesById[6565] = "k_EMsgGCConsumePaintKit"] = 6565;
values[valuesById[6566] = "k_EMsgGC_Painkit_DevGrant"] = 6566;
values[valuesById[6567] = "k_EMsgGCParty_QueueForStandby"] = 6567;
values[valuesById[6568] = "k_EMsgGCParty_QueueForStandbyResponse"] = 6568;
values[valuesById[6569] = "k_EMsgGCParty_RemoveFromStandbyQueue"] = 6569;
values[valuesById[6570] = "k_EMsgGCParty_RemoveFromStandbyQueueResponse"] = 6570;
values[valuesById[6571] = "k_EMsgGCParty_ClearPendingPlayer"] = 6571;
values[valuesById[6572] = "k_EMsgGCParty_ClearPendingPlayerResponse"] = 6572;
values[valuesById[6573] = "k_EMsgGCParty_ClearOtherPartyRequest"] = 6573;
values[valuesById[6574] = "k_EMsgGCParty_ClearOtherPartyRequestResponse"] = 6574;
values[valuesById[6575] = "k_EMsgGCParty_PromoteToLeader"] = 6575;
values[valuesById[6576] = "k_EMsgGCParty_KickMember"] = 6576;
values[valuesById[6577] = "k_EMsgGCQuestStrangeEvent"] = 6577;
values[valuesById[6578] = "k_EMsgGC_AcceptLobbyInvite"] = 6578;
values[valuesById[6579] = "k_EMsgGC_AcceptLobbyInviteReply"] = 6579;
values[valuesById[10001] = "k_EMsgGCDev_GrantWarKill"] = 10001;
return values;
})();
/**
* EServerModificationItemType enum.
* @exports EServerModificationItemType
* @enum {string}
* @property {number} kGameServerModificationItem_Halloween=1 kGameServerModificationItem_Halloween value
*/
$root.EServerModificationItemType = (function() {
var valuesById = {}, values = Object.create(valuesById);
values[valuesById[1] = "kGameServerModificationItem_Halloween"] = 1;
return values;
})();
/**
* ETFSyncedMMMenuStep enum.
* @exports ETFSyncedMMMenuStep
* @enum {string}
* @property {number} k_eTFSyncedMMMenuStep_Invalid=-1 k_eTFSyncedMMMenuStep_Invalid value
* @property {number} k_eTFSyncedMMMenuStep_None=0 k_eTFSyncedMMMenuStep_None value
* @property {number} k_eTFSyncedMMMenuStep_Configuring_Mode=1 k_eTFSyncedMMMenuStep_Configuring_Mode value
* @property {number} k_eTFSyncedMMMenuStep_MvM_Selecting_Mode=2 k_eTFSyncedMMMenuStep_MvM_Selecting_Mode value
* @property {number} k_eTFSyncedMMMenuStep_MvM_Selecting_Tour=3 k_eTFSyncedMMMenuStep_MvM_Selecting_Tour value
* @property {number} k_eTFSyncedMMMenuStep_MvM_Selecting_Missions=4 k_eTFSyncedMMMenuStep_MvM_Selecting_Missions value
*/
$root.ETFSyncedMMMenuStep = (function() {
var valuesById = {}, values = Object.create(valuesById);
values[valuesById[-1] = "k_eTFSyncedMMMenuStep_Invalid"] = -1;
values[valuesById[0] = "k_eTFSyncedMMMenuStep_None"] = 0;
values[valuesById[1] = "k_eTFSyncedMMMenuStep_Configuring_Mode"] = 1;
values[valuesById[2] = "k_eTFSyncedMMMenuStep_MvM_Selecting_Mode"] = 2;
values[valuesById[3] = "k_eTFSyncedMMMenuStep_MvM_Selecting_Tour"] = 3;
values[valuesById[4] = "k_eTFSyncedMMMenuStep_MvM_Selecting_Missions"] = 4;
return values;
})();
/**
* ETFMatchGroup enum.
* @exports ETFMatchGroup
* @enum {string}
* @property {number} k_eTFMatchGroup_Invalid=-1 k_eTFMatchGroup_Invalid value
* @property {number} k_eTFMatchGroup_MvM_Practice=0 k_eTFMatchGroup_MvM_Practice value
* @property {number} k_eTFMatchGroup_MvM_MannUp=1 k_eTFMatchGroup_MvM_MannUp value
* @property {number} k_eTFMatchGroup_First=0 k_eTFMatchGroup_First value
* @property {number} k_eTFMatchGroup_MvM_Default=0 k_eTFMatchGroup_MvM_Default value
* @property {number} k_eTFMatchGroup_MvM_First=0 k_eTFMatchGroup_MvM_First value
* @property {number} k_eTFMatchGroup_MvM_Last=1 k_eTFMatchGroup_MvM_Last value
* @property {number} k_eTFMatchGroup_Ladder_6v6=2 k_eTFMatchGroup_Ladder_6v6 value
* @property {number} k_eTFMatchGroup_Ladder_9v9=3 k_eTFMatchGroup_Ladder_9v9 value
* @property {number} k_eTFMatchGroup_Ladder_12v12=4 k_eTFMatchGroup_Ladder_12v12 value
* @property {number} k_eTFMatchGroup_Ladder_Default=2 k_eTFMatchGroup_Ladder_Default value
* @property {number} k_eTFMatchGroup_Ladder_First=2 k_eTFMatchGroup_Ladder_First value
* @property {number} k_eTFMatchGroup_Ladder_Last=4 k_eTFMatchGroup_Ladder_Last value
* @property {number} k_eTFMatchGroup_Casual_6v6=5 k_eTFMatchGroup_Casual_6v6 value
* @property {number} k_eTFMatchGroup_Casual_9v9=6 k_eTFMatchGroup_Casual_9v9 value
* @property {number} k_eTFMatchGroup_Casual_12v12=7 k_eTFMatchGroup_Casual_12v12 value
* @property {number} k_eTFMatchGroup_Casual_Default=7 k_eTFMatchGroup_Casual_Default value
* @property {number} k_eTFMatchGroup_Casual_First=5 k_eTFMatchGroup_Casual_First value
* @property {number} k_eTFMatchGroup_Casual_Last=7 k_eTFMatchGroup_Casual_Last value
* @property {number} k_eTFMatchGroup_Event_Placeholder=8 k_eTFMatchGroup_Event_Placeholder value
* @property {number} k_eTFMatchGroup_Event_Default=8 k_eTFMatchGroup_Event_Default value
* @property {number} k_eTFMatchGroup_Event_First=8 k_eTFMatchGroup_Event_First value
* @property {number} k_eTFMatchGroup_Event_Last=8 k_eTFMatchGroup_Event_Last value
*/
$root.ETFMatchGroup = (function() {
var valuesById = {}, values = Object.create(valuesById);
values[valuesById[-1] = "k_eTFMatchGroup_Invalid"] = -1;
values[valuesById[0] = "k_eTFMatchGroup_MvM_Practice"] = 0;
values[valuesById[1] = "k_eTFMatchGroup_MvM_MannUp"] = 1;
values["k_eTFMatchGroup_First"] = 0;
values["k_eTFMatchGroup_MvM_Default"] = 0;
values["k_eTFMatchGroup_MvM_First"] = 0;
values["k_eTFMatchGroup_MvM_Last"] = 1;
values[valuesById[2] = "k_eTFMatchGroup_Ladder_6v6"] = 2;
values[valuesById[3] = "k_eTFMatchGroup_Ladder_9v9"] = 3;
values[valuesById[4] = "k_eTFMatchGroup_Ladder_12v12"] = 4;
values["k_eTFMatchGroup_Ladder_Default"] = 2;
values["k_eTFMatchGroup_Ladder_First"] = 2;
values["k_eTFMatchGroup_Ladder_Last"] = 4;
values[valuesById[5] = "k_eTFMatchGroup_Casual_6v6"] = 5;
values[valuesById[6] = "k_eTFMatchGroup_Casual_9v9"] = 6;
values[valuesById[7] = "k_eTFMatchGroup_Casual_12v12"] = 7;
values["k_eTFMatchGroup_Casual_Default"] = 7;
values["k_eTFMatchGroup_Casual_First"] = 5;
values["k_eTFMatchGroup_Casual_Last"] = 7;
values[valuesById[8] = "k_eTFMatchGroup_Event_Placeholder"] = 8;
values["k_eTFMatchGroup_Event_Default"] = 8;
values["k_eTFMatchGroup_Event_First"] = 8;
values["k_eTFMatchGroup_Event_Last"] = 8;
return values;
})();
/**
* ETFPartyChatType enum.
* @exports ETFPartyChatType
* @enum {string}
* @property {number} k_eTFPartyChatType_Invalid=0 k_eTFPartyChatType_Invalid value
* @property {number} k_eTFPartyChatType_MemberChat=1 k_eTFPartyChatType_MemberChat value
* @property {number} k_eTFPartyChatType_Synthetic_MemberJoin=1000 k_eTFPartyChatType_Synthetic_MemberJoin value
* @property {number} k_eTFPartyChatType_Synthetic_MemberLeave=1001 k_eTFPartyChatType_Synthetic_MemberLeave value
* @property {number} k_eTFPartyChatType_Synthetic_SendFailed=1002 k_eTFPartyChatType_Synthetic_SendFailed value
* @property {number} k_eTFPartyChatType_Synthetic_MemberOnline=1003 k_eTFPartyChatType_Synthetic_MemberOnline value
* @property {number} k_eTFPartyChatType_Synthetic_MemberOffline=1004 k_eTFPartyChatType_Synthetic_MemberOffline value
*/
$root.ETFPartyChatType = (function() {
var valuesById = {}, values = Object.create(valuesById);
values[valuesById[0] = "k_eTFPartyChatType_Invalid"] = 0;
values[valuesById[1] = "k_eTFPartyChatType_MemberChat"] = 1;
values[valuesById[1000] = "k_eTFPartyChatType_Synthetic_MemberJoin"] = 1000;
values[valuesById[1001] = "k_eTFPartyChatType_Synthetic_MemberLeave"] = 1001;
values[valuesById[1002] = "k_eTFPartyChatType_Synthetic_SendFailed"] = 1002;
values[valuesById[1003] = "k_eTFPartyChatType_Synthetic_MemberOnline"] = 1003;
values[valuesById[1004] = "k_eTFPartyChatType_Synthetic_MemberOffline"] = 1004;
return values;
})();
/**
* TF_GC_GameState enum.
* @exports TF_GC_GameState
* @enum {string}
* @property {number} TF_GC_GAMESTATE_STATE_INIT=0 TF_GC_GAMESTATE_STATE_INIT value
* @property {number} TF_GC_GAMESTATE_WAIT_FOR_PLAYERS_TO_LOAD=1 TF_GC_GAMESTATE_WAIT_FOR_PLAYERS_TO_LOAD value
* @property {number} TF_GC_GAMESTATE_STRATEGY_TIME=3 TF_GC_GAMESTATE_STRATEGY_TIME value
* @property {number} TF_GC_GAMESTATE_GAME_IN_PROGRESS=5 TF_GC_GAMESTATE_GAME_IN_PROGRESS value
* @property {number} TF_GC_GAMESTATE_POST_GAME=6 TF_GC_GAMESTATE_POST_GAME value
* @property {number} TF_GC_GAMESTATE_DISCONNECT=7 TF_GC_GAMESTATE_DISCONNECT value
* @property {number} TF_GC_GAMESTATE_LAST=8 TF_GC_GAMESTATE_LAST value
*/
$root.TF_GC_GameState = (function() {
var valuesById = {}, values = Object.create(valuesById);
values[valuesById[0] = "TF_GC_GAMESTATE_STATE_INIT"] = 0;
values[valuesById[1] = "TF_GC_GAMESTATE_WAIT_FOR_PLAYERS_TO_LOAD"] = 1;
values[valuesById[3] = "TF_GC_GAMESTATE_STRATEGY_TIME"] = 3;
values[valuesById[5] = "TF_GC_GAMESTATE_GAME_IN_PROGRESS"] = 5;
values[valuesById[6] = "TF_GC_GAMESTATE_POST_GAME"] = 6;
values[valuesById[7] = "TF_GC_GAMESTATE_DISCONNECT"] = 7;
values[valuesById[8] = "TF_GC_GAMESTATE_LAST"] = 8;
return values;
})();
/**
* TF_GC_TEAM enum.
* @exports TF_GC_TEAM
* @enum {string}
* @property {number} TF_GC_TEAM_DEFENDERS=0 TF_GC_TEAM_DEFENDERS value
* @property {number} TF_GC_TEAM_INVADERS=1 TF_GC_TEAM_INVADERS value
* @property {number} TF_GC_TEAM_BROADCASTER=2 TF_GC_TEAM_BROADCASTER value
* @property {number} TF_GC_TEAM_SPECTATOR=3 TF_GC_TEAM_SPECTATOR value
* @property {number} TF_GC_TEAM_PLAYER_POOL=4 TF_GC_TEAM_PLAYER_POOL value
* @property {number} TF_GC_TEAM_NOTEAM=5 TF_GC_TEAM_NOTEAM value
*/
$root.TF_GC_TEAM = (function() {
var valuesById = {}, values = Object.create(valuesById);
values[valuesById[0] = "TF_GC_TEAM_DEFENDERS"] = 0;
values[valuesById[1] = "TF_GC_TEAM_INVADERS"] = 1;
values[valuesById[2] = "TF_GC_TEAM_BROADCASTER"] = 2;
values[valuesById[3] = "TF_GC_TEAM_SPECTATOR"] = 3;
values[valuesById[4] = "TF_GC_TEAM_PLAYER_POOL"] = 4;
values[valuesById[5] = "TF_GC_TEAM_NOTEAM"] = 5;
return values;
})();
/**
* TFMatchLeaveReason enum.
* @exports TFMatchLeaveReason
* @enum {string}
* @property {number} TFMatchLeaveReason_UNSPECIFIED=0 TFMatchLeaveReason_UNSPECIFIED value
* @property {number} TFMatchLeaveReason_VOTE_KICK=1 TFMatchLeaveReason_VOTE_KICK value
* @property {number} TFMatchLeaveReason_IDLE=2 TFMatchLeaveReason_IDLE value
* @property {number} TFMatchLeaveReason_ADMIN_KICK=3 TFMatchLeaveReason_ADMIN_KICK value
* @property {number} TFMatchLeaveReason_AWOL=4 TFMatchLeaveReason_AWOL value
* @property {number} TFMatchLeaveReason_NO_SHOW=5 TFMatchLeaveReason_NO_SHOW value
* @property {number} TFMatchLeaveReason_GC_REMOVED=6 TFMatchLeaveReason_GC_REMOVED value
*/
$root.TFMatchLeaveReason = (function() {
var valuesById = {}, values = Object.create(valuesById);
values[valuesById[0] = "TFMatchLeaveReason_UNSPECIFIED"] = 0;
values[valuesById[1] = "TFMatchLeaveReason_VOTE_KICK"] = 1;
values[valuesById[2] = "TFMatchLeaveReason_IDLE"] = 2;
values[valuesById[3] = "TFMatchLeaveReason_ADMIN_KICK"] = 3;
values[valuesById[4] = "TFMatchLeaveReason_AWOL"] = 4;
values[valuesById[5] = "TFMatchLeaveReason_NO_SHOW"] = 5;
values[valuesById[6] = "TFMatchLeaveReason_GC_REMOVED"] = 6;
return values;
})();
/**
* ServerMatchmakingState enum.
* @exports ServerMatchmakingState
* @enum {string}
* @property {number} ServerMatchmakingState_INVALID=0 ServerMatchmakingState_INVALID value
* @property {number} ServerMatchmakingState_NOT_PARTICIPATING=1 ServerMatchmakingState_NOT_PARTICIPATING value
* @property {number} ServerMatchmakingState_EMPTY=2 ServerMatchmakingState_EMPTY value
* @property {number} ServerMatchmakingState_ACTIVE_MATCH_REQUESTING_LATE_JOIN=3 ServerMatchmakingState_ACTIVE_MATCH_REQUESTING_LATE_JOIN value
* @property {number} ServerMatchmakingState_ACTIVE_MATCH=4 ServerMatchmakingState_ACTIVE_MATCH value
*/
$root.ServerMatchmakingState = (function() {
var valuesById = {}, values = Object.create(valuesById);
values[valuesById[0] = "ServerMatchmakingState_INVALID"] = 0;
values[valuesById[1] = "ServerMatchmakingState_NOT_PARTICIPATING"] = 1;
values[valuesById[2] = "ServerMatchmakingState_EMPTY"] = 2;
values[valuesById[3] = "ServerMatchmakingState_ACTIVE_MATCH_REQUESTING_LATE_JOIN"] = 3;
values[valuesById[4] = "ServerMatchmakingState_ACTIVE_MATCH"] = 4;
return values;
})();
/**
* SurveyQuestionType enum.
* @exports SurveyQuestionType
* @enum {string}
* @property {number} QUESTION_MATCH_QUALITY=0 QUESTION_MATCH_QUALITY value
* @property {number} QUESTION_MAP_QUALITY=1 QUESTION_MAP_QUALITY value
* @property {number} QUESTION_COMP_INQUIRY=2 QUESTION_COMP_INQUIRY value
* @property {number} QUESTION_CASUAL_INQUIRY=3 QUESTION_CASUAL_INQUIRY value
* @property {number} QUESTION_RANDOM_CRIT=4 QUESTION_RANDOM_CRIT value
*/
$root.SurveyQuestionType = (function() {
var valuesById = {}, values = Object.create(valuesById);
values[valuesById[0] = "QUESTION_MATCH_QUALITY"] = 0;
values[valuesById[1] = "QUESTION_MAP_QUALITY"] = 1;
values[valuesById[2] = "QUESTION_COMP_INQUIRY"] = 2;
values[valuesById[3] = "QUESTION_CASUAL_INQUIRY"] = 3;
values[valuesById[4] = "QUESTION_RANDOM_CRIT"] = 4;
return values;
})();
$root.CMsgTFGoldenWrenchBroadcast = (function() {
/**
* Properties of a CMsgTFGoldenWrenchBroadcast.
* @exports ICMsgTFGoldenWrenchBroadcast
* @interface ICMsgTFGoldenWrenchBroadcast
* @property {number|null} [wrench_number] CMsgTFGoldenWrenchBroadcast wrench_number
* @property {boolean|null} [deleted] CMsgTFGoldenWrenchBroadcast deleted
* @property {string|null} [user_name] CMsgTFGoldenWrenchBroadcast user_name
*/
/**
* Constructs a new CMsgTFGoldenWrenchBroadcast.
* @exports CMsgTFGoldenWrenchBroadcast
* @classdesc Represents a CMsgTFGoldenWrenchBroadcast.
* @implements ICMsgTFGoldenWrenchBroadcast
* @constructor
* @param {ICMsgTFGoldenWrenchBroadcast=} [properties] Properties to set
*/
function CMsgTFGoldenWrenchBroadcast(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]];
}
/**
* CMsgTFGoldenWrenchBroadcast wrench_number.
* @member {number} wrench_number
* @memberof CMsgTFGoldenWrenchBroadcast
* @instance
*/
CMsgTFGoldenWrenchBroadcast.prototype.wrench_number = 0;
/**
* CMsgTFGoldenWrenchBroadcast deleted.
* @member {boolean} deleted
* @memberof CMsgTFGoldenWrenchBroadcast
* @instance
*/
CMsgTFGoldenWrenchBroadcast.prototype.deleted = false;
/**
* CMsgTFGoldenWrenchBroadcast user_name.
* @member {string} user_name
* @memberof CMsgTFGoldenWrenchBroadcast
* @instance
*/
CMsgTFGoldenWrenchBroadcast.prototype.user_name = "";
/**
* Creates a new CMsgTFGoldenWrenchBroadcast instance using the specified properties.
* @function create
* @memberof CMsgTFGoldenWrenchBroadcast
* @static
* @param {ICMsgTFGoldenWrenchBroadcast=} [properties] Properties to set
* @returns {CMsgTFGoldenWrenchBroadcast} CMsgTFGoldenWrenchBroadcast instance
*/
CMsgTFGoldenWrenchBroadcast.create = function create(properties) {
return new CMsgTFGoldenWrenchBroadcast(properties);
};
/**
* Encodes the specified CMsgTFGoldenWrenchBroadcast message. Does not implicitly {@link CMsgTFGoldenWrenchBroadcast.verify|verify} messages.
* @function encode
* @memberof CMsgTFGoldenWrenchBroadcast
* @static
* @param {ICMsgTFGoldenWrenchBroadcast} message CMsgTFGoldenWrenchBroadcast message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
CMsgTFGoldenWrenchBroadcast.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
if (message.wrench_number != null && message.hasOwnProperty("wrench_number"))
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.wrench_number);
if (message.deleted != null && message.hasOwnProperty("deleted"))
writer.uint32(/* id 2, wireType 0 =*/16).bool(message.deleted);
if (message.user_name != null && message.hasOwnProperty("user_name"))
writer.uint32(/* id 3, wireType 2 =*/26).string(message.user_name);
return writer;
};
/**
* Encodes the specified CMsgTFGoldenWrenchBroadcast message, length delimited. Does not implicitly {@link CMsgTFGoldenWrenchBroadcast.verify|verify} messages.
* @function encodeDelimited
* @memberof CMsgTFGoldenWrenchBroadcast
* @static
* @param {ICMsgTFGoldenWrenchBroadcast} message CMsgTFGoldenWrenchBroadcast message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
CMsgTFGoldenWrenchBroadcast.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
* Decodes a CMsgTFGoldenWrenchBroadcast message from the specified reader or buffer.
* @function decode
* @memberof CMsgTFGoldenWrenchBroadcast
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
* @returns {CMsgTFGoldenWrenchBroadcast} CMsgTFGoldenWrenchBroadcast
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If requ