Vp create: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
Roy Curtis (talk | contribs)
m method templates
m updated syntax highlighting tags
Line 4: Line 4:
|returns=A pointer to the newly created instance, or {{code|NULL}} if something went wrong whilst trying to create one.
|returns=A pointer to the newly created instance, or {{code|NULL}} if something went wrong whilst trying to create one.
|examples=
|examples=
<C>VPInstance instance;
<syntaxhighlight lang="c">VPInstance instance;
instance = vp_create();</C>
instance = vp_create();</syntaxhighlight>
|seealso=
|seealso=
* {{sdk method|connect_universe}}
* {{sdk method|connect_universe}}

Revision as of 18:05, 6 February 2015

Method call snippet vp_create();

Creates a VPInstance in memory for use with connecting to a world or universe.

Parameters

These are the parameters that this method requires:

Parameter Usage


Returns

A pointer to the newly created instance, or NULL if something went wrong whilst trying to create one.

Behavior

There is no special behavior for this method

Examples

VPInstance instance;
instance = vp_create();

See also