Vp string: 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 1: Line 1:
{{sdk method page|int|Return the value of a string attribute.
{{sdk method page|string|Return the value of a string attribute.
|paramex=attr
|paramex=attr
|parameters=
|parameters=

Revision as of 18:41, 12 December 2016

Method call snippet vp_string(instance, attr);

Return the value of a string 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_string_attribute_t
attr
Attribute to return value of

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 "" will be returned.

Examples

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

See also