From fcb1688c17c10e665e3994501938a5dcd38b9e8b Mon Sep 17 00:00:00 2001 From: Michael Fellinger Date: Thu, 19 Jun 2014 19:22:24 +0200 Subject: [PATCH] Update Dota 2 --- .../Protobufs/dota/dota_clientmessages.proto | 5 +++ .../dota/dota_gcmessages_client.proto | 27 +++++++++---- .../dota/dota_gcmessages_common.proto | 34 +++++++++++----- .../Protobufs/dota/dota_usermessages.proto | 12 ++++++ .../Protobufs/dota/econ_gcmessages.proto | 40 +++++++++++++++++++ .../Protobufs/dota/gcsdk_gcmessages.proto | 7 +++- .../Protobufs/dota/matchmaker_common.proto | 3 +- Resources/Protobufs/dota/usermessages.proto | 12 ++++++ 8 files changed, 122 insertions(+), 18 deletions(-) diff --git a/Resources/Protobufs/dota/dota_clientmessages.proto b/Resources/Protobufs/dota/dota_clientmessages.proto index fadaacd6..18ea12c2 100644 --- a/Resources/Protobufs/dota/dota_clientmessages.proto +++ b/Resources/Protobufs/dota/dota_clientmessages.proto @@ -29,6 +29,7 @@ enum EDotaClientMessages { DOTA_CM_WillPurchaseAlert = 24; DOTA_CM_PlayerShowCase = 25; DOTA_CM_TeleportRequiresHalt = 26; + DOTA_CM_CameraZoomAmount = 27; } message CDOTAClientMsg_MapPing { @@ -142,3 +143,7 @@ message CDOTAClientMsg_PlayerShowCase { optional bool showcase = 1; } +message CDOTAClientMsg_CameraZoomAmount { + optional float zoom_amount = 1; +} + diff --git a/Resources/Protobufs/dota/dota_gcmessages_client.proto b/Resources/Protobufs/dota/dota_gcmessages_client.proto index ef1b81af..9c92314c 100644 --- a/Resources/Protobufs/dota/dota_gcmessages_client.proto +++ b/Resources/Protobufs/dota/dota_gcmessages_client.proto @@ -358,6 +358,7 @@ message CMsgPracticeLobbyListResponseEntry { optional uint32 guild_id = 8; optional uint64 guild_logo = 9; optional string name = 10; + optional string custom_game_mode = 11; } message CMsgPracticeLobbyListResponse { @@ -722,6 +723,8 @@ message CMsgDOTAPopup { COMPETITIVE_MM_NOT_ENOUGH_SKILL_DATA_PLAY_MORE_CASUAL = 42; COMPETITIVE_MM_NOT_ENOUGH_SKILL_DATA_IN_PARTY = 43; PARTY_LEADER_JOINED_LOBBY = 44; + MM_1V1_NO_PARTIES = 45; + MM_1V1_NO_LOW_PRIORITY = 46; } optional .CMsgDOTAPopup.PopupID id = 1 [default = KICKED_FROM_LOBBY]; @@ -802,11 +805,13 @@ message CMsgDOTACreateTeamResponse { CREATOR_TEAM_CREATION_COOLDOWN = 13; LOGO_UPLOAD_FAILED = 14; NAME_CHANGED_TOO_RECENTLY = 15; + CREATOR_INSUFFICIENT_LEVEL = 16; } repeated .CMsgDOTACreateTeamResponse.Result results = 1; optional uint32 team_id = 2; optional uint32 seconds_remaining = 3; + optional uint32 required_level = 4; } message CMsgDOTAEditTeam { @@ -945,10 +950,12 @@ message CMsgDOTATeamInvite_GCImmediateResponseToInviter { INVITEE_ALREADY_ON_THE_TEAM = 4; INVITEE_ALREADY_ON_TOO_MANY_TEAMS = 5; UNSPECIFIED_ERROR = 6; + INVITEE_INSUFFICIENT_LEVEL = 7; } optional .CMsgDOTATeamInvite_GCImmediateResponseToInviter.Result result = 1 [default = SUCCESS]; optional string invitee_name = 2; + optional uint32 required_level = 3; } message CMsgDOTATeamInvite_GCRequestToInvitee { @@ -2486,13 +2493,14 @@ message CMsgDOTAFantasyPlayerScoreDetailsResponse { optional uint32 series_id = 2; optional uint32 series_num = 3; optional uint32 series_type = 4; - optional uint32 league_id = 5; - optional uint32 opposing_team_id = 6; - optional uint64 opposing_team_logo = 7; - optional string opposing_team_name = 8; - optional .CMsgFantasyLeagueRoleScoring stats = 9; - optional uint32 owned_by = 10; - optional bool benched = 11; + optional float series_multiplier = 5; + optional uint32 league_id = 6; + optional uint32 opposing_team_id = 7; + optional uint64 opposing_team_logo = 8; + optional string opposing_team_name = 9; + optional .CMsgFantasyLeagueRoleScoring stats = 10; + optional uint32 owned_by = 11; + optional bool benched = 12; } enum EResult { @@ -2910,6 +2918,11 @@ message CMsgClientProvideSurveyResult { optional uint64 survey_key = 2; } +message CMsgDOTAEmoticonAccessSDO { + optional uint32 account_id = 1; + optional bytes unlocked_emoticons = 2; +} + message CMsgClientToGCTrackDialogResult { optional uint32 dialog_id = 1; optional uint32 value = 2; diff --git a/Resources/Protobufs/dota/dota_gcmessages_common.proto b/Resources/Protobufs/dota/dota_gcmessages_common.proto index 789d5ed2..68f0c81e 100644 --- a/Resources/Protobufs/dota/dota_gcmessages_common.proto +++ b/Resources/Protobufs/dota/dota_gcmessages_common.proto @@ -189,8 +189,6 @@ enum EDOTAGCMsg { k_EMsgGCToGCCanInviteUserResponse = 7235; k_EMsgGCToGCGetUserRank = 7236; k_EMsgGCToGCGetUserRankResponse = 7237; - k_EMsgGCToGCGetTeamRankChange = 7238; - k_EMsgGCToGCGetTeamRankChangeResponse = 7239; k_EMsgGCToGCUpdateTeamStats = 7240; k_EMsgGCToGCGetTeamRank = 7241; k_EMsgGCToGCGetTeamRankResponse = 7242; @@ -200,11 +198,9 @@ enum EDOTAGCMsg { k_EMsgGCPassportDataRequest = 7248; k_EMsgGCPassportDataResponse = 7249; k_EMsgGCNotInGuildData = 7251; - k_EMsgGCPassportVote = 7253; k_EMsgGCGuildInviteData = 7254; k_EMsgGCToGCGetLeagueAdmin = 7255; k_EMsgGCToGCGetLeagueAdminResponse = 7256; - k_EMsgGCPassportVoteSelection = 7257; k_EMsgGCRequestLeaguePrizePool = 7258; k_EMsgGCRequestLeaguePrizePoolResponse = 7259; k_EMsgGCToGCUpdateOpenGuildPartyRequest = 7261; @@ -329,7 +325,6 @@ enum EDOTAGCMsg { k_EMsgDOTARedeemEventPrizeResponse = 7386; k_EMsgDOTAGetEventPoints = 7387; k_EMsgDOTAGetEventPointsResponse = 7388; - k_EMsgGCToGCGrantEventReward = 7389; k_EMsgGCToGCSignoutAwardEventPoints = 7390; k_EMsgDOTASendFriendRecruits = 7393; k_EMsgDOTAFriendRecruitsRequest = 7394; @@ -437,6 +432,8 @@ enum EDOTAGCMsg { k_EMsgDOTAStartDailyHeroChallengeRequest = 7498; k_EMsgGCFantasyPlayerScoreDetailsRequest = 7499; k_EMsgGCFantasyPlayerScoreDetailsResponse = 7500; + k_EMsgGCToGCEmoticonUnlock = 7501; + k_EMsgSignOutDraftInfo = 7502; k_EMsgGCDev_GrantWarKill = 8001; } @@ -461,6 +458,8 @@ enum DOTA_GameMode { DOTA_GAMEMODE_BD = 17; DOTA_GAMEMODE_ABILITY_DRAFT = 18; DOTA_GAMEMODE_EVENT = 19; + DOTA_GAMEMODE_ARDM = 20; + DOTA_GAMEMODE_1V1MID = 21; } enum DOTA_GameState { @@ -472,7 +471,8 @@ enum DOTA_GameState { DOTA_GAMERULES_STATE_GAME_IN_PROGRESS = 5; DOTA_GAMERULES_STATE_POST_GAME = 6; DOTA_GAMERULES_STATE_DISCONNECT = 7; - DOTA_GAMERULES_STATE_LAST = 8; + DOTA_GAMERULES_STATE_TEAM_SHOWCASE = 8; + DOTA_GAMERULES_STATE_LAST = 9; } enum DOTA_GC_TEAM { @@ -557,6 +557,15 @@ enum DOTA_LobbyMemberXPBonus { DOTA_LobbyMemberXPBonus_PCBANG = 5; } +enum EDOTAPlayerMMRType { + k_EDOTAPlayerMMRType_Invalid = 0; + k_EDOTAPlayerMMRType_GeneralHidden = 1; + k_EDOTAPlayerMMRType_SoloHidden = 2; + k_EDOTAPlayerMMRType_GeneralCompetitive = 3; + k_EDOTAPlayerMMRType_SoloCompetitive = 4; + k_EDOTAPlayerMMRType_1v1Competitive = 5; +} + enum LobbyDotaTVDelay { LobbyDotaTV_10 = 0; LobbyDotaTV_120 = 1; @@ -650,12 +659,16 @@ message CSODOTAGameAccountClient { optional uint32 calibration_games_remaining = 51; optional uint32 solo_competitive_rank = 52; optional uint32 solo_calibration_games_remaining = 54; + optional uint32 competitive_1v1_rank = 63; + optional uint32 competitive_1v1_calibration_games_remaining = 64; optional uint32 recruitment_level = 55; optional bool has_new_notifications = 56; optional bool is_league_admin = 57; optional uint32 casual_games_played = 60; optional uint32 solo_competitive_games_played = 61; optional uint32 party_competitive_games_played = 62; + optional uint32 casual_1v1_games_played = 65; + optional uint32 competitive_team_games_played = 66; } message CSODOTAPartyMember { @@ -780,6 +793,7 @@ message CDOTALobbyMember { optional uint32 nexon_pc_bang_no = 24; optional string nexon_pc_bang_name = 25; repeated .CDOTALobbyMember.CDOTALobbyMemberXPBonus xp_bonuses = 27; + optional sint32 rank_change = 29; } message CDOTALobbyMemberPrivate { @@ -802,6 +816,8 @@ message CLobbyTeamDetails { optional uint64 guild_logo = 12; optional uint64 guild_base_logo = 13; optional uint64 guild_banner_logo = 14; + optional uint32 rank = 15; + optional sint32 rank_change = 16; } message CLobbyTimedRewardDetails { @@ -839,9 +855,10 @@ message CSODOTALobby { PRACTICE = 1; TOURNAMENT = 2; COOP_BOT_MATCH = 4; - TEAM_MATCH = 5; - SOLO_QUEUE_MATCH = 6; + LEGACY_TEAM_MATCH = 5; + LEGACY_SOLO_QUEUE_MATCH = 6; COMPETITIVE_MATCH = 7; + CASUAL_1V1_MATCH = 8; } optional uint64 lobby_id = 1 [(key_field) = true]; @@ -884,7 +901,6 @@ message CSODOTALobby { optional uint32 loot_generated = 49; optional uint32 loot_awarded = 50; optional bool allchat = 51 [default = false]; - optional uint32 rank_change = 52; optional .LobbyDotaTVDelay dota_tv_delay = 53 [default = LobbyDotaTV_10]; optional string custom_game_mode = 54; optional string custom_map_name = 55; diff --git a/Resources/Protobufs/dota/dota_usermessages.proto b/Resources/Protobufs/dota/dota_usermessages.proto index b1519ed3..33f3cfb2 100644 --- a/Resources/Protobufs/dota/dota_usermessages.proto +++ b/Resources/Protobufs/dota/dota_usermessages.proto @@ -67,6 +67,7 @@ enum EDotaUserMessages { DOTA_UM_TutorialMinimapPosition = 125; DOTA_UM_PlayerMMR = 126; DOTA_UM_AbilitySteal = 127; + DOTA_UM_CourierKilledAlert = 128; } enum DOTA_CHAT_MESSAGE { @@ -176,6 +177,8 @@ enum DOTA_COMBATLOG_TYPES { DOTA_COMBATLOG_MODIFIER_ADD = 2; DOTA_COMBATLOG_MODIFIER_REMOVE = 3; DOTA_COMBATLOG_DEATH = 4; + DOTA_COMBATLOG_ABILITY = 5; + DOTA_COMBATLOG_ITEM = 6; } enum EDotaEntityMessages { @@ -315,6 +318,13 @@ message CDOTAUserMsg_WillPurchaseAlert { optional int32 player_id = 2; } +message CDOTAUserMsg_CourierKilledAlert { + optional uint32 team = 1; + optional uint32 gold_value = 2; + optional int32 entity_handle = 3; + optional int32 timestamp = 4; +} + message CDOTAUserMsg_MinimapEvent { optional int32 event_type = 1; optional int32 entity_handle = 2; @@ -603,6 +613,8 @@ message CDOTAUserMsg_ShowSurvey { optional int32 survey_id = 1; optional uint32 match_id = 2; optional string response_style = 3; + optional uint32 teammate_hero_id = 4; + optional string teammate_name = 5; } message CDOTAUserMsg_UpdateSharedContent { diff --git a/Resources/Protobufs/dota/econ_gcmessages.proto b/Resources/Protobufs/dota/econ_gcmessages.proto index 059402c5..fc4044df 100644 --- a/Resources/Protobufs/dota/econ_gcmessages.proto +++ b/Resources/Protobufs/dota/econ_gcmessages.proto @@ -157,6 +157,10 @@ enum EGCItemMsg { k_EMsgGCPartnerBalanceResponse = 2558; k_EMsgGCPartnerRechargeRedirectURLRequest = 2559; k_EMsgGCPartnerRechargeRedirectURLResponse = 2560; + k_EMsgGCStatueCraft = 2561; + k_EMsgGCRedeemCode = 2562; + k_EMsgGCRedeemCodeResponse = 2563; + k_EMsgGCToGCItemConsumptionRollback = 2564; } enum EGCMsgResponse { @@ -358,10 +362,24 @@ message CMsgGCToGCCheckAccountTradeStatusResponse { message CMsgGCToGCGrantAccountRolledItems { message Item { + message DynamicAttribute { + optional string name = 1; + optional uint32 value_uint32 = 2; + optional float value_float = 3; + } + + message AdditionalAuditEntry { + optional uint32 owner_account_id = 1; + optional uint32 audit_action = 2; + optional uint32 audit_data = 3; + } + optional uint32 item_def = 1; repeated string loot_lists = 2; optional bool ignore_limit = 3; optional uint32 origin = 4; + repeated .CMsgGCToGCGrantAccountRolledItems.Item.DynamicAttribute dynamic_attributes = 5; + repeated .CMsgGCToGCGrantAccountRolledItems.Item.AdditionalAuditEntry additional_audit_entries = 6; } optional uint32 account_id = 1; @@ -406,3 +424,25 @@ message CMsgGCPartnerRechargeRedirectURLResponse { optional string url = 2; } +message CMsgGCEconSQLWorkItemEmbeddedRollbackData { + optional uint32 account_id = 1; + optional uint64 deleted_item_id = 2; +} + +message CMsgCraftStatue { + optional uint32 heroid = 1; + optional string sequencename = 2; + optional float cycle = 3; + optional string description = 4; + optional uint32 pedestal_itemdef = 5; + optional uint64 toolid = 6; +} + +message CMsgRedeemCode { + optional string code = 1; +} + +message CMsgRedeemCodeResponse { + optional uint32 response = 1; +} + diff --git a/Resources/Protobufs/dota/gcsdk_gcmessages.proto b/Resources/Protobufs/dota/gcsdk_gcmessages.proto index ec755824..f79f8d0a 100644 --- a/Resources/Protobufs/dota/gcsdk_gcmessages.proto +++ b/Resources/Protobufs/dota/gcsdk_gcmessages.proto @@ -93,10 +93,15 @@ message CMsgGCMultiplexMessage { } message CGCToGCMsgMasterAck { + message Process { + optional uint32 dir_index = 1; + repeated uint32 type_instances = 2; + } + optional uint32 dir_index = 1; optional string machine_name = 3; optional string process_name = 4; - repeated uint32 type_instances = 5; + repeated .CGCToGCMsgMasterAck.Process directory = 6; } message CGCToGCMsgMasterAck_Response { diff --git a/Resources/Protobufs/dota/matchmaker_common.proto b/Resources/Protobufs/dota/matchmaker_common.proto index bac7e3c7..4c8bda0d 100644 --- a/Resources/Protobufs/dota/matchmaker_common.proto +++ b/Resources/Protobufs/dota/matchmaker_common.proto @@ -2,9 +2,10 @@ enum MatchType { MATCH_TYPE_CASUAL = 0; MATCH_TYPE_COOP_BOTS = 1; MATCH_TYPE_TEAM_RANKED = 2; - MATCH_TYPE_SOLO_QUEUE = 3; + MATCH_TYPE_LEGACY_SOLO_QUEUE = 3; MATCH_TYPE_COMPETITIVE = 4; MATCH_TYPE_WEEKEND_TOURNEY = 5; + MATCH_TYPE_CASUAL_1V1 = 6; } enum DOTABotDifficulty { diff --git a/Resources/Protobufs/dota/usermessages.proto b/Resources/Protobufs/dota/usermessages.proto index d57a41a3..34ddb898 100644 --- a/Resources/Protobufs/dota/usermessages.proto +++ b/Resources/Protobufs/dota/usermessages.proto @@ -32,6 +32,7 @@ enum EBaseUserMessages { UM_VoiceMask = 28; UM_VoiceSubtitle = 29; UM_SendAudio = 30; + UM_CameraTransition = 31; UM_MAX_BASE = 63; } @@ -199,3 +200,14 @@ message CUserMsg_MessageText { optional string text = 2; } +message CUserMsg_CameraTransition { + message Transition_DataDriven { + optional string filename = 1; + optional int32 attach_ent_index = 2; + } + + optional uint32 camera_type = 1; + optional float duration = 2; + optional .CUserMsg_CameraTransition.Transition_DataDriven params_data_driven = 3; +} +