add ScreenClassExists
This commit is contained in:
@@ -857,6 +857,7 @@ public:
|
|||||||
}
|
}
|
||||||
static int SystemMessage( T* p, lua_State *L ) { p->SystemMessage( SArg(1) ); return 0; }
|
static int SystemMessage( T* p, lua_State *L ) { p->SystemMessage( SArg(1) ); return 0; }
|
||||||
static int ScreenIsPrepped( T* p, lua_State *L ) { lua_pushboolean( L, ScreenManagerUtil::ScreenIsPrepped( SArg(1) ) ); return 1; }
|
static int ScreenIsPrepped( T* p, lua_State *L ) { lua_pushboolean( L, ScreenManagerUtil::ScreenIsPrepped( SArg(1) ) ); return 1; }
|
||||||
|
static int ScreenClassExists( T* p, lua_State *L ) { lua_pushboolean( L, g_pmapRegistrees->find( SArg(1) ) != g_pmapRegistrees->end() ); return 1; }
|
||||||
|
|
||||||
LunaScreenManager()
|
LunaScreenManager()
|
||||||
{
|
{
|
||||||
@@ -864,6 +865,7 @@ public:
|
|||||||
ADD_METHOD( GetTopScreen );
|
ADD_METHOD( GetTopScreen );
|
||||||
ADD_METHOD( SystemMessage );
|
ADD_METHOD( SystemMessage );
|
||||||
ADD_METHOD( ScreenIsPrepped );
|
ADD_METHOD( ScreenIsPrepped );
|
||||||
|
ADD_METHOD( ScreenClassExists );
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user