GetVersion
From LoTROInterface Wiki
(Difference between revisions)
Current revision (08:26, 16 November 2010) (view source) (→Returns) |
|||
(4 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__ | ||
- | Gets the | + | 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==== | ||
Line 10: | Line 11: | ||
==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.