Remove deprecated PbReadRepeated natives.
This commit is contained in:
@@ -141,108 +141,6 @@ native PbReadVector2D(Handle:pb, const String:field[], Float:buffer[2], index=PB
|
||||
*/
|
||||
native PbGetRepeatedFieldCount(Handle:pb, const String:field[]);
|
||||
|
||||
/**
|
||||
* Reads an int32, uint32, sint32, fixed32, or sfixed32 from a protobuf message repeated field.
|
||||
*
|
||||
* @param pb protobuf handle.
|
||||
* @param field Field name.
|
||||
* @param index Index in the repeated field.
|
||||
* @return Integer value read.
|
||||
* @error Invalid or incorrect Handle, non-existant field, or incorrect field type.
|
||||
*/
|
||||
#pragma deprecated use PbReadInt with index param
|
||||
native PbReadRepeatedInt(Handle:pb, const String:field[], index);
|
||||
|
||||
/**
|
||||
* Reads a float or downcasted double from a protobuf message repeated field.
|
||||
*
|
||||
* @param pb protobuf handle.
|
||||
* @param field Field name.
|
||||
* @param index Index in the repeated field.
|
||||
* @return Float value read.
|
||||
* @error Invalid or incorrect Handle, non-existant field, or incorrect field type.
|
||||
*/
|
||||
#pragma deprecated use PbReadFloat with index param
|
||||
native Float:PbReadRepeatedFloat(Handle:pb, const String:field[], index);
|
||||
|
||||
/**
|
||||
* Reads a bool from a protobuf message repeated field.
|
||||
*
|
||||
* @param pb protobuf handle.
|
||||
* @param field Field name.
|
||||
* @param index Index in the repeated field.
|
||||
* @return Boolean value read.
|
||||
* @error Invalid or incorrect Handle, non-existant field, or incorrect field type.
|
||||
*/
|
||||
#pragma deprecated use PbReadBool with index param
|
||||
native bool:PbReadRepeatedBool(Handle:pb, const String:field[], index);
|
||||
|
||||
/**
|
||||
* Reads a string from a protobuf message repeated field.
|
||||
*
|
||||
* @param pb protobuf handle.
|
||||
* @param field Field name.
|
||||
* @param index Index in the repeated field.
|
||||
* @param buffer Destination string buffer.
|
||||
* @param maxlength Maximum length of output string buffer.
|
||||
* @noreturn
|
||||
* @error Invalid or incorrect Handle, non-existant field, or incorrect field type.
|
||||
*/
|
||||
#pragma deprecated use PbReadString with index param
|
||||
native PbReadRepeatedString(Handle:pb, const String:field[], index, String:buffer[], size);
|
||||
|
||||
/**
|
||||
* Reads an RGBA color value from a protobuf message repeated field.
|
||||
*
|
||||
* @param pb protobuf handle.
|
||||
* @param field Field name.
|
||||
* @param index Index in the repeated field.
|
||||
* @param buffer Destination color buffer.
|
||||
* @noreturn
|
||||
* @error Invalid or incorrect Handle, non-existant field, or incorrect field type.
|
||||
*/
|
||||
#pragma deprecated use PbReadColor with index param
|
||||
native PbReadRepeatedColor(Handle:pb, const String:field[], index, buffer[4]);
|
||||
|
||||
/**
|
||||
* Reads an XYZ angle value from a protobuf message repeated field.
|
||||
*
|
||||
* @param pb protobuf handle.
|
||||
* @param field Field name.
|
||||
* @param index Index in the repeated field.
|
||||
* @param buffer Destination angle buffer.
|
||||
* @noreturn
|
||||
* @error Invalid or incorrect Handle, non-existant field, or incorrect field type.
|
||||
*/
|
||||
#pragma deprecated use PbReadAngle with index param
|
||||
native PbReadRepeatedAngle(Handle:pb, const String:field[], index, Float:buffer[3]);
|
||||
|
||||
/**
|
||||
* Reads an XYZ vector value from a protobuf message repeated field.
|
||||
*
|
||||
* @param pb protobuf handle.
|
||||
* @param field Field name.
|
||||
* @param index Index in the repeated field.
|
||||
* @param buffer Destination vector buffer.
|
||||
* @noreturn
|
||||
* @error Invalid or incorrect Handle, non-existant field, or incorrect field type.
|
||||
*/
|
||||
#pragma deprecated use PbReadVector with index param
|
||||
native PbReadRepeatedVector(Handle:pb, const String:field[], index, Float:buffer[3]);
|
||||
|
||||
/**
|
||||
* Reads an XY vector value from a protobuf message repeated field.
|
||||
*
|
||||
* @param pb protobuf handle.
|
||||
* @param field Field name.
|
||||
* @param index Index in the repeated field.
|
||||
* @param buffer Destination vector buffer.
|
||||
* @noreturn
|
||||
* @error Invalid or incorrect Handle, non-existant field, or incorrect field type.
|
||||
*/
|
||||
#pragma deprecated use PbReadVector2D with index param
|
||||
native PbReadRepeatedVector2D(Handle:pb, const String:field[], index, Float:buffer[2]);
|
||||
|
||||
/**
|
||||
* Sets an int32, uint32, sint32, fixed32, sfixed32, or enum value on a protobuf message.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user