Template:Sdk method page: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
(sample header redundant; removed)
m (made parameters optional)
Line 2: Line 2:
<code style="display: block; padding: 8px; margin: 8px 0px; border: 1px dashed hsl(204,100%,70%);">vp_{{lc:{{{1|unknown}}}}}({{{customparamex| instance{{#if:{{{paramex|}}}|, {{{paramex}}}|}} }}});</code></div>
<code style="display: block; padding: 8px; margin: 8px 0px; border: 1px dashed hsl(204,100%,70%);">vp_{{lc:{{{1|unknown}}}}}({{{customparamex| instance{{#if:{{{paramex|}}}|, {{{paramex}}}|}} }}});</code></div>
{{{2}}}__NOTOC__
{{{2}}}__NOTOC__
== Parameters ==__NOEDITSECTION__
{{#if: {{{parameters|}}} |== Parameters ==__NOEDITSECTION__
These are the parameters that this method requires:
These are the parameters that this method requires:
{{sdk parameter table|{{#if:{{{noinstanceparam}}}|{{sdk parameter row|VPInstance|instance|Pointer to the instance this method call is intended for}}|}}
{{sdk parameter table|{{#if:{{{noinstanceparam}}}|{{sdk parameter row|VPInstance|instance|Pointer to the instance this method call is intended for}}|}}
{{{parameters|}}}}}
{{{parameters|}}}}} |}}
{{#if: {{{attributes|}}} |== Used attributes ==__NOEDITSECTION__
{{#if: {{{attributes|}}} |== Used attributes ==__NOEDITSECTION__
This method uses data set in these attributes when called:
This method uses data set in these attributes when called:

Revision as of 18:37, 28 September 2013

Method call snippet vp_unknown( instance );

{{{2}}}


Returns

This method returns a return code integer, which indicates whether the call was successful (0) or errored for any of these reasons:

Return code Cause
VP_RC_SUCCESS Successful call (for methods that have a registered callback, it only means the request has been sent)

Behavior

There is no special behavior for this method

Examples

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


Usage

{{sdk event page|Event name|Event description
|returntype=
|paramex=
|parameters=
  {{sdk parameter row|type|name|description}}
|attributes=
  {{sdk attribute row|type|name|description}}
|returncodes=
  {{sdk return code row|name|cause}}
|returnattributes=
  {{sdk attribute row|type|name|description}}
|behavior=
|caveats=
|examples=
|seealso=
}}