PbAddVector Function

Add an XYZ vector to a protobuf message repeated field.

void PbAddVector(Handle pb, const char[] field, const float vec[3])

Parameters

Handle pb

protobuf handle.

const char[] field

Field name.

const float[3] vec

Vector value to add.

Errors

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