CLogicBranchList

From SigMod
Revision as of 16:44, 10 July 2022 by Mince (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 : /game/server/logicentities.cpp

Linked Entity : logic_branch_listener

Class Structure

Entity DataMaps

CLogicBranchList
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]