GetVersion

From LoTROInterface Wiki

(Difference between revisions)
Jump to: navigation, search
Current revision (08:26, 16 November 2010) (view source)
(Returns)
 
(3 intermediate revisions not shown.)
Line 1: Line 1:
-
{{API_Breadcrumb|[[:Category:API_Reference|API Reference]] > [[Turbine_(Package)|Turbine]].[[Plugin]].'''GetName()'''}}
+
{{API_Breadcrumb|[[:Category:API_Reference|API Reference]] > [[Turbine_(Package)|Turbine]].[[Plugin]].'''GetVersion()'''}}
__NOTOC__
__NOTOC__
Line 5: Line 5:
==Syntax==
==Syntax==
-
{{API_Example|Lua|{{API_Keyword|function}}{{API_Whitespace| }}Plugin{{API_Operator|:}}GetName{{API_Operator|(}}{{API_Operator|)}}{{API_Operator|;}}{{API_Whitespace|<br>}}}}
+
{{API_Example|Lua|{{API_Keyword|function}}{{API_Whitespace| }}Plugin{{API_Operator|:}}GetVersion{{API_Operator|(}}{{API_Operator|)}}{{API_Operator|;}}{{API_Whitespace|<br>}}}}
====Returns====
====Returns====
-
{{API_Type|string|The name of the plugin.}}
+
{{API_Type|string|The version of the plugin.}}
==Remarks==
==Remarks==
-
This method gets the name of the plugin that was specified in the plugin information file.  
+
This method gets the version of the plugin that was specified in the plugin information file.  
[[Category:API_Methods]]
[[Category:API_Methods]]

Current revision


Gets the name of the plugin.

Syntax

Lua
function Plugin:GetVersion();

Returns

Type: string
The version of the plugin.

Remarks

This method gets the version of the plugin that was specified in the plugin information file.

Personal tools