CLogicCase
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
- CBaseEntity
- CServerOnlyEntity
- CLogicalEntity
- CLogicCase
- CLogicalEntity
- CServerOnlyEntity
Entity DataMaps
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 |