Overview
Networks TF2 game rules data to the client.
Source location : /game/shared/tf/tf_gamerules.h
Linked Entity : tf_gamerules
SendProps
CTFGameRulesProxy
Name
|
Type
|
Description
|
tf_gamerules_data
|
m_nGameType
|
Integer
|
|
m_nStopWatchState
|
Integer
|
|
m_pszTeamGoalStringRed
|
String
|
|
m_pszTeamGoalStringBlue
|
String
|
|
m_flCapturePointEnableTime
|
Float
|
|
m_nHudType
|
Integer
|
|
m_bIsInTraining
|
Boolean
|
|
m_bAllowTrainingAchievements
|
Boolean
|
|
m_bIsWaitingForTrainingContinue
|
Boolean
|
|
m_bIsTrainingHUDVisible
|
Boolean
|
|
m_bIsInItemTestingMode
|
Boolean
|
|
m_hBonusLogic
|
Integer
|
|
m_bPlayingKoth
|
Boolean
|
|
m_bPlayingMedieval
|
Boolean
|
|
m_bPlayingHybrid_CTF_CP
|
Boolean
|
|
m_bPlayingSpecialDeliveryMode
|
Boolean
|
|
m_bPlayingRobotDestructionMode
|
Boolean
|
|
m_hRedKothTimer
|
Integer
|
|
m_hBlueKothTimer
|
Integer
|
|
m_nMapHolidayType
|
Integer
|
|
m_itHandle
|
Integer
|
|
m_bPlayingMannVsMachine
|
Boolean
|
|
m_hBirthdayPlayer
|
Integer
|
|
m_nBossHealth
|
Integer
|
|
m_nMaxBossHealth
|
Integer
|
|
m_fBossNormalizedTravelDistance
|
Integer
|
|
m_bMannVsMachineAlarmStatus
|
Boolean
|
|
m_bHaveMinPlayersToEnableReady
|
Boolean
|
|
m_bBountyModeEnabled
|
Boolean
|
|
m_nHalloweenEffect
|
Integer
|
|
m_fHalloweenEffectStartTime
|
Float
|
|
m_fHalloweenEffectDuration
|
Float
|
|
m_halloweenScenario
|
Integer
|
|
m_bHelltowerPlayersInHell
|
Boolean
|
|
m_bIsUsingSpells
|
Boolean
|
|
m_bCompetitiveMode
|
Boolean
|
|
m_bPowerupMode
|
Boolean
|
|
m_nMatchGroupType
|
Integer
|
|
m_bMatchEnded
|
Boolean
|
|
m_pszCustomUpgradesFile
|
String
|
|
m_bTruceActive
|
Boolean
|
|
m_bShowMatchSummary
|
Boolean
|
|
m_bTeamsSwitched
|
Boolean
|
|
m_bMapHasMatchSummaryStage
|
Boolean
|
|
m_bPlayersAreOnMatchSummaryStage
|
Boolean
|
|
m_bStopWatchWinner
|
Boolean
|
|
m_nForceUpgrades
|
Boolean
|
|
m_nForceEscortPushLogic
|
Boolean
|
|
m_bRopesHolidayLightsAllowed
|
Boolean
|
|
m_ePlayerWantsRematch
|
000
|
Integer
|
|
001
|
Integer
|
|
002
|
Integer
|
|
003
|
Integer
|
|
004
|
Integer
|
|
005
|
Integer
|
|
006
|
Integer
|
|
007
|
Integer
|
|
008
|
Integer
|
|
009
|
Integer
|
|
010
|
Integer
|
|
011
|
Integer
|
|
012
|
Integer
|
|
013
|
Integer
|
|
014
|
Integer
|
|
015
|
Integer
|
|
016
|
Integer
|
|
017
|
Integer
|
|
018
|
Integer
|
|
019
|
Integer
|
|
020
|
Integer
|
|
021
|
Integer
|
|
022
|
Integer
|
|
023
|
Integer
|
|
024
|
Integer
|
|
025
|
Integer
|
|
026
|
Integer
|
|
027
|
Integer
|
|
028
|
Integer
|
|
029
|
Integer
|
|
030
|
Integer
|
|
031
|
Integer
|
|
032
|
Integer
|
|
033
|
Integer
|
|
|
m_eRematchState
|
Integer
|
|
m_nNextMapVoteOptions
|
000
|
Integer
|
|
001
|
Integer
|
|
002
|
Integer
|
|
|
|
Entity DataMaps
CTFGameRulesProxy
Name
|
Type
|
Description
|
InputAddBlueTeamRespawnWaveTime
|
|
|
InputAddBlueTeamScore
|
|
|
InputAddRedTeamRespawnWaveTime
|
|
|
InputAddRedTeamScore
|
|
|
InputHandleMapEvent
|
|
|
InputPlayVO
|
|
|
InputPlayVOBlue
|
|
|
InputPlayVORed
|
|
|
InputSetBlueKothClockActive
|
|
|
InputSetBlueTeamGoalString
|
|
|
InputSetBlueTeamRespawnWaveTime
|
|
|
InputSetBlueTeamRole
|
|
|
InputSetCTFCaptureBonusTime
|
|
|
InputSetCustomUpgradesFile
|
|
|
InputSetMapForcedTruceDuringBossFight
|
|
|
InputSetRedKothClockActive
|
|
|
InputSetRedTeamGoalString
|
|
|
InputSetRedTeamRespawnWaveTime
|
|
|
InputSetRedTeamRole
|
|
|
InputSetRequiredObserverTarget
|
|
|
InputSetRoundRespawnFreezeEnabled
|
|
|
InputSetStalemateOnTimelimit
|
|
|
m_OnMatchSummaryStart
|
|
|
m_OnPowerupImbalanceMeasuresOver
|
|
|
m_OnPowerupImbalanceTeam1
|
|
|
m_OnPowerupImbalanceTeam2
|
|
|
m_OnStateEnterBetweenRounds
|
|
|
m_OnStateEnterPreRound
|
|
|
m_OnStateEnterRoundRunning
|
|
|
m_OnStateExitPreRound
|
|
|
m_OnTruceEnd
|
|
|
m_OnTruceStart
|
|
|
m_OnWonByTeam1
|
|
|
m_OnWonByTeam2
|
|
|
m_Team1PlayersChanged
|
|
|
m_Team2PlayersChanged
|
|
|
m_bOvertimeAllowedForCTF
|
|
|
m_nHudType
|
|
|
m_bRopesHolidayLightsAllowed
|
|
|