swiftlys2/docs/api/ai/

Game Events Viewer

versions

What are game events?

Game events are Source 2's KeyValues-defined broadcast messages - things like player_death or round_start - each with a fixed set of typed fields. They're declared across three files that layer on top of each other: core.gameevents, game.gameevents, and mod.gameevents.

What can you find here?

Look up any event by name and see its fields, the native type each was declared with, and which files declare or extend it - a later file can add fields to an event a prior file already defined. Data is dumped offline and updated as the game patches - see Swiftly-Tracker/CS2-Dumps.

How SwiftlyS2 uses this

This is the same data SwiftlyS2 generates typed C# event interfaces from - switch to the C# view to see the exact property names, types, and event hash your plugin code would work with.

Search tips

Type any text in the sidebar search to filter event and field names, or paste a hash (with or without the 0x prefix) to find the event it belongs to. Clear the search to browse file by file instead.