Skip to content

CSingleplayRules

CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json

Kind: classSize: 216 bytes (0xd8)Alignment: unspecified (0xff sentinel)Module: serverBinary: server.dll

Relationships

Inherits from: CGameRules

Client counterpart: C_SingleplayRules

Inheritance tree
Relationship diagram (1 edges)
classDiagram
    CGameRules <|-- CSingleplayRules
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

9 fields, 1 declared here and 8 inherited. Offsets are absolute from the object base on windows-x86_64.

CGameRulesCSingleplayRules

OffsetFieldTypeFromAnnotations
0x8__m_pChainEntityCNetworkVarChainerCGameRulesMNotSaved
0x30m_szQuestNamechar[128]CGameRules
0xb0m_nQuestPhaseint32CGameRules
0xb4m_nLastMatchTimeuint32CGameRules
0xb8m_nLastMatchTime_MatchID64uint64CGameRules
0xc0m_nTotalPausedTicksint32CGameRules
0xc4m_nPauseStartTickint32CGameRules
0xc8m_bGamePausedboolCGameRules
0xd0m_bSinglePlayerGameEndingbool