Difference between revisions of "Counter-Strike: Global Offensive UserMessages"
(Another Safety Save) |
(Finally finished the last one, however we need to copy netmessages.proto at some point) |
||
Line 1: | Line 1: | ||
− | Counter-Strike: Global Offensive uses Google's | + | Counter-Strike: Global Offensive uses Google's [[Protobuf|Protocol Buffers]] instead of Valve's traditional UserMessages. |
The data on this page was read from [http://hg.alliedmods.net/hl2sdks/hl2sdk-csgo/file/tip/public/game/shared/csgo/protobuf/cstrike15_usermessages.proto cstrike15_usermessages.proto] which was provided by Valve. | The data on this page was read from [http://hg.alliedmods.net/hl2sdks/hl2sdk-csgo/file/tip/public/game/shared/csgo/protobuf/cstrike15_usermessages.proto cstrike15_usermessages.proto] which was provided by Valve. | ||
Line 359: | Line 359: | ||
{{hl2msg|int32|num_hits_taken|}} | {{hl2msg|int32|num_hits_taken|}} | ||
{{hl2msg|int32|damage_taken|}} | {{hl2msg|int32|damage_taken|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | == ServerRankUpdate == | ||
+ | |||
+ | {{begin-hl2msg|RankUpdate|string}} | ||
+ | {{hl2msg|int32|account_id|}} | ||
+ | {{hl2msg|int32|rank_old|}} | ||
+ | {{hl2msg|int32|rank_new|}} | ||
+ | {{hl2msg|int32|num_wins|}} | ||
+ | {{hl2msg|float|rank_change|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | {{begin-hl2msg|ServerRankUpdate|string}} | ||
+ | {{hl2msg|repeated RankUpdate|rank_update|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | == ItemPickup == | ||
+ | |||
+ | {{begin-hl2msg|ItemPickup|string}} | ||
+ | {{hl2msg|string|item|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | == ShowMenu == | ||
+ | |||
+ | {{begin-hl2msg|ShowMenu|string}} | ||
+ | {{hl2msg|int32|bits_valid_slots|}} | ||
+ | {{hl2msg|int32|display_time|}} | ||
+ | {{hl2msg|string|menu_string|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | == BarTime == | ||
+ | |||
+ | {{begin-hl2msg|BarTime|string}} | ||
+ | {{hl2msg|string|time|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | == AmmoDenied == | ||
+ | |||
+ | {{begin-hl2msg|AmmoDenied|string}} | ||
+ | {{hl2msg|int32|ammoIdx|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | == MarkAchievement == | ||
+ | |||
+ | {{begin-hl2msg|MarkAchievement|string}} | ||
+ | {{hl2msg|string|achievement|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | == MatchStatsUpdate == | ||
+ | |||
+ | {{begin-hl2msg|MatchStatsUpdate|string}} | ||
+ | {{hl2msg|string|update|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | == ItemDrop == | ||
+ | |||
+ | {{begin-hl2msg|ItemDrop|string}} | ||
+ | {{hl2msg|int64|itemid|}} | ||
+ | {{hl2msg|bool|death|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | == GlowPropTurnOff == | ||
+ | |||
+ | {{begin-hl2msg|GlowPropTurnOff|string}} | ||
+ | {{hl2msg|int32|entidx|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | {{qnotice|Messages where the data seems to e irrelevant}} | ||
+ | |||
+ | == ResetHud == | ||
+ | |||
+ | {{begin-hl2msg|ResetHud|string}} | ||
+ | {{hl2msg|bool|reset|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | == GameTitle == | ||
+ | |||
+ | {{begin-hl2msg|GameTitle|string}} | ||
+ | {{hl2msg|int32|dummy|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | == RequestState == | ||
+ | |||
+ | {{begin-hl2msg|RequestState|string}} | ||
+ | {{hl2msg|int32|dummy|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | == StopSpectatorMode == | ||
+ | |||
+ | {{begin-hl2msg|StopSpectatorMode|string}} | ||
+ | {{hl2msg|int32|dummy|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | == DisconnectToLobby == | ||
+ | |||
+ | {{begin-hl2msg|DisconnectToLobby|string}} | ||
+ | {{hl2msg|int32|dummy|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | == WarmupHasEnded == | ||
+ | |||
+ | {{begin-hl2msg|WarmupHasEnded|string}} | ||
+ | {{hl2msg|int32|dummy|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | == ClientInfo == | ||
+ | |||
+ | {{begin-hl2msg|ClientInfo|string}} | ||
+ | {{hl2msg|int32|dummy|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | == ServerRankRevealAll == | ||
+ | |||
+ | {{begin-hl2msg|ServerRankRevealAll|string}} | ||
+ | {{hl2msg|int32|dummy|}} | ||
{{end-hl2msg}} | {{end-hl2msg}} |
Revision as of 09:56, 26 March 2013
Counter-Strike: Global Offensive uses Google's Protocol Buffers instead of Valve's traditional UserMessages.
The data on this page was read from cstrike15_usermessages.proto which was provided by Valve.
Contents
- 1 Valve Copyright Notice
- 2 VGUIMenu
- 3 Geiger
- 4 Train
- 5 HudText
- 6 SayText
- 7 SayText2
- 8 TextMsg
- 9 HudMsg
- 10 Shake
- 11 Fade
- 12 Rumble
- 13 CloseCaption
- 14 CloseCaptionDirect
- 15 SendAudio
- 16 RawAudio
- 17 VoiceMask
- 18 Damage
- 19 RadioText
- 20 HintText
- 21 KeyHintText
- 22 ProcessSpottedEntityUpdate
- 23 ReloadEffect
- 24 AdjustMoney
- 25 KillCam
- 26 DesiredTimescale
- 27 CurrentTimescale
- 28 AchievementEvent
- 29 MatchEndConditions
- 30 PlayerStatsUpdate
- 31 DisplayInventory
- 32 XRankGet
- 33 XRankUpd
- 34 CallVoteFailed
- 35 VoteStart
- 36 VotePass
- 37 VoteFailed
- 38 VoteSetup
- 39 SendLastKillerDamageToClient
- 40 ServerRankUpdate
- 41 ItemPickup
- 42 ShowMenu
- 43 BarTime
- 44 AmmoDenied
- 45 MarkAchievement
- 46 MatchStatsUpdate
- 47 ItemDrop
- 48 GlowPropTurnOff
- 49 ResetHud
- 50 GameTitle
- 51 RequestState
- 52 StopSpectatorMode
- 53 DisconnectToLobby
- 54 WarmupHasEnded
- 55 ClientInfo
- 56 ServerRankRevealAll
Valve Copyright Notice
//====== Copyright (c) 2013, Valve Corporation, All rights reserved. ========// // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // Redistributions of source code must retain the above copyright notice, this // list of conditions and the following disclaimer. // Redistributions in binary form must reproduce the above copyright notice, // this list of conditions and the following disclaimer in the documentation // and/or other materials provided with the distribution. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF // THE POSSIBILITY OF SUCH DAMAGE. //===========================================================================// // // Purpose: The file defines our Google Protocol Buffers which are used in over // the wire messages for the Source engine. // //=============================================================================
VGUIMenu
Name: | SubKey | ||||||
Structure: |
|
Name: | VGUIMenu | |||||||||
Structure: |
|
Geiger
Name: | Geiger | |||
Structure: |
|
Train
Name: | Train | |||
Structure: |
|
HudText
Name: | HudText | |||
Structure: |
|
SayText
Name: | SayText | ||||||||||||
Structure: |
|
SayText2
Name: | SayText2 | |||||||||||||||
Structure: |
|
TextMsg
Name: | TextMsg | ||||||
Structure: |
|
HudMsg
Name: | HudMsg | ||||||||||||||||||||||||||||||
Structure: |
|
Shake
Name: | Shake | ||||||||||||
Structure: |
|
Fade
Name: | Fade | ||||||||||||
Structure: |
|
Rumble
Name: | Rumble | |||||||||
Structure: |
|
CloseCaption
Name: | CloseCaption | |||||||||
Structure: |
|
CloseCaptionDirect
Name: | CloseCaptionDirect | |||||||||
Structure: |
|
SendAudio
Name: | SendAudio | |||
Structure: |
|
RawAudio
Name: | RawAudio | ||||||||||||
Structure: |
|
VoiceMask
Name: | PlayerMask | ||||||
Structure: |
|
Name: | VoiceMask | ||||||
Structure: |
|
Damage
Name: | Damage | ||||||
Structure: |
|
RadioText
Name: | RadioText | ||||||||||||
Structure: |
|
HintText
Name: | HintText | |||
Structure: |
|
KeyHintText
Name: | KeyHintText | |||
Structure: |
|
ProcessSpottedEntityUpdate
Note: gurjeets - Message below is slightly bigger in size than the non-protobuf version, by around 8 bits.
Name: | SpottedEntityUpdate | |||||||||||||||||||||||||||
Structure: |
|
Name: | ProcessSpottedEntityUpdate | |||
Structure: |
|
ReloadEffect
Name: | ReloadEffect | |||
Structure: |
|
AdjustMoney
Name: | AdjustMoney | |||
Structure: |
|
KillCam
Name: | KillCam | |||||||||
Structure: |
|
DesiredTimescale
Name: | DesiredTimescale | ||||||||||||
Structure: |
|
CurrentTimescale
Name: | CurrentTimescale | |||
Structure: |
|
AchievementEvent
Name: | AchievementEvent | |||||||||
Structure: |
|
MatchEndConditions
Name: | MatchEndConditions | ||||||||||||
Structure: |
|
PlayerStatsUpdate
Name: | Stat | ||||||
Structure: |
|
Name: | PlayerStatsUpdate | |||||||||||||||
Structure: |
|
DisplayInventory
Name: | DisplayInventory | ||||||
Structure: |
|
XRankGet
Name: | XRankGet | ||||||
Structure: |
|
XRankUpd
Name: | XRankUpd | |||||||||
Structure: |
|
CallVoteFailed
Name: | CallVoteFailed | ||||||
Structure: |
|
VoteStart
Name: | VoteStart | |||||||||||||||||||||
Structure: |
|
VotePass
Name: | VotePass | ||||||||||||
Structure: |
|
VoteFailed
Name: | VoteFailed | ||||||
Structure: |
|
VoteSetup
Name: | VoteSetup | |||
Structure: |
|
SendLastKillerDamageToClient
Name: | SendLastKillerDamageToClient | ||||||||||||
Structure: |
|
ServerRankUpdate
Name: | RankUpdate | |||||||||||||||
Structure: |
|
Name: | ServerRankUpdate | |||
Structure: |
|
ItemPickup
Name: | ItemPickup | |||
Structure: |
|
ShowMenu
Name: | ShowMenu | |||||||||
Structure: |
|
BarTime
Name: | BarTime | |||
Structure: |
|
AmmoDenied
Name: | AmmoDenied | |||
Structure: |
|
MarkAchievement
Name: | MarkAchievement | |||
Structure: |
|
MatchStatsUpdate
Name: | MatchStatsUpdate | |||
Structure: |
|
ItemDrop
Name: | ItemDrop | ||||||
Structure: |
|
GlowPropTurnOff
Name: | GlowPropTurnOff | |||
Structure: |
|
Note: Messages where the data seems to e irrelevant
ResetHud
Name: | ResetHud | |||
Structure: |
|
GameTitle
Name: | GameTitle | |||
Structure: |
|
RequestState
Name: | RequestState | |||
Structure: |
|
StopSpectatorMode
Name: | StopSpectatorMode | |||
Structure: |
|
DisconnectToLobby
Name: | DisconnectToLobby | |||
Structure: |
|
WarmupHasEnded
Name: | WarmupHasEnded | |||
Structure: |
|
ClientInfo
Name: | ClientInfo | |||
Structure: |
|
ServerRankRevealAll
Name: | ServerRankRevealAll | |||
Structure: |
|