Vp create: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
No edit summary
 
Oliver (talk | contribs)
Extended documentation
Line 1: Line 1:
<C>VPInstance vp_create()</C>
<C>VPInstance vp_create(void)</C>
 
== Description ==
== Description ==
Creates a VP SDK instance.
Creates a new VP SDK instance.
 
== Callback ==
None
 
== Notes ==
None
 
== Arguments ==
None
 
== Argument attributes ==
None
 
== Return values ==
;[[SDK_Reason_Codes#VP_RC_SUCCESS|VP_RC_SUCCESS]]
;[[SDK_Reason_Codes#VP_RC_NOT_INITIALIZED|VP_RC_NOT_INITIALIZED]]:The SDK hasn't been initialized. Try calling [[vp_init]] first.
 
== Returned attributes ==
None
 
== Example ==
== Example ==
<C>VPInstance instance;
<C>VPInstance instance;
instance = vp_create();</C>
instance = vp_create();</C>
== See also ==
* [[vp_connect_universe]]
* [[vp_destroy]]
* [[vp_login]]

Revision as of 14:36, 17 June 2012

<C>VPInstance vp_create(void)</C>

Description

Creates a new VP SDK instance.

Callback

None

Notes

None

Arguments

None

Argument attributes

None

Return values

VP_RC_SUCCESS
VP_RC_NOT_INITIALIZED
The SDK hasn't been initialized. Try calling vp_init first.

Returned attributes

None

Example

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

See also