ErrorFilterCallback
function · client
- Address
0x4030f0· 32 bytes, up to0x40310f- Signature
bool __fastcall (CVar *cvar, const char *oldText, const char *newText, void *callbackArg)- Meaning
- Applies a new ErrorFilter list and prints the filter, or returns 0 to refuse a list with an unknown name
- Confidence
- verified, proof one
- Finding
- sysmsg#error-filter-setting
Finding: Error filter setting in sysmsg
ErrorFilter, default all, is a list of filter names separated by tabs, line breaks, double
quotes or spaces, compared ignoring case. Starting from an empty mask, general, world, ui,
animation, models, objects and movement set the bits 0x1, 0x2, 0x4, 0x8, 0x10, 0x20 and 0x80,
all sets every bit, and except makes each later name clear its bit, all then giving 0. The mask goes to SysMsgSetSelected and the filter is printed. A word that is
none of these prints Unknown filter %s and three help lines, leaves the selection unchanged and
vetoes the new value. Only all sets 0x40: the word picked for the letter s is objects,
which a word starting with s never equals.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 2
- PrintSysMsgFilter client
- SetErrorFilter client
Calls and jumps by a bare address, from tables/calls.tsv.