GetVersion
From LoTROInterface Wiki
(Difference between revisions)
(New page: Gets the version of the plugin. ==Syntax== {{API_Example|Lua|function Plugin:GetVersion();}} ===Returns=== Type: string The version of the plugin. ==Remarks== This method gets the vers...) |
Current revision (08:26, 16 November 2010) (view source) (→Returns) |
||
(7 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
- | Gets the | + | {{API_Breadcrumb|[[:Category:API_Reference|API Reference]] > [[Turbine_(Package)|Turbine]].[[Plugin]].'''GetVersion()'''}} |
+ | __NOTOC__ | ||
+ | |||
+ | Gets the name of the plugin. | ||
==Syntax== | ==Syntax== | ||
- | {{API_Example|Lua|function Plugin:GetVersion();}} | + | {{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 version of the plugin.}} | |
- | + | ||
- | The version of the plugin. | + | |
==Remarks== | ==Remarks== | ||
- | This method gets the version 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
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.