added GetDate for LunaHighScore
This commit is contained in:
@@ -398,6 +398,7 @@ public:
|
||||
static int GetName( T* p, lua_State *L ) { lua_pushstring(L, p->GetName() ); return 1; }
|
||||
static int GetScore( T* p, lua_State *L ) { lua_pushnumber(L, p->GetScore() ); return 1; }
|
||||
static int GetPercentDP( T* p, lua_State *L ) { lua_pushnumber(L, p->GetPercentDP() ); return 1; }
|
||||
static int GetDate( T* p, lua_State *L ) { lua_pushstring(L, p->GetDateTime().GetString() ); return 1; }
|
||||
static int IsFillInMarker( T* p, lua_State *L )
|
||||
{
|
||||
bool bIsFillInMarker = false;
|
||||
@@ -412,7 +413,8 @@ public:
|
||||
ADD_METHOD( GetName );
|
||||
ADD_METHOD( GetScore );
|
||||
ADD_METHOD( GetPercentDP );
|
||||
ADD_METHOD( IsFillInMarker );
|
||||
ADD_METHOD( GetDate );
|
||||
ADD_METHOD( IsFillInMarker );
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user