MCPcopy Create free account
hub / github.com/alliedmodders/sourcemod / SetBool

Method SetBool

core/UserMessagePBHelpers.h:542–550  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

540 }
541
542 inline bool SetBool(const char *pszFieldName, bool value)
543 {
544 GETCHECK_FIELD();
545 CHECK_FIELD_TYPE(BOOL);
546 CHECK_FIELD_NOT_REPEATED();
547
548 msg->GetReflection()->SetBool(msg, field, value);
549 return true;
550 }
551
552 inline bool GetRepeatedBool(const char *pszFieldName, int index, bool *out)
553 {

Callers 3

smn_PbSetBoolFunction · 0.80
sm_SetEventBoolFunction · 0.80
SetVariantBoolFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected