CLogicCase

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

Overview

Compares an input value to various stored values or "cases", and then fires an output based on the comparison evaluation. This entity is analogous to a switch in programming.

Source location : /game/server/logicentities.cpp

Linked Entity : logic_case

Class Structure

Entity DataMaps

CLogicCase
Name Type Description
InputPickRandom
InputPickRandomShuffle
InputValue
m_OnCase[0]
m_OnCase[10]
m_OnCase[11]
m_OnCase[12]
m_OnCase[13]
m_OnCase[14]
m_OnCase[15]
m_OnCase[1]
m_OnCase[2]
m_OnCase[3]
m_OnCase[4]
m_OnCase[5]
m_OnCase[6]
m_OnCase[7]
m_OnCase[8]
m_OnCase[9]
m_OnDefault
m_nCase[0]
m_nCase[10]
m_nCase[11]
m_nCase[12]
m_nCase[13]
m_nCase[14]
m_nCase[15]
m_nCase[1]
m_nCase[2]
m_nCase[3]
m_nCase[4]
m_nCase[5]
m_nCase[6]
m_nCase[7]
m_nCase[8]
m_nCase[9]
m_nLastShuffleCase
m_nShuffleCases
m_uchShuffleCaseMap