CFilterMultiple: Difference between revisions

From SigMod
Jump to navigation Jump to search
(Created page with "== Overview == ... '''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/filters.cpp /game/server/filters.cpp]''' '''Linked Entit...")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
A filter that tests the activator against a series of other defined filters, with pass or fail depending on the logical operator acting on the filters (AND, OR).


'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/filters.cpp /game/server/filters.cpp]'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/filters.cpp /game/server/filters.cpp]'''
Line 12: Line 12:
****'''[[CBaseFilter]]'''
****'''[[CBaseFilter]]'''
*****'''CFilterMultiple'''
*****'''CFilterMultiple'''
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CFilterMultiple
! style="width: 50%; background-color: #303030; color: white" |Name
! style="width: 15%; background-color: #303030; color: white" |Type
! style="width: 35%; background-color: #303030; color: white" |Description
|-
| style="width: 50%;" |'''m_hFilter'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iFilterName[0]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iFilterName[1]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iFilterName[2]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iFilterName[3]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iFilterName[4]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nFilterType'''
| style="width: 15%;" |
| style="width: 35%;" |
|}

Latest revision as of 19:50, 10 July 2022

Overview[edit | edit source]

A filter that tests the activator against a series of other defined filters, with pass or fail depending on the logical operator acting on the filters (AND, OR).

Source location : /game/server/filters.cpp

Linked Entity : filter_multi

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

CFilterMultiple
Name Type Description
m_hFilter
m_iFilterName[0]
m_iFilterName[1]
m_iFilterName[2]
m_iFilterName[3]
m_iFilterName[4]
m_nFilterType