以下是所有从 vpk 获取的游戏事件列表,在 cssharp 中,这些事件的类名通常是 snake case 转成 pascal case 并在开头加一个 Event,例如 EventPlayerSpawn 类代表 player_spawn 事件。
send once a server starts
| 字段 | 数据类型 | 简介 |
|---|
| hostname | string | public host name |
| address | string | hostame, IP or DNS name |
| port | short | server port |
| game | string | game dir |
| mapname | string | map name |
| addonname | string | addon name |
| maxplayers | long | max players |
| os | string | WIN32, LINUX |
| dedicated | bool | true if dedicated server |
| password | bool | true if password protected |
server is about to be shut down
| 字段 | 数据类型 | 简介 |
|---|
| reason | string | reason why server is about to be shut down |
server shut down
| 字段 | 数据类型 | 简介 |
|---|
| reason | string | reason why server was shut down |
a generic server message
| 字段 | 数据类型 | 简介 |
|---|
| text | string | the message text |
a server console var has changed
| 字段 | 数据类型 | 简介 |
|---|
| cvarname | string | cvar name, eg "mp_roundtime" |
| cvarvalue | string | new cvar value |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | user ID on server |
player has sent final message in the connection sequence
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | user ID on server (unique on server) |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | user ID on server |
| count | short | Number of this full update |
a new client connected
| 字段 | 数据类型 | 简介 |
|---|
| name | string | player name |
| userid | player_controller | user ID on server (unique on server) |
| networkid | string | player network (i.e steam) id |
| xuid | uint64 | steam id |
| address | string | ip:port |
| bot | bool | |
a client was disconnected
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | user ID on server |
| reason | short | see networkdisconnect enum protobuf |
| name | string | player name |
| networkid | string | player network (i.e steam) id |
| xuid | uint64 | steam id |
| PlayerID | short | |
a player changed his name
| 字段 | 数据类型 | 简介 |
|---|
| name | string | player name |
| userid | player_controller | user ID on server (unique on server) |
| steamid | uint64 | player network (i.e steam) id |
| bot | bool | true if player is a AI bot |
player spawned in game
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| team | byte | team id |
| oldteam | byte | old team id |
| disconnect | bool | team change because player disconnects |
| silent | bool | |
| name | string | |
| isbot | bool | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | user ID on server |
| oldname | string | players old (current) name |
| newname | string | players new name |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | player who was hurt |
| attacker | player_controller_and_pawn | player who attacked |
| health | byte | remaining health points |
a public player chat
| 字段 | 数据类型 | 简介 |
|---|
| teamonly | bool | true if team only chat |
| userid | player_controller | chatting player |
| playerid | short | chatting player ID |
| text | string | chat text |
emits a sound to everyone on a team
| 字段 | 数据类型 | 简介 |
|---|
| team | byte | unique team id |
| sound | string | name of the sound to emit |
fired when achievements/stats are downloaded from Steam or XBox Live
info about team
| 字段 | 数据类型 | 简介 |
|---|
| teamid | byte | unique team id |
| teamname | string | team name eg "Team Blue" |
team score changed
| 字段 | 数据类型 | 简介 |
|---|
| teamid | byte | team id |
| score | short | total team score |
a spectator/player is a cameraman
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | camera man entity index |
shot of a single entity
| 字段 | 数据类型 | 简介 |
|---|
| target1 | player_controller | primary traget index |
| target2 | player_controller | secondary traget index or 0 |
| distance | short | camera distance |
| theta | short | view angle horizontal |
| phi | short | view angle vertical |
| inertia | byte | camera inertia |
| ineye | byte | diretcor suggests to show ineye |
a camera ranking
| 字段 | 数据类型 | 简介 |
|---|
| index | byte | fixed camera index |
| rank | float | ranking, how interesting is this camera view |
| target | player_controller | best/closest target entity |
an entity ranking
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | player slot |
| rank | float | ranking, how interesting is this entity to view |
| target | player_controller | best/closest target entity |
show from fixed view
| 字段 | 数据类型 | 简介 |
|---|
| posx | long | camera position in world |
| posy | long | |
| posz | long | |
| theta | short | camera angles |
| phi | short | |
| offset | short | |
| fov | float | |
| target | player_controller | follow this player |
a HLTV message send by moderators
general HLTV status
| 字段 | 数据类型 | 简介 |
|---|
| clients | long | number of HLTV spectators |
| slots | long | number of HLTV slots |
| proxies | short | number of HLTV proxies |
| master | string | disptach master IP:port |
a HLTV chat msg sent by spectators
| 字段 | 数据类型 | 简介 |
|---|
| text | string | |
| steamID | uint64 | steam id |
| 字段 | 数据类型 | 简介 |
|---|
| delay | long | number of seconds in killer replay delay |
| reason | long | reason for replay (ReplayEventType_t) |
| 字段 | 数据类型 | 简介 |
|---|
| reason | long | reason for hltv replay status change () |
| 字段 | 数据类型 | 简介 |
|---|
| local | 1 | |
| dota_combatlog_list | local | CSVCMsgList_GameEvents that are combat log events |
| dota_hero_chase_list | local | CSVCMsgList_GameEvents |
| dota_pick_hero_list | local | CSVCMsgList_GameEvents |
| 字段 | 数据类型 | 简介 |
|---|
| local | 1 | |
| playback_tick | long | current playback tick |
| skipto_tick | long | tick we're going to |
| user_message_list | local | CSVCMsgList_UserMessages |
| dota_hero_chase_list | local | CSVCMsgList_GameEvents |
| 字段 | 数据类型 | 简介 |
|---|
| newDifficulty | short | |
| oldDifficulty | short | |
| strDifficulty | string | new difficulty as string |
a message send by game logic to everyone
| 字段 | 数据类型 | 简介 |
|---|
| target | byte | 0 = console, 1 = HUD |
| text | string | the message text |
send when new map is completely loaded
| 字段 | 数据类型 | 简介 |
|---|
| mapname | string | map name |
| transition | bool | true if this is a transition from one map to another |
| 字段 | 数据类型 | 简介 |
|---|
| timelimit | long | round time limit in seconds |
| fraglimit | long | frag limit in seconds |
| objective | string | round objective |
| 字段 | 数据类型 | 简介 |
|---|
| winner | byte | winner team/user i |
| reason | byte | reson why team won |
| message | string | end round message |
| time | float | |
round restart
| 字段 | 数据类型 | 简介 |
|---|
| full_reset | bool | is this a full reset of the map |
a game event, name may be 32 charaters long
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | user ID who died |
| attacker | player_controller_and_pawn | user ID who killed |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_pawn | |
| 字段 | 数据类型 | 简介 |
|---|
| hintmessage | string | localizable string of a hint |
| 字段 | 数据类型 | 简介 |
|---|
| entindex | long | |
| userid | player_pawn | |
| material | byte | BREAK_GLASS, BREAK_WOOD, etc |
| 字段 | 数据类型 | 简介 |
|---|
| entindex | long | |
| userid | player_pawn | |
| material | byte | BREAK_GLASS, BREAK_WOOD, etc |
| 字段 | 数据类型 | 简介 |
|---|
| entindex | long | |
| userid | player_pawn | |
| player_held | bool | |
| player_thrown | bool | |
| player_dropped | bool | |
| 字段 | 数据类型 | 简介 |
|---|
| entindex_killed | long | |
| entindex_attacker | long | |
| entindex_inflictor | long | |
| damagebits | long | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_pawn | Who closed the door |
| checkpoint | bool | Is the door a checkpoint door |
| 字段 | 数据类型 | 简介 |
|---|
| issue | string | |
| param1 | string | |
| votedata | string | |
| team | byte | |
| initiator | long | entity id of the player who initiated the vote |
| reliable | 1 | this event is reliable |
| 字段 | 数据类型 | 简介 |
|---|
| team | byte | |
| reliable | 1 | this event is reliable |
| 字段 | 数据类型 | 简介 |
|---|
| details | string | |
| param1 | string | |
| team | byte | |
| reliable | 1 | this event is reliable |
| 字段 | 数据类型 | 简介 |
|---|
| yesVotes | byte | |
| noVotes | byte | |
| potentialVotes | byte | |
| 字段 | 数据类型 | 简介 |
|---|
| team | byte | |
| entityid | long | entity id of the voter |
| 字段 | 数据类型 | 简介 |
|---|
| team | byte | |
| entityid | long | entity id of the voter |
| 字段 | 数据类型 | 简介 |
|---|
| achievement_name | string | non-localized name of achievement |
| cur_val | short | # of steps toward achievement |
| max_val | short | total # of steps in achievement |
| 字段 | 数据类型 | 简介 |
|---|
| player | player_controller | entindex of the player |
| achievement | short | achievement ID |
| 字段 | 数据类型 | 简介 |
|---|
| numadvanced | short | |
| numbronze | short | |
| numsilver | short | |
| numgold | short | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | spectating player |
| target | ehandle | ehandle of the target |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | spectating player |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | The player who sees the entity |
| subject | long | Entindex of the entity they see |
| classname | string | Classname of the entity they see |
| entityname | string | name of the entity they see |
| 字段 | 数据类型 | 简介 |
|---|
| entindex | long | entity ignited |
| 字段 | 数据类型 | 简介 |
|---|
| target | ehandle | entity picked up |
| 字段 | 数据类型 | 简介 |
|---|
| itemdef | short | |
| itemid | long | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | The player who this lesson is intended for |
| hint_name | string | Name of the lesson to start. Must match instructor_lesson.txt |
| hint_target | long | entity id that the hint should display at. Leave empty if controller target |
| vr_movement_type | byte | |
| vr_single_controller | bool | |
| vr_controller_type | byte | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | The player who this lesson is intended for |
| hint_name | string | Name of the lesson to start. Must match instructor_lesson.txt |
create a hint using data supplied entirely by the server/map. Intended for hints to smooth playtests before content is ready to make the hint unneccessary. NOT INTENDED AS A SHIPPABLE CRUTCH
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | user ID of the player that triggered the hint |
| hint_entindex | long | entity id of the env_instructor_hint that fired the event |
| hint_name | string | what to name the hint. For referencing it again later (e.g. a kill command for the hint instead of a timeout) |
| hint_replace_key | string | type name so that messages of the same type will replace each other |
| hint_target | long | entity id that the hint should display at |
| hint_activator_userid | player_controller | playerslot of the activator |
| hint_timeout | short | how long in seconds until the hint automatically times out, 0 = never |
| hint_icon_onscreen | string | the hint icon to use when the hint is onscreen. e.g. "icon_alert_red" |
| hint_icon_offscreen | string | the hint icon to use when the hint is offscreen. e.g. "icon_alert" |
| hint_caption | string | the hint caption. e.g. "#ThisIsDangerous" |
| hint_activator_caption | string | the hint caption that only the activator sees e.g. "#YouPushedItGood" |
| hint_color | string | the hint color in "r,g,b" format where each component is 0-255 |
| hint_icon_offset | float | how far on the z axis to offset the hint from entity origin |
| hint_range | float | range before the hint is culled |
| hint_flags | long | hint flags |
| hint_binding | string | bindings to use when use_binding is the onscreen icon |
| hint_allow_nodraw_target | bool | if false, the hint will dissappear if the target entity is invisible |
| hint_nooffscreen | bool | if true, the hint will not show when outside the player view |
| hint_forcecaption | bool | if true, the hint caption will show even if the hint is occluded |
| hint_local_player_only | bool | if true, only the local player will see the hint |
| hint_start_sound | string | Game sound to play |
| hint_layoutfile | string | Path for Panorama layout file |
| hint_vr_panel_type | short | Attachment type for the Panorama panel |
| hint_vr_height_offset | float | Height offset for attached panels |
| hint_vr_offset_x | float | offset for attached panels |
| hint_vr_offset_y | float | offset for attached panels |
| hint_vr_offset_z | float | offset for attached panels |
destroys a server/map created hint
| 字段 | 数据类型 | 简介 |
|---|
| hint_name | string | The hint to stop. Will stop ALL hints with this name |
| hint_entindex | long | entity id of the env_instructor_hint that fired the event |
| 字段 | 数据类型 | 简介 |
|---|
| group | string | |
| enabled | short | |
| 字段 | 数据类型 | 简介 |
|---|
| lesson_name | string | |
player change his team
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | player |
| team | byte | team id |
| oldteam | byte | old team id |
| disconnect | bool | team change because player disconnects |
| silent | bool | |
| isbot | bool | true if player is a bot |
a public player chat
| 字段 | 数据类型 | 简介 |
|---|
| teamonly | bool | true if team only chat |
| userid | short | chatting player |
| text | string | chat text |
players scores changed
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | user ID on server |
| kills | short | # of kills |
| deaths | short | # of deaths |
| score | short | total game score |
player shoot his weapon
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | user ID on server |
| weapon | byte | weapon ID |
| mode | byte | weapon mode |
sent when a new game is started
send when new map is completely loaded
| 字段 | 数据类型 | 简介 |
|---|
| mapname | string | map name |
a new game starts
| 字段 | 数据类型 | 简介 |
|---|
| roundslimit | long | max round |
| timelimit | long | time limit |
| fraglimit | long | frag limit |
| objective | string | round objective |
a game ended
| 字段 | 数据类型 | 简介 |
|---|
| winner | byte | winner team/user id |
| 字段 | 数据类型 | 简介 |
|---|
| winner | byte | winner team/user i |
| reason | byte | reson why team won |
| message | string | end round message |
| legacy | byte | server-generated legacy value |
| 字段 | 数据类型 | 简介 |
|---|
| published_file_id | uint64 | |
| 字段 | 数据类型 | 简介 |
|---|
| published_file_id | uint64 | |
| 字段 | 数据类型 | 简介 |
|---|
| published_file_id | uint64 | |
| error_code | long | |
| 字段 | 数据类型 | 简介 |
|---|
| hcontent | uint64 | id of this specific content (may be image or map) |
| 字段 | 数据类型 | 简介 |
|---|
| hcontent | uint64 | id of this specific content (may be image or map) |
| published_file_id | uint64 | id of the associated content package |
| 字段 | 数据类型 | 简介 |
|---|
| time | short | The length of time that this bonus lasts |
| Pos | short | Loadout position of the bonus weapon |
| 字段 | 数据类型 | 简介 |
|---|
| phase | short | The phase # |
| 字段 | 数据类型 | 简介 |
|---|
| entindex | long | |
| userid | player_pawn | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_pawn | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | The player who sees the entity |
| subject | short | Entindex of the entity they see |
| classname | string | Classname of the entity they see |
| entityname | string | name of the entity they see |
create a hint using data supplied entirely by the server/map. Intended for hints to smooth playtests before content is ready to make the hint unneccessary. NOT INTENDED AS A SHIPPABLE CRUTCH
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | user ID of the player that triggered the hint |
| hint_name | string | what to name the hint. For referencing it again later (e.g. a kill command for the hint instead of a timeout) |
| hint_replace_key | string | type name so that messages of the same type will replace each other |
| hint_target | long | entity id that the hint should display at |
| hint_activator_userid | player_controller | userid id of the activator |
| hint_timeout | short | how long in seconds until the hint automatically times out, 0 = never |
| hint_icon_onscreen | string | the hint icon to use when the hint is onscreen. e.g. "icon_alert_red" |
| hint_icon_offscreen | string | the hint icon to use when the hint is offscreen. e.g. "icon_alert" |
| hint_caption | string | the hint caption. e.g. "#ThisIsDangerous" |
| hint_activator_caption | string | the hint caption that only the activator sees e.g. "#YouPushedItGood" |
| hint_color | string | the hint color in "r,g,b" format where each component is 0-255 |
| hint_icon_offset | float | how far on the z axis to offset the hint from entity origin |
| hint_range | float | range before the hint is culled |
| hint_flags | long | hint flags |
| hint_binding | string | bindings to use when use_binding is the onscreen icon |
| hint_gamepad_binding | string | gamepad bindings to use when use_binding is the onscreen icon |
| hint_allow_nodraw_target | bool | if false, the hint will dissappear if the target entity is invisible |
| hint_nooffscreen | bool | if true, the hint will not show when outside the player view |
| hint_forcecaption | bool | if true, the hint caption will show even if the hint is occluded |
| hint_local_player_only | bool | if true, only the local player will see the hint |
destroys a server/map created hint
| 字段 | 数据类型 | 简介 |
|---|
| hint_name | string | The hint to stop. Will stop ALL hints with this name |
read user titledata from profile
| 字段 | 数据类型 | 简介 |
|---|
| controllerId | short | Controller id of user |
write user titledata in profile
| 字段 | 数据类型 | 简介 |
|---|
| controllerId | short | Controller id of user |
reset user titledata; do not automatically write profile
| 字段 | 数据类型 | 简介 |
|---|
| controllerId | short | Controller id of user |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | Player who this event applies to |
| mode | byte | EWeaponHudSelectionMode (switch / pickup / drop) |
| entindex | long | Weapon entity index |
| 字段 | 数据类型 | 简介 |
|---|
| issue | string | |
| param1 | string | |
| team | byte | |
| initiator | long | entity id of the player who initiated the vote |
| 字段 | 数据类型 | 简介 |
|---|
| vote_option1 | byte | |
| vote_option2 | byte | |
| vote_option3 | byte | |
| vote_option4 | byte | |
| vote_option5 | byte | |
| potentialVotes | byte | |
| 字段 | 数据类型 | 简介 |
|---|
| vote_option | byte | which option the player voted on |
| team | short | |
| userid | player_controller | player who voted |
| 字段 | 数据类型 | 简介 |
|---|
| count | byte | Number of options - up to MAX_VOTE_OPTIONS |
| option1 | string | |
| option2 | string | |
| option3 | string | |
| option4 | string | |
| option5 | string | |
| 字段 | 数据类型 | 简介 |
|---|
| count | byte | Number of "ties" |
| slot1 | byte | |
| slot2 | byte | |
| slot3 | byte | |
| slot4 | byte | |
| slot5 | byte | |
| slot6 | byte | |
| slot7 | byte | |
| slot8 | byte | |
| slot9 | byte | |
| slot10 | byte | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| pos_x | float | |
| pos_y | float | |
| pos_z | float | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_pawn | Who closed the door |
| entindex | long | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_pawn | Who closed the door |
| entindex | long | |
| 字段 | 数据类型 | 简介 |
|---|
| entindex | long | |
| dmgstate | long | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| bone | short | |
| pos_x | short | |
| pos_y | short | |
| pos_z | short | |
| ang_x | short | |
| ang_y | short | |
| ang_z | short | |
| start_x | short | |
| start_y | short | |
| start_z | short | |
| hit | bool | |
a game event, name may be 32 characters long
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | user who died |
| attacker | player_controller_and_pawn | player who killed |
| assister | player_controller_and_pawn | player who assisted in the kill |
| assistedflash | bool | assister helped with a flash |
| weapon | string | weapon name killer used |
| weapon_itemid | string | inventory item id of weapon killer used |
| weapon_fauxitemid | string | faux item id of weapon killer used |
| weapon_originalowner_xuid | string | |
| headshot | bool | singals a headshot |
| dominated | short | did killer dominate victim with this kill |
| revenge | short | did killer get revenge on victim with this kill |
| wipe | short | is the kill resulting in squad wipe |
| penetrated | short | number of objects shot penetrated before killing target |
| noreplay | bool | if replay data is unavailable, this will be present and set to false |
| noscope | bool | kill happened without a scope, used for death notice icon |
| thrusmoke | bool | hitscan weapon went through smoke grenade |
| attackerblind | bool | attacker was blind from flashbang |
| distance | float | distance to victim in meters |
| dmg_health | short | damage done to health |
| dmg_armor | byte | damage done to armor |
| hitgroup | byte | hitgroup that was damaged |
| attackerinair | bool | attacker was in midair |
| 字段 | 数据类型 | 简介 |
|---|
| otherid | short | other entity ID who died |
| othertype | string | other entity type |
| attacker | short | user ID who killed |
| weapon | string | weapon name killer used |
| weapon_itemid | string | inventory item id of weapon killer used |
| weapon_fauxitemid | string | faux item id of weapon killer used |
| weapon_originalowner_xuid | string | |
| headshot | bool | singals a headshot |
| penetrated | short | number of objects shot penetrated before killing target |
| noscope | bool | kill happened without a scope, used for death notice icon |
| thrusmoke | bool | hitscan weapon went through smoke grenade |
| attackerblind | bool | attacker was blind from flashbang |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | player index who was hurt |
| attacker | player_controller_and_pawn | player index who attacked |
| health | byte | remaining health points |
| armor | byte | remaining armor points |
| weapon | string | weapon name attacker used, if not the world |
| dmg_health | short | damage done to health |
| dmg_armor | byte | damage done to armor |
| hitgroup | byte | hitgroup that was damaged |
| 字段 | 数据类型 | 简介 |
|---|
| victim | player_controller_and_pawn | player index who was hurt |
| attacker | player_controller_and_pawn | player index who attacked |
| distance | float | how far the bullet travelled before it hit the player |
| damage_dir_x | float | direction vector of the bullet |
| damage_dir_y | float | direction vector of the bullet |
| damage_dir_z | float | direction vector of the bullet |
| num_penetrations | byte | how many surfaces were penetrated |
| no_scope | bool | was the shooter noscoped? |
| in_air | bool | was the shooter jumping? |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| team | short | |
| loadout | short | |
| weapon | string | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | player who is planting the bomb |
| site | short | bombsite index |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | player who is planting the bomb |
| site | short | bombsite index |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | player who planted the bomb |
| site | short | bombsite index |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | player who defused the bomb |
| site | short | bombsite index |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | player who planted the bomb |
| site | short | bombsite index |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | player who dropped the bomb |
| entindex | long | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_pawn | player pawn who picked up the bomb |
| 字段 | 数据类型 | 简介 |
|---|
| entityid | long | defuser's entity ID |
| 字段 | 数据类型 | 简介 |
|---|
| entityid | long | defuser's entity ID |
| userid | player_controller_and_pawn | player who picked up the defuser |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | player who is defusing |
| haskit | bool | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | player who was defusing |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | player who touched the hostage |
| hostage | short | hostage entity index |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | player who hurt the hostage |
| hostage | short | hostage entity index |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | player who killed the hostage |
| hostage | short | hostage entity index |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | player who rescued the hostage |
| hostage | short | hostage entity index |
| site | short | rescue site index |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | player who rescued the hostage |
| hostage | short | hostage entity index |
| 字段 | 数据类型 | 简介 |
|---|
| hostage | short | hostage entity index |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | player who was the VIP |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | player who was the VIP |
| attacker | player_controller | user ID who killed the VIP |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| slot | short | |
| 字段 | 数据类型 | 简介 |
|---|
| entindex | long | c4 entity |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| weapon | string | weapon name used |
| silenced | bool | is weapon silenced |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| weapon | string | weapon name used |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| weapon | string | weapon name used |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| inrestart | bool | true if restart is pending |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| item | string | either a weapon such as 'tmp' or 'hegrenade', or an item such as 'nvgs' |
| silent | bool | |
| defindex | long | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| index | short | |
| behavior | short | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| item | string | |
| reason | short | |
| limit | short | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| item | string | either a weapon such as 'tmp' or 'hegrenade', or an item such as 'nvgs' |
| defindex | long | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| item | string | either a weapon such as 'tmp' or 'hegrenade', or an item such as 'nvgs' |
| index | long | the weapon entindex |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| item | string | either a weapon such as 'tmp' or 'hegrenade', or an item such as 'nvgs' |
| defindex | long | |
| canzoom | bool | |
| hassilencer | bool | |
| issilenced | bool | |
| hastracers | bool | |
| weptype | short | |
| ispainted | bool | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| canbuy | bool | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| canbuy | bool | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| hasbomb | bool | |
| isplanted | bool | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| hasbomb | bool | |
| isplanted | bool | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
sent before all other round restart actions
sent after all other round restart actions
| 字段 | 数据类型 | 简介 |
|---|
| winner | byte | winner team/user i |
| reason | byte | reson why team won |
| message | string | end round message |
| legacy | byte | server-generated legacy value |
| player_count | short | total number of players alive at the end of round, used for statistics gathering, computed on the server in the event client is in replay when receiving this message |
| nomusic | byte | if set, don't play round end music, because action is still on-going |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| entityid | short | |
| x | float | |
| y | float | |
| z | float | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| entityid | short | |
| x | float | |
| y | float | |
| z | float | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| entityid | short | |
| x | float | |
| y | float | |
| z | float | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| entityid | short | |
| x | float | |
| y | float | |
| z | float | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| x | float | |
| y | float | |
| z | float | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| entityid | short | |
| x | float | |
| y | float | |
| z | float | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_pawn | |
| entityid | short | |
| x | float | |
| y | float | |
| z | float | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| entityid | short | |
| x | float | |
| y | float | |
| z | float | |
| 字段 | 数据类型 | 简介 |
|---|
| entityid | short | |
| x | float | |
| y | float | |
| z | float | |
| 字段 | 数据类型 | 简介 |
|---|
| entityid | short | |
| x | float | |
| y | float | |
| z | float | |
| 字段 | 数据类型 | 简介 |
|---|
| entityid | short | |
| x | float | |
| y | float | |
| z | float | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| entityid | short | |
| x | float | |
| y | float | |
| z | float | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| x | float | |
| y | float | |
| z | float | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| attacker | player_controller | user ID who threw the flash |
| entityid | short | the flashbang going off |
| blind_duration | float | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| damage | float | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| entindex | long | |
| 字段 | 数据类型 | 简介 |
|---|
| area | long | |
| blocked | bool | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | entindex of the player |
| 字段 | 数据类型 | 简介 |
|---|
| oldmode | long | |
| newmode | long | |
| obs_target | long | |
| 字段 | 数据类型 | 简介 |
|---|
| show_timer_defend | bool | |
| show_timer_attack | bool | |
| timer_time | short | |
| final_event | byte | define in cs_gamerules.h |
| funfact_token | string | |
| funfact_player | player_controller | |
| funfact_data1 | long | |
| funfact_data2 | long | |
| funfact_data3 | long | |
| 字段 | 数据类型 | 简介 |
|---|
| victim | player_controller_and_pawn | endindex of the one who was killed |
| killer | ehandle | entindex of the killer entity |
| killer_controller | player_controller | |
| hits_taken | short | |
| damage_taken | short | |
| hits_given | short | |
| damage_given | short | |
| 字段 | 数据类型 | 简介 |
|---|
| avenger_id | player_controller | |
| avenged_player_id | player_controller | |
| 字段 | 数据类型 | 简介 |
|---|
| achievement | short | achievement ID |
| splitscreenplayer | short | splitscreen ID |
| 字段 | 数据类型 | 简介 |
|---|
| splitscreenplayer | short | splitscreen ID |
| 字段 | 数据类型 | 简介 |
|---|
| frags | long | |
| max_rounds | long | |
| win_rounds | long | |
| time | long | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| reason | short | |
| value | long | |
| musickitmvps | long | |
| nomusic | byte | |
| musickitid | long | |
| 字段 | 数据类型 | 简介 |
|---|
| loc_token | string | |
| duration | long | |
| userid | player_controller_and_pawn | |
| 字段 | 数据类型 | 简介 |
|---|
| victimid | player_controller | user ID who died |
| attackerid | player_controller | user ID who killed |
| dominated | short | did killer dominate victim with this kill |
| revenge | short | did killer get revenge on victim with this kill |
| bonus | bool | did killer kill with a bonus weapon? |
| 字段 | 数据类型 | 简介 |
|---|
| numPlayers | short | number of active players on both T and CT |
| numSpectators | short | number of spectators |
| avg_rank | short | average rank of human players |
| numTSlotsFree | short | |
| numCTSlotsFree | short | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | player whose time has expired |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| vote | bool | |
| 字段 | 数据类型 | 简介 |
|---|
| action | string | |
| data | string | |
| slot | byte | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| type | byte | |
| vote_parameter | short | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | user ID who received the c4 |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| botid | player_controller | |
| p | float | |
| y | float | |
| r | float | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| reason | byte | 0 = team_full |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| toteam | byte | |
a game event, name may be 32 characters long
| 字段 | 数据类型 | 简介 |
|---|
| nextlevel | string | |
| mapgroup | string | |
| skirmishmode | string | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| category | short | |
| rank | short | |
| 字段 | 数据类型 | 简介 |
|---|
| defindex | long | |
| totalrewards | long | |
| accountid | long | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| success | bool | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| priority | short | |
| drone_dispatched | short | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | player entindex |
| subject | short | crate entindex |
| type | string | type of crate (metal, wood, or paradrop) |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | player entindex |
| type | string | type of crate (metal, wood, or paradrop) |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | player entindex |
| subject | short | crate entindex |
| type | string | type of crate (metal, wood, or paradrop) |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| paradrop | short | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| cargo | short | |
| delivered | bool | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| cargo | short | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | player entindex |
| subject | short | crate entindex |
| type | string | type of crate (metal, wood, or paradrop) |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| entityid | short | |
| x | float | |
| y | float | |
| z | float | |
| urgent | bool | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| radius | int | |
| duration | float | |
| step | bool | |
| 字段 | 数据类型 | 简介 |
|---|
| userid | player_controller_and_pawn | |
| pos_x | short | |
| pos_y | short | |
| pos_z | short | |
| ang_x | short | |
| ang_y | short | |
| ang_z | short | |
| start_x | short | |
| start_y | short | |
| start_z | short | |