GetVersion
From LoTROInterface Wiki
(Difference between revisions)
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]].''' | + | {{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|:}} | + | {{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 | + | {{API_Type|string|The version of the plugin.}} |
==Remarks== | ==Remarks== | ||
- | This method gets the | + | This method gets the version of the plugin that was specified in the plugin information file. |
[[Category:API_Methods]] | [[Category:API_Methods]] |
Current revision
API Reference > Turbine.Plugin.GetVersion()
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.