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

Method GetMessage

core/UserMessagePBHelpers.h:1121–1130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1119 }
1120
1121 inline bool GetMessage(const char *pszFieldName, protobuf::Message **message)
1122 {
1123 GETCHECK_FIELD();
1124 CHECK_FIELD_TYPE(MESSAGE);
1125 CHECK_FIELD_NOT_REPEATED();
1126
1127 *message = msg->GetReflection()->MutableMessage(msg, field);
1128
1129 return true;
1130 }
1131
1132 inline bool GetRepeatedMessage(const char *pszFieldName, int index, const protobuf::Message **message)
1133 {

Callers 5

GetColorMethod · 0.80
GetVector2DMethod · 0.80
GetVectorMethod · 0.80
GetQAngleMethod · 0.80
smn_PbReadMessageFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected