Black Ops III

RegisterClientField

Register a client field. Client fields are variable bit length fields communicated from server to client.

Example:

RegisterClientField("world", "my_field", 2, "int"); // registers a world int field with 2 bits of resolution, that can hold the values 0,1,2,3.

Parameters

ParameterSummary
*Client field pool nameWhich pool the field is allocated from. Currently supported : "world", "actor", "vehicle", "scriptmover"
*nameUnique name to identify the field.
*versionNumber indicating version this field was added in - see _version.gsh for defines.
*num bitsHow many bits to use for the field. Valid values are in the range of 1-32. Only ask for as many as you need.
*typeType of the field. Currently supported types "int" or "float"

* = mandatory