Skip to content

C_CSGameRules

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

Kind: classSize: 20320 bytes (0x4f60)Alignment: unspecified (0xff sentinel)Module: clientBinary: client.dll

Relationships

Inherits from: C_TeamplayRules

Server counterpart: CCSGameRules

Used by (1) as a field type

Inheritance tree
Relationship diagram (6 edges)
classDiagram
    C_GameRules <|-- C_MultiplayRules
    C_MultiplayRules <|-- C_TeamplayRules
    C_TeamplayRules <|-- C_CSGameRules
    C_CSGameRules *-- GameTime_t
    C_CSGameRules --> CCSGameModeRules
    C_CSGameRules *-- C_RetakeGameRules
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

102 fields, 98 declared here and 4 inherited. Offsets are absolute from the object base on windows-x86_64.

C_GameRulesC_CSGameRules

OffsetFieldTypeFromAnnotations
0x8__m_pChainEntityCNetworkVarChainerC_GameRulesMNotSaved
0x30m_nTotalPausedTicksint32C_GameRules
0x34m_nPauseStartTickint32C_GameRules
0x38m_bGamePausedboolC_GameRules
0x40m_bFreezePeriodbool
0x41m_bWarmupPeriodbool
0x44m_fWarmupPeriodEndGameTime_t
0x48m_fWarmupPeriodStartGameTime_t
0x4cm_bTerroristTimeOutActivebool
0x4dm_bCTTimeOutActivebool
0x50m_flTerroristTimeOutRemainingfloat32
0x54m_flCTTimeOutRemainingfloat32
0x58m_nTerroristTimeOutsint32
0x5cm_nCTTimeOutsint32
0x60m_bTechnicalTimeOutbool
0x61m_bMatchWaitingForResumebool
0x64m_iFreezeTimeint32
0x68m_iRoundTimeint32
0x6cm_fMatchStartTimefloat32
0x70m_fRoundStartTimeGameTime_t
0x74m_flRestartRoundTimeGameTime_t
0x78m_bGameRestartbool
0x7cm_flGameStartTimefloat32
0x80m_timeUntilNextPhaseStartsfloat32
0x84m_gamePhaseint32
0x88m_totalRoundsPlayedint32
0x8cm_nRoundsPlayedThisPhaseint32
0x90m_nOvertimePlayingint32
0x94m_iHostagesRemainingint32
0x98m_bAnyHostageReachedbool
0x99m_bMapHasBombTargetbool
0x9am_bMapHasRescueZonebool
0x9bm_bMapHasBuyZonebool
0x9cm_bIsQueuedMatchmakingbool
0xa0m_nQueuedMatchmakingModeint32
0xa4m_bIsValveDSbool
0xa5m_bLogoMapbool
0xa6m_bPlayAllStepSoundsOnServerbool
0xa8m_iSpectatorSlotCountint32
0xacm_MatchDeviceint32
0xb0m_bHasMatchStartedbool
0xb4m_nNextMapInMapgroupint32
0xb8m_szTournamentEventNamechar[512]
0x2b8m_szTournamentEventStagechar[512]
0x4b8m_szMatchStatTxtchar[512]
0x6b8m_szTournamentPredictionsTxtchar[512]
0x8b8m_nTournamentPredictionsPctint32
0x8bcm_flCMMItemDropRevealStartTimeGameTime_t
0x8c0m_flCMMItemDropRevealEndTimeGameTime_t
0x8c4m_bIsDroppingItemsbool
0x8c5m_bIsQuestEligiblebool
0x8c6m_bIsHltvActivebool
0x8c7m_bBombPlantedbool
0x8c8m_arrProhibitedItemIndicesuint16[100]
0x990m_arrTournamentActiveCasterAccountsuint32[4]
0x9a0m_numBestOfMapsint32
0x9a4m_nHalloweenMaskListSeedint32
0x9a8m_bBombDroppedbool
0x9acm_iRoundWinStatusint32
0x9b0m_eRoundWinReasonint32
0x9b4m_bTCantBuybool
0x9b5m_bCTCantBuybool
0x9b8m_iMatchStats_RoundResultsint32[30]
0xa30m_iMatchStats_PlayersAlive_CTint32[30]
0xaa8m_iMatchStats_PlayersAlive_Tint32[30]
0xb20m_TeamRespawnWaveTimesfloat32[32]
0xba0m_flNextRespawnWaveGameTime_t[32]
0xc20m_vMinimapMinsVectorWS
0xc2cm_vMinimapMaxsVectorWS
0xc38m_MinimapVerticalSectionHeightsfloat32[8]
0xc58m_ullLocalMatchIDuint64
0xc60m_nEndMatchMapGroupVoteTypesint32[10]
0xc88m_nEndMatchMapGroupVoteOptionsint32[10]
0xcb0m_nEndMatchMapVoteWinnerint32
0xcb4m_iNumConsecutiveCTLosesint32
0xcb8m_iNumConsecutiveTerroristLosesint32
0xd78m_nMatchAbortedEarlyReasonint32
0xd7cm_bHasTriggeredRoundStartMusicbool
0xd7dm_bSwitchingTeamsAtRoundResetbool
0xd98m_pGameModeRulesCCSGameModeRules*
0xda0m_RetakeRulesC_RetakeGameRules
0xef8m_nMatchEndCountuint8
0xefcm_nTTeamIntroVariantint32
0xf00m_nCTTeamIntroVariantint32
0xf04m_bTeamIntroPeriodbool
0xf08m_iRoundEndWinnerTeamint32
0xf0cm_eRoundEndReasonint32
0xf10m_bRoundEndShowTimerDefendbool
0xf14m_iRoundEndTimerTimeint32
0xf18m_sRoundEndFunFactTokenCUtlString
0xf20m_iRoundEndFunFactPlayerSlotCPlayerSlot
0xf24m_iRoundEndFunFactData1int32
0xf28m_iRoundEndFunFactData2int32
0xf2cm_iRoundEndFunFactData3int32
0xf30m_sRoundEndMessageCUtlString
0xf38m_iRoundEndPlayerCountint32
0xf3cm_bRoundEndNoMusicbool
0xf40m_iRoundEndLegacyint32
0xf44m_nRoundEndCountuint8
0xf48m_iRoundStartRoundNumberint32
0xf4cm_nRoundStartCountuint8
0x4f58m_flLastPerfSampleTimefloat64