plugins/include/protobuf.inc
changeset 4293 f61ae385f12e
parent 3967 ceafb87d38a7
     1.1 --- a/plugins/include/protobuf.inc	Fri Mar 21 13:10:44 2014 -0400
     1.2 +++ b/plugins/include/protobuf.inc	Fri Mar 21 13:23:48 2014 -0400
     1.3 @@ -326,6 +326,17 @@
     1.4  native PbAddVector2D(Handle:pb, const String:field[], const Float:vec[2]);
     1.5  
     1.6  /**
     1.7 + * Removes a value by index from a protobuf message repeated field.
     1.8 + *
     1.9 + * @param pb			protobuf handle.
    1.10 + * @param field			Field name.
    1.11 + * @param index			Index into repeated field.
    1.12 + * @noreturn
    1.13 + * @error				Invalid or incorrect Handle, non-existent field, or incorrect field type.
    1.14 + */ 
    1.15 +native PbRemoveRepeatedFieldValue(Handle:pb, const String:field[], index);
    1.16 +
    1.17 +/**
    1.18   * Retrieve a handle to an embedded protobuf message in a protobuf message.
    1.19   *
    1.20   * @param pb			protobuf handle.