[Character] add GetCharacterDir() and GetCharacterID() Lua bindings.
This commit is contained in:
@@ -14,6 +14,7 @@ _____________________________________________________________________________
|
|||||||
* [MusicWheel] added UseSectionsWithPreferredGroup metric
|
* [MusicWheel] added UseSectionsWithPreferredGroup metric
|
||||||
(allows sm-ssc to display all song groups if you use the songgroup
|
(allows sm-ssc to display all song groups if you use the songgroup
|
||||||
GameCommand, instead of no groups.)
|
GameCommand, instead of no groups.)
|
||||||
|
* [Character] add GetCharacterDir() and GetCharacterID() Lua bindings.
|
||||||
|
|
||||||
================================================================================
|
================================================================================
|
||||||
sm-ssc v1.0 Public Beta 4 | 20100531
|
sm-ssc v1.0 Public Beta 4 | 20100531
|
||||||
|
|||||||
@@ -212,6 +212,8 @@ public:
|
|||||||
static int GetRestAnimationPath( T* p, lua_State *L ) { lua_pushstring(L, p->GetRestAnimationPath() ); return 1; }
|
static int GetRestAnimationPath( T* p, lua_State *L ) { lua_pushstring(L, p->GetRestAnimationPath() ); return 1; }
|
||||||
static int GetWarmUpAnimationPath( T* p, lua_State *L ) { lua_pushstring(L, p->GetWarmUpAnimationPath() ); return 1; }
|
static int GetWarmUpAnimationPath( T* p, lua_State *L ) { lua_pushstring(L, p->GetWarmUpAnimationPath() ); return 1; }
|
||||||
static int GetDanceAnimationPath( T* p, lua_State *L ) { lua_pushstring(L, p->GetDanceAnimationPath() ); return 1; }
|
static int GetDanceAnimationPath( T* p, lua_State *L ) { lua_pushstring(L, p->GetDanceAnimationPath() ); return 1; }
|
||||||
|
static int GetCharacterDir( T* p, lua_State *L ) { lua_pushstring(L, p->m_sCharDir ); return 1; }
|
||||||
|
static int GetCharacterID( T* p, lua_State *L ) { lua_pushstring(L, p->m_sCharacterID ); return 1; }
|
||||||
|
|
||||||
LunaCharacter()
|
LunaCharacter()
|
||||||
{
|
{
|
||||||
@@ -224,6 +226,8 @@ public:
|
|||||||
ADD_METHOD( GetRestAnimationPath );
|
ADD_METHOD( GetRestAnimationPath );
|
||||||
ADD_METHOD( GetWarmUpAnimationPath );
|
ADD_METHOD( GetWarmUpAnimationPath );
|
||||||
ADD_METHOD( GetDanceAnimationPath );
|
ADD_METHOD( GetDanceAnimationPath );
|
||||||
|
ADD_METHOD( GetCharacterDir );
|
||||||
|
ADD_METHOD( GetCharacterID );
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user