Regular API function

simGetObjectCustomDataLength

Description Retrieves the length of an object's custom data previously added with the simAddObjectCustomData function. See also simGetObjectCustomData.
C synopsis simInt simGetObjectCustomDataLength(simInt objectHandle,simInt header)
C parameters
objectHandle: handle of the object
header: identifier of the custom data. See simAddObjectCustomData for details.
C return value
length of the custom data, 0 if there is no data under that header, or -1 in case of an error
Lua synopsis -
Lua parameters
-
Lua return values
-

All regular API functions on one page