Files
itgmania212121/stepmania/Docs/LuaDocumentation.xml
T
2007-07-06 03:14:18 +00:00

56 lines
2.1 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<!-- Before checking the documentation in, make sure that it validates by
going to http://tools.decisionsoft.com/schemaValidate/ and using
Lua.xsd for the XML Schema and this file for the XML Instanace. -->
<Documentation xmlns='http://www.stepmania.com' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.stepmania.com Lua.xsd'>
<!-- Global functions -->
<GlobalFunctions>
<Function name='Basename' return='string' arguments='path'>
Returns the base name of file path.
</Function>
</GlobalFunctions>
<!-- Classes -->
<Classes>
<Class name='Actor'>
<Function name='x' return='void' arguments='xPos'>
Set the x position of the Actor.
</Function>
<Function name='y' return='void' arguments='yPos'>
Set the y position of the Actor.
</Function>
<Function name='z' return='void' arguments='zPos'>
Set the z position of the Actor.
</Function>
</Class>
<Class name='Song'>
<Function name='GetDisplayArtist' return='string' arguments='none'>
Returns the displayed artist of the song.
</Function>
<Function name='GetDisplayFullTitle' return='string' arguments='none'>
Returns the displayed full title of the song, including subtitle.
</Function>
<Function name='GetDisplayMainTitle' return='string' arguments='none'>
Returns the displayed main title of the song.
</Function>
<Function name='GetTranslitArtist' return='string' arguments='none'>
Returns the transliterated artist of the song.
</Function>
<Function name='GetTranslitFullTitle' return='string' arguments='none'>
Returns the transliterated full title of the song, including subtitle.
</Function>
<Function name='GetTranslitMainTitle' return='string' arguments='none'>
Returns the transliterated main title of the song.
</Function>
<Function name='IsLong' return='bool' arguments='none'>
Returns true if the song is meets the criteria for a &quot;Long Version&quot;.
</Function>
<Function name='IsMarathon' return='bool' arguments='none'>
Returns true if the song is meets the criteria for &quot;Marathon&quot; length.
</Function>
</Class>
</Classes>
</Documentation>