PbAddBool Function

Add a bool to a protobuf message repeated field.

void PbAddBool(Handle pb, const char[] field, bool value)

Parameters

Handle pb

protobuf handle.

const char[] field

Field name.

bool value

Boolean value to add.

Errors

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