[Song] Add ShowInDemonstrationAndRanking() Lua binding.
This commit is contained in:
+7
-1
@@ -1668,7 +1668,7 @@ public:
|
||||
lua_pushboolean(L, p->IsTutorial());
|
||||
return 1;
|
||||
}
|
||||
static int IsEnabled( T* p, lua_State *L )
|
||||
static int IsEnabled( T* p, lua_State *L )
|
||||
{
|
||||
lua_pushboolean(L, p->GetEnabled());
|
||||
return 1;
|
||||
@@ -1783,6 +1783,11 @@ public:
|
||||
lua_pushboolean(L, p->NormallyDisplayed());
|
||||
return 1;
|
||||
}
|
||||
static int ShowInDemonstrationAndRanking( T* p, lua_State *L )
|
||||
{
|
||||
lua_pushboolean(L, p->ShowInDemonstrationAndRanking());
|
||||
return 1;
|
||||
}
|
||||
static int GetFirstSecond(T* p, lua_State *L)
|
||||
{
|
||||
lua_pushnumber(L, p->GetFirstSecond());
|
||||
@@ -1891,6 +1896,7 @@ public:
|
||||
ADD_METHOD( IsDisplayBpmSecret );
|
||||
ADD_METHOD( IsDisplayBpmConstant );
|
||||
ADD_METHOD( IsDisplayBpmRandom );
|
||||
ADD_METHOD( ShowInDemonstrationAndRanking );
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user