Vp data: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
Sleepy E (talk | contribs)
Basic layout
 
Sleepy E (talk | contribs)
mNo edit summary
Line 7: Line 7:
   const char*
   const char*
|behavior=
|behavior=
|caveats=If an invalid value is passed for attr, then a pointer to NULL will be returned (and length will not be returned).
|caveats=If an invalid value is passed for attr, then a pointer to NULL will be returned (and length will not be set).
|examples=
|examples=
|seealso=
|seealso=

Revision as of 18:49, 12 December 2016

Method call snippet vp_data(instance, attr, length);

Return a pointer to data attribute.

Parameters

These are the parameters that this method requires:

Parameter Usage
VPInstance
instance
Pointer to the instance this method call is intended for
vp_data_attribute_t
attr
Attribute to return value of
int*
length
Returns length of the data

Returns

const char*

Behavior

There is no special behavior for this method

Caveats

If an invalid value is passed for attr, then a pointer to NULL will be returned (and length will not be set).

Examples

This method has no usage examples; please add at least one to this page

See also