|
|
(3 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| == Overview == | | == Overview == |
| ...
| | Handles the logic of bonus rounds. |
|
| |
|
| '''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_logic_bonusround tf_logic_bonusround]''' |
|
| |
|
| ==[[SendProps|Class Structure]]== | | ==[[Classes|Class Structure]]== |
| *'''[[CBaseEntity]]''' | | *'''[[CBaseEntity]]''' |
| **'''[[CBaseAnimating]]''' | | **'''CBonusRoundLogic''' |
| ***'''[[CBaseAnimatingOverlay]]'''
| |
| ****'''[[CBaseFlex]]'''
| |
| *****'''[[CBaseCombatCharacter]]'''
| |
| ******'''[[CBasePlayer]]'''
| |
| *******'''CTFPlayer'''
| |
|
| |
|
| == SendProps == | | == SendProps == |
| {| class="wikitable sortable" style="margin: 0 auto; width: 100%; padding: 0;" | | {| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" |
| |+CBonusRoundLogic | | |+CBonusRoundLogic |
| ! style="width: 50%; background-color: #303030; color: white" |Name | | ! style="width: 50%; background-color: #303030; color: white" |Name |
Latest revision as of 15:55, 10 July 2022
Handles the logic of bonus rounds.
Source location : /game/shared/tf/tf_gamerules.h
Linked Entity : tf_logic_bonusround
CBonusRoundLogic
Name
|
Type
|
Description
|
m_aBonusPlayerRoll
|
lengthproxy
|
lengthprop33
|
Integer
|
|
|
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
|
|
|
m_hBonusWinner
|
Integer
|
|
m_Item
|
m_iItemDefinitionIndex
|
Integer
|
|
m_iEntityLevel
|
Integer
|
|
m_iItemIDHigh
|
Integer
|
|
m_iItemIDLow
|
Integer
|
|
m_iAccountID
|
Integer
|
|
m_iEntityQuality
|
Integer
|
|
m_bInitialized
|
Boolean
|
|
m_bOnlyIterateItemViewAttributes
|
Boolean
|
|
m_AttributeList
|
m_Attributes
|
lengthproxy
|
lengthprop20
|
Integer
|
|
|
000
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
001
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
002
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
003
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
004
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
005
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
006
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
007
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
008
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
009
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
010
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
011
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
012
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
013
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
014
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
015
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
016
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
017
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
018
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
019
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
|
|
m_iTeamNumber
|
Integer
|
|
m_NetworkedDynamicAttributesForDemos
|
m_Attributes
|
lengthproxy
|
lengthprop20
|
Integer
|
|
|
000
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
001
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
002
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
003
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
004
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
005
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
006
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
007
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
008
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
009
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
010
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
011
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
012
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
013
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
014
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
015
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
016
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
017
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
018
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
019
|
m_iAttributeDefinitionIndex
|
Integer
|
|
m_iRawValue32
|
Integer
|
|
m_nRefundableCurrency
|
Integer
|
|
|
|
|
|