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

Method AddMessage

core/UserMessagePBHelpers.h:1145–1154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1143 }
1144
1145 inline bool AddMessage(const char *pszFieldName, protobuf::Message **message)
1146 {
1147 GETCHECK_FIELD();
1148 CHECK_FIELD_TYPE(MESSAGE);
1149 CHECK_FIELD_REPEATED();
1150
1151 *message = msg->GetReflection()->AddMessage(msg, field);
1152
1153 return true;
1154 }
1155
1156 inline int GetRepeatedFieldCount(const char *pszFieldName)
1157 {

Callers 5

AddColorMethod · 0.80
AddVector2DMethod · 0.80
AddVectorMethod · 0.80
AddQAngleMethod · 0.80
smn_PbAddMessageFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected