add EditProfileID lua binding

This commit is contained in:
Chris Danford
2005-08-06 05:33:29 +00:00
parent c20c41e7fc
commit c15b82a222
+2
View File
@@ -2046,6 +2046,7 @@ public:
}
static int GetCurrentGame( T* p, lua_State *L ) { const_cast<Game*>(p->GetCurrentGame())->PushSelf( L ); return 1; }
static int GetEditCourseEntryIndex( T* p, lua_State *L ) { lua_pushnumber(L, p->m_iEditCourseEntryIndex ); return 1; }
static int GetEditLocalProfileID( T* p, lua_State *L ) { lua_pushstring(L, p->m_sEditLocalProfileID.Get() ); return 1; }
static int GetEditLocalProfile( T* p, lua_State *L )
{
Profile *pProfile = p->GetEditLocalProfile();
@@ -2109,6 +2110,7 @@ public:
ADD_METHOD( IsWinner )
ADD_METHOD( GetCurrentGame )
ADD_METHOD( GetEditCourseEntryIndex )
ADD_METHOD( GetEditLocalProfileID )
ADD_METHOD( GetEditLocalProfile )
Luna<T>::Register( L );