Protobuf.AddColor Method

Add an RGBA color to a protobuf message repeated field.

void AddColor(const char[] field, const int color[4])

Parameters

const char[] field

Field name.

const int[4] color

Color value to add.

Errors

Non-existent field, or incorrect field type.