CLogicBranchList: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
... | Stores a list of [[CLogicBranch]] entities and fires outputs when any one of them changes, or when this entity recieves a Test input. Which output is fired depends on the values of every CLogicBranch stored: | ||
* OnAllTrue - Fired when all CLogicBranch entities store a True value. | |||
* OnAllFalse - Fired when all CLogicBranch entities store a False value. | |||
* OnMixed - Fired when the CLogicBranch entites are neither all True or all False. | |||
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/logicentities.cpp /game/server/logicentities.cpp]''' | '''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/logicentities.cpp /game/server/logicentities.cpp]''' |
Latest revision as of 16:44, 10 July 2022
Overview[edit | edit source]
Stores a list of CLogicBranch entities and fires outputs when any one of them changes, or when this entity recieves a Test input. Which output is fired depends on the values of every CLogicBranch stored:
- OnAllTrue - Fired when all CLogicBranch entities store a True value.
- OnAllFalse - Fired when all CLogicBranch entities store a False value.
- OnMixed - Fired when the CLogicBranch entites are neither all True or all False.
Source location : /game/server/logicentities.cpp
Linked Entity : logic_branch_listener
Class Structure[edit | edit source]
- CBaseEntity
- CServerOnlyEntity
- CLogicalEntity
- CLogicBranchList
- CLogicalEntity
- CServerOnlyEntity
Entity DataMaps[edit | edit source]
Name | Type | Description |
---|---|---|
InputTest | ||
Input_OnLogicBranchChanged | ||
Input_OnLogicBranchRemoved | ||
m_LogicBranchList | ||
m_OnAllFalse | ||
m_OnAllTrue | ||
m_OnMixed | ||
m_eLastState | ||
m_nLogicBranchNames[0] | ||
m_nLogicBranchNames[10] | ||
m_nLogicBranchNames[11] | ||
m_nLogicBranchNames[12] | ||
m_nLogicBranchNames[13] | ||
m_nLogicBranchNames[14] | ||
m_nLogicBranchNames[15] | ||
m_nLogicBranchNames[1] | ||
m_nLogicBranchNames[2] | ||
m_nLogicBranchNames[3] | ||
m_nLogicBranchNames[4] | ||
m_nLogicBranchNames[5] | ||
m_nLogicBranchNames[6] | ||
m_nLogicBranchNames[7] | ||
m_nLogicBranchNames[8] | ||
m_nLogicBranchNames[9] |