CTFGameRulesProxy: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
Networks TF2 game rules data to the client.


'''Source location : ...'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/shared/tf/tf_gamerules.h /game/shared/tf/tf_gamerules.h]'''


'''Linked entity : ...'''
'''Linked Entity : [https://developer.valvesoftware.com/wiki/tf_gamerules tf_gamerules]'''


==[[Classes|Class Structure]]==
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
**'''[[CGameRulesProxy]]'''
***'''[[CBaseAnimatingOverlay]]'''
***'''[[CTeamplayRoundBasedRulesProxy]]'''
****'''[[CBaseFlex]]'''
****'''CTFGameRulesProxy'''
*****'''[[CBaseCombatCharacter]]'''
******'''[[CBasePlayer]]'''
*******'''CTFPlayer'''


== SendProps ==
== SendProps ==
Line 207: Line 204:
|-
|-
| style="width: 50%;" |'''m_bStopWatchWinner'''
| style="width: 50%;" |'''m_bStopWatchWinner'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nForceUpgrades'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nForceEscortPushLogic'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bRopesHolidayLightsAllowed'''
| style="width: 15%;" |Boolean
| style="width: 15%;" |Boolean
| style="width: 35%;" |
| style="width: 35%;" |
Line 530: Line 539:
|-
|-
| style="width: 50%;" |'''m_nHudType'''
| style="width: 50%;" |'''m_nHudType'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bRopesHolidayLightsAllowed'''
| style="width: 15%;" |
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|}
|}

Latest revision as of 09:40, 8 March 2023

Overview[edit | edit source]

Networks TF2 game rules data to the client.

Source location : /game/shared/tf/tf_gamerules.h

Linked Entity : tf_gamerules

Class Structure[edit | edit source]

SendProps[edit | edit source]

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[edit | edit source]

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