Added WheelItemBase:IsLoaded lua function and associated error.
This commit is contained in:
+3
-2
@@ -725,8 +725,8 @@
|
||||
<Function name='IsGameEnabled'/>
|
||||
<Function name='StepsTypeToLocalizedString'/>
|
||||
<Function name='SetGame'/>
|
||||
<Function name='GetEnabledGames'/>
|
||||
<Function name='GetStylesForGame'/>
|
||||
<Function name='GetEnabledGames'/>
|
||||
<Function name='GetStylesForGame'/>
|
||||
</Class>
|
||||
<Class name='GameSoundManager'>
|
||||
<Function name='DimMusic'/>
|
||||
@@ -1770,6 +1770,7 @@
|
||||
<Function name='GetColor'/>
|
||||
<Function name='GetText'/>
|
||||
<Function name='GetType'/>
|
||||
<Function name='IsLoaded'/>
|
||||
</Class>
|
||||
<Class base='ActorFrame' name='WorkoutGraph'>
|
||||
<Function name='SetFromCurrentWorkout'/>
|
||||
|
||||
@@ -2188,10 +2188,10 @@ save yourself some time, copy this for undocumented things:
|
||||
</Function>
|
||||
<Function name='GetEnabledGames' return='{string}'>
|
||||
Returns a table of all selectable games.
|
||||
</Function>
|
||||
</Function>
|
||||
<Function name='GetStylesForGame' return='{style}' arguments='string game'>
|
||||
Returns a table of all the styles for the that exist for <code>game</code>.
|
||||
</Function>
|
||||
</Function>
|
||||
<Function name='SetGame' return='void' arguments='string Game, string Theme' >
|
||||
Sets the current game to <code>Game</code>. The second argument is optional, and if provided will determine which theme is loaded when the game changes. If the second argument is not provided, the default theme from the preferences for the new game type will be loaded.<br />
|
||||
If only the game changes, the screen specified by the Common::AfterGameChangeScreen metric will be loaded.<br />
|
||||
@@ -4995,6 +4995,10 @@ save yourself some time, copy this for undocumented things:
|
||||
<Function name='GetType' return='WheelItemDataType' arguments=''>
|
||||
Returns the type of this wheel item.
|
||||
</Function>
|
||||
<Function name='IsLoaded' return='bool' arguments=''>
|
||||
Returns whether the wheel item has been loaded yet. If this function returns false, calling any other WheelItemBase function will result in an error. <br />
|
||||
A specific case where this is known to happen is commands that trigger on CurrentSongChanged because the music wheel clears the current song before it finishes loading if the current song is longer than the number of stages remaining.
|
||||
</Function>
|
||||
</Class>
|
||||
<Class name='WorkoutGraph'>
|
||||
<Function name='SetFromCurrentWorkout' return='void' arguments=''>
|
||||
|
||||
Reference in New Issue
Block a user