| | |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "Close", _m_Close_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "CloseAll", _m_CloseAll_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "DestroyWin", _m_DestroyWin_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "CheckOpen", _m_CheckOpen_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "IsOpen", _m_IsOpen_xlua_st_); |
| | | |
| | | |
| | | |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_CheckOpen_xlua_st_(RealStatePtr L) |
| | | static int _m_IsOpen_xlua_st_(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | |
| | | { |
| | | string __name = LuaAPI.lua_tostring(L, 1); |
| | | |
| | | bool gen_ret = LuaWindowUtility.CheckOpen( __name ); |
| | | bool gen_ret = LuaWindowUtility.IsOpen( __name ); |
| | | LuaAPI.lua_pushboolean(L, gen_ret); |
| | | |
| | | |