Skip to content

C_CSGameRules

CS2 build 27045800 · Steam date 2026-11-30 · platform windows-x86_64 · cs2_schema.json

Kind: classSize: 20328 bytes (0x4f68)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

103 fields, 99 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_nActiveMutatorsint32
0xba4m_flNextRespawnWaveGameTime_t[32]
0xc24m_vMinimapMinsVectorWS
0xc30m_vMinimapMaxsVectorWS
0xc3cm_MinimapVerticalSectionHeightsfloat32[8]
0xc60m_ullLocalMatchIDuint64
0xc68m_nEndMatchMapGroupVoteTypesint32[10]
0xc90m_nEndMatchMapGroupVoteOptionsint32[10]
0xcb8m_nEndMatchMapVoteWinnerint32
0xcbcm_iNumConsecutiveCTLosesint32
0xcc0m_iNumConsecutiveTerroristLosesint32
0xd80m_nMatchAbortedEarlyReasonint32
0xd84m_bHasTriggeredRoundStartMusicbool
0xd85m_bSwitchingTeamsAtRoundResetbool
0xda0m_pGameModeRulesCCSGameModeRules*
0xda8m_RetakeRulesC_RetakeGameRules
0xf00m_nMatchEndCountuint8
0xf04m_nTTeamIntroVariantint32
0xf08m_nCTTeamIntroVariantint32
0xf0cm_bTeamIntroPeriodbool
0xf10m_iRoundEndWinnerTeamint32
0xf14m_eRoundEndReasonint32
0xf18m_bRoundEndShowTimerDefendbool
0xf1cm_iRoundEndTimerTimeint32
0xf20m_sRoundEndFunFactTokenCUtlString
0xf28m_iRoundEndFunFactPlayerSlotCPlayerSlot
0xf2cm_iRoundEndFunFactData1int32
0xf30m_iRoundEndFunFactData2int32
0xf34m_iRoundEndFunFactData3int32
0xf38m_sRoundEndMessageCUtlString
0xf40m_iRoundEndPlayerCountint32
0xf44m_bRoundEndNoMusicbool
0xf48m_iRoundEndLegacyint32
0xf4cm_nRoundEndCountuint8
0xf50m_iRoundStartRoundNumberint32
0xf54m_nRoundStartCountuint8
0x4f60m_flLastPerfSampleTimefloat64