Vp create: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
Roy Curtis (talk | contribs)
No edit summary
Line 1: Line 1:
<C>VPInstance vp_create(void)</C>
{{sdk method page|create|Creates a VPInstance in memory for use with connecting to a world or universe.|customparam=
 
|customparamex=
== Description ==
|noinstanceparam=
Creates a new VP SDK instance.
|returns=A pointer to the newly created instance, or {{code|NULL}} if something went wrong whilst trying to create one.
 
|examples=
== Callback ==
None
 
== Notes ==
None
 
== Arguments ==
None
 
== Argument attributes ==
None
 
== Return values ==
;[[VPInstance]]:The newly created instance.
;NULL:There was an error creating the instance.
 
== Returned attributes ==
None
 
== Example ==
<C>VPInstance instance;
<C>VPInstance instance;
instance = vp_create();</C>
instance = vp_create();</C>
 
|seealso=
== See also ==
* [[vp_connect_universe]]
* [[vp_connect_universe]]
* [[vp_destroy]]
* [[vp_destroy]]
* [[vp_login]]
* [[vp_login]]
 
}}
[[Category: SDK]]
[[Category: SDK]]

Revision as of 18:41, 28 September 2013

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

<C>VPInstance instance; instance = vp_create();</C>

See also