Skip to content

Commit

Permalink
protobuf additions (user messages)
Browse files Browse the repository at this point in the history
  • Loading branch information
onethirtyfive committed Sep 3, 2013
1 parent e78082c commit 3b27183
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 18 deletions.
9 changes: 9 additions & 0 deletions protobuf/dota_usermessages.proto
Expand Up @@ -53,6 +53,7 @@ enum EDotaUserMessages {
DOTA_UM_TutorialFinish = 111;
DOTA_UM_SendRoshanPopup = 112;
DOTA_UM_SendGenericToolTip = 113;
DOTA_UM_SendFinalGold = 114;
}

enum DOTA_CHAT_MESSAGE {
Expand Down Expand Up @@ -175,6 +176,9 @@ enum DOTA_OVERHEAD_ALERT {
OVERHEAD_ALERT_HEAL = 10;
OVERHEAD_ALERT_MANA_ADD = 11;
OVERHEAD_ALERT_MANA_LOSS = 12;
OVERHEAD_ALERT_LAST_HIT_EARLY = 13;
OVERHEAD_ALERT_LAST_HIT_CLOSE = 14;
OVERHEAD_ALERT_LAST_HIT_MISS = 15;
}

message CDOTAUserMsg_AIDebugLine {
Expand Down Expand Up @@ -589,3 +593,8 @@ message CDOTAUserMsg_SendRoshanPopup {
optional int32 gametime = 2;
}

message CDOTAUserMsg_SendFinalGold {
repeated uint32 reliable_gold = 1;
repeated uint32 unreliable_gold = 2;
}

3 changes: 2 additions & 1 deletion skadi/engine/user_message.py
Expand Up @@ -46,7 +46,8 @@
106: 'GamerulesStateChanged', 107: 'ShowSurvey',
108: 'TutorialFade', 109: 'AddQuestLogEntry',
110: 'SendStatPopup', 111: 'TutorialFinish',
112: 'SendRoshanPopup', 113: 'SendGenericToolTip'
112: 'SendRoshanPopup', 113: 'SendGenericToolTip',
114: 'SendFinalGold'
}


Expand Down

0 comments on commit 3b27183

Please sign in to comment.