PbAddColor Function

Add an RGBA color to a protobuf message repeated field.

void PbAddColor(Handle pb, const char[] field, const int color[4])

Parameters

Handle pb

protobuf handle.

const char[] field

Field name.

const int[4] color

Color value to add.

Errors

Invalid or incorrect Handle, non-existent field, or incorrect field type.