614 lines
14 KiB
C#
614 lines
14 KiB
C#
|
|
//this source code was auto-generated by tolua#, do not modify it
|
|||
|
|
using System;
|
|||
|
|
using LuaInterface;
|
|||
|
|
|
|||
|
|
public class FairyGUI_WindowWrap
|
|||
|
|
{
|
|||
|
|
public static void Register(LuaState L)
|
|||
|
|
{
|
|||
|
|
L.BeginClass(typeof(FairyGUI.Window), typeof(FairyGUI.GComponent));
|
|||
|
|
L.RegFunction("AddUISource", AddUISource);
|
|||
|
|
L.RegFunction("Show", Show);
|
|||
|
|
L.RegFunction("ShowOn", ShowOn);
|
|||
|
|
L.RegFunction("Hide", Hide);
|
|||
|
|
L.RegFunction("HideImmediately", HideImmediately);
|
|||
|
|
L.RegFunction("CenterOn", CenterOn);
|
|||
|
|
L.RegFunction("ToggleStatus", ToggleStatus);
|
|||
|
|
L.RegFunction("BringToFront", BringToFront);
|
|||
|
|
L.RegFunction("ShowModalWait", ShowModalWait);
|
|||
|
|
L.RegFunction("CloseModalWait", CloseModalWait);
|
|||
|
|
L.RegFunction("Init", Init);
|
|||
|
|
L.RegFunction("Dispose", Dispose);
|
|||
|
|
L.RegFunction("New", _CreateFairyGUI_Window);
|
|||
|
|
L.RegFunction("__tostring", ToLua.op_ToString);
|
|||
|
|
L.RegVar("bringToFontOnClick", get_bringToFontOnClick, set_bringToFontOnClick);
|
|||
|
|
L.RegVar("contentPane", get_contentPane, set_contentPane);
|
|||
|
|
L.RegVar("frame", get_frame, null);
|
|||
|
|
L.RegVar("closeButton", get_closeButton, set_closeButton);
|
|||
|
|
L.RegVar("dragArea", get_dragArea, set_dragArea);
|
|||
|
|
L.RegVar("contentArea", get_contentArea, set_contentArea);
|
|||
|
|
L.RegVar("modalWaitingPane", get_modalWaitingPane, null);
|
|||
|
|
L.RegVar("isShowing", get_isShowing, null);
|
|||
|
|
L.RegVar("isTop", get_isTop, null);
|
|||
|
|
L.RegVar("modal", get_modal, set_modal);
|
|||
|
|
L.RegVar("modalWaiting", get_modalWaiting, null);
|
|||
|
|
L.EndClass();
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int _CreateFairyGUI_Window(IntPtr L)
|
|||
|
|
{
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
int count = LuaDLL.lua_gettop(L);
|
|||
|
|
|
|||
|
|
if (count == 0)
|
|||
|
|
{
|
|||
|
|
FairyGUI.Window obj = new FairyGUI.Window();
|
|||
|
|
ToLua.PushObject(L, obj);
|
|||
|
|
return 1;
|
|||
|
|
}
|
|||
|
|
else
|
|||
|
|
{
|
|||
|
|
return LuaDLL.luaL_throw(L, "invalid arguments to ctor method: FairyGUI.Window.New");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
catch (Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int AddUISource(IntPtr L)
|
|||
|
|
{
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
ToLua.CheckArgsCount(L, 2);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)ToLua.CheckObject<FairyGUI.Window>(L, 1);
|
|||
|
|
FairyGUI.IUISource arg0 = (FairyGUI.IUISource)ToLua.CheckObject<FairyGUI.IUISource>(L, 2);
|
|||
|
|
obj.AddUISource(arg0);
|
|||
|
|
return 0;
|
|||
|
|
}
|
|||
|
|
catch (Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int Show(IntPtr L)
|
|||
|
|
{
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
ToLua.CheckArgsCount(L, 1);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)ToLua.CheckObject<FairyGUI.Window>(L, 1);
|
|||
|
|
obj.Show();
|
|||
|
|
return 0;
|
|||
|
|
}
|
|||
|
|
catch (Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int ShowOn(IntPtr L)
|
|||
|
|
{
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
ToLua.CheckArgsCount(L, 2);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)ToLua.CheckObject<FairyGUI.Window>(L, 1);
|
|||
|
|
FairyGUI.GRoot arg0 = (FairyGUI.GRoot)ToLua.CheckObject<FairyGUI.GRoot>(L, 2);
|
|||
|
|
obj.ShowOn(arg0);
|
|||
|
|
return 0;
|
|||
|
|
}
|
|||
|
|
catch (Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int Hide(IntPtr L)
|
|||
|
|
{
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
ToLua.CheckArgsCount(L, 1);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)ToLua.CheckObject<FairyGUI.Window>(L, 1);
|
|||
|
|
obj.Hide();
|
|||
|
|
return 0;
|
|||
|
|
}
|
|||
|
|
catch (Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int HideImmediately(IntPtr L)
|
|||
|
|
{
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
ToLua.CheckArgsCount(L, 1);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)ToLua.CheckObject<FairyGUI.Window>(L, 1);
|
|||
|
|
obj.HideImmediately();
|
|||
|
|
return 0;
|
|||
|
|
}
|
|||
|
|
catch (Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int CenterOn(IntPtr L)
|
|||
|
|
{
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
ToLua.CheckArgsCount(L, 3);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)ToLua.CheckObject<FairyGUI.Window>(L, 1);
|
|||
|
|
FairyGUI.GRoot arg0 = (FairyGUI.GRoot)ToLua.CheckObject<FairyGUI.GRoot>(L, 2);
|
|||
|
|
bool arg1 = LuaDLL.luaL_checkboolean(L, 3);
|
|||
|
|
obj.CenterOn(arg0, arg1);
|
|||
|
|
return 0;
|
|||
|
|
}
|
|||
|
|
catch (Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int ToggleStatus(IntPtr L)
|
|||
|
|
{
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
ToLua.CheckArgsCount(L, 1);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)ToLua.CheckObject<FairyGUI.Window>(L, 1);
|
|||
|
|
obj.ToggleStatus();
|
|||
|
|
return 0;
|
|||
|
|
}
|
|||
|
|
catch (Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int BringToFront(IntPtr L)
|
|||
|
|
{
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
ToLua.CheckArgsCount(L, 1);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)ToLua.CheckObject<FairyGUI.Window>(L, 1);
|
|||
|
|
obj.BringToFront();
|
|||
|
|
return 0;
|
|||
|
|
}
|
|||
|
|
catch (Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int ShowModalWait(IntPtr L)
|
|||
|
|
{
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
int count = LuaDLL.lua_gettop(L);
|
|||
|
|
|
|||
|
|
if (count == 1)
|
|||
|
|
{
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)ToLua.CheckObject<FairyGUI.Window>(L, 1);
|
|||
|
|
obj.ShowModalWait();
|
|||
|
|
return 0;
|
|||
|
|
}
|
|||
|
|
else if (count == 2)
|
|||
|
|
{
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)ToLua.CheckObject<FairyGUI.Window>(L, 1);
|
|||
|
|
int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
|
|||
|
|
obj.ShowModalWait(arg0);
|
|||
|
|
return 0;
|
|||
|
|
}
|
|||
|
|
else
|
|||
|
|
{
|
|||
|
|
return LuaDLL.luaL_throw(L, "invalid arguments to method: FairyGUI.Window.ShowModalWait");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
catch (Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int CloseModalWait(IntPtr L)
|
|||
|
|
{
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
int count = LuaDLL.lua_gettop(L);
|
|||
|
|
|
|||
|
|
if (count == 1)
|
|||
|
|
{
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)ToLua.CheckObject<FairyGUI.Window>(L, 1);
|
|||
|
|
bool o = obj.CloseModalWait();
|
|||
|
|
LuaDLL.lua_pushboolean(L, o);
|
|||
|
|
return 1;
|
|||
|
|
}
|
|||
|
|
else if (count == 2)
|
|||
|
|
{
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)ToLua.CheckObject<FairyGUI.Window>(L, 1);
|
|||
|
|
int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
|
|||
|
|
bool o = obj.CloseModalWait(arg0);
|
|||
|
|
LuaDLL.lua_pushboolean(L, o);
|
|||
|
|
return 1;
|
|||
|
|
}
|
|||
|
|
else
|
|||
|
|
{
|
|||
|
|
return LuaDLL.luaL_throw(L, "invalid arguments to method: FairyGUI.Window.CloseModalWait");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
catch (Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int Init(IntPtr L)
|
|||
|
|
{
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
ToLua.CheckArgsCount(L, 1);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)ToLua.CheckObject<FairyGUI.Window>(L, 1);
|
|||
|
|
obj.Init();
|
|||
|
|
return 0;
|
|||
|
|
}
|
|||
|
|
catch (Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int Dispose(IntPtr L)
|
|||
|
|
{
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
ToLua.CheckArgsCount(L, 1);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)ToLua.CheckObject<FairyGUI.Window>(L, 1);
|
|||
|
|
obj.Dispose();
|
|||
|
|
return 0;
|
|||
|
|
}
|
|||
|
|
catch (Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int get_bringToFontOnClick(IntPtr L)
|
|||
|
|
{
|
|||
|
|
object o = null;
|
|||
|
|
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
o = ToLua.ToObject(L, 1);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)o;
|
|||
|
|
bool ret = obj.bringToFontOnClick;
|
|||
|
|
LuaDLL.lua_pushboolean(L, ret);
|
|||
|
|
return 1;
|
|||
|
|
}
|
|||
|
|
catch(Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index bringToFontOnClick on a nil value");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int get_contentPane(IntPtr L)
|
|||
|
|
{
|
|||
|
|
object o = null;
|
|||
|
|
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
o = ToLua.ToObject(L, 1);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)o;
|
|||
|
|
FairyGUI.GComponent ret = obj.contentPane;
|
|||
|
|
ToLua.PushObject(L, ret);
|
|||
|
|
return 1;
|
|||
|
|
}
|
|||
|
|
catch(Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index contentPane on a nil value");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int get_frame(IntPtr L)
|
|||
|
|
{
|
|||
|
|
object o = null;
|
|||
|
|
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
o = ToLua.ToObject(L, 1);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)o;
|
|||
|
|
FairyGUI.GComponent ret = obj.frame;
|
|||
|
|
ToLua.PushObject(L, ret);
|
|||
|
|
return 1;
|
|||
|
|
}
|
|||
|
|
catch(Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index frame on a nil value");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int get_closeButton(IntPtr L)
|
|||
|
|
{
|
|||
|
|
object o = null;
|
|||
|
|
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
o = ToLua.ToObject(L, 1);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)o;
|
|||
|
|
FairyGUI.GObject ret = obj.closeButton;
|
|||
|
|
ToLua.PushObject(L, ret);
|
|||
|
|
return 1;
|
|||
|
|
}
|
|||
|
|
catch(Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index closeButton on a nil value");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int get_dragArea(IntPtr L)
|
|||
|
|
{
|
|||
|
|
object o = null;
|
|||
|
|
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
o = ToLua.ToObject(L, 1);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)o;
|
|||
|
|
FairyGUI.GObject ret = obj.dragArea;
|
|||
|
|
ToLua.PushObject(L, ret);
|
|||
|
|
return 1;
|
|||
|
|
}
|
|||
|
|
catch(Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index dragArea on a nil value");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int get_contentArea(IntPtr L)
|
|||
|
|
{
|
|||
|
|
object o = null;
|
|||
|
|
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
o = ToLua.ToObject(L, 1);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)o;
|
|||
|
|
FairyGUI.GObject ret = obj.contentArea;
|
|||
|
|
ToLua.PushObject(L, ret);
|
|||
|
|
return 1;
|
|||
|
|
}
|
|||
|
|
catch(Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index contentArea on a nil value");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int get_modalWaitingPane(IntPtr L)
|
|||
|
|
{
|
|||
|
|
object o = null;
|
|||
|
|
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
o = ToLua.ToObject(L, 1);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)o;
|
|||
|
|
FairyGUI.GObject ret = obj.modalWaitingPane;
|
|||
|
|
ToLua.PushObject(L, ret);
|
|||
|
|
return 1;
|
|||
|
|
}
|
|||
|
|
catch(Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index modalWaitingPane on a nil value");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int get_isShowing(IntPtr L)
|
|||
|
|
{
|
|||
|
|
object o = null;
|
|||
|
|
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
o = ToLua.ToObject(L, 1);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)o;
|
|||
|
|
bool ret = obj.isShowing;
|
|||
|
|
LuaDLL.lua_pushboolean(L, ret);
|
|||
|
|
return 1;
|
|||
|
|
}
|
|||
|
|
catch(Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index isShowing on a nil value");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int get_isTop(IntPtr L)
|
|||
|
|
{
|
|||
|
|
object o = null;
|
|||
|
|
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
o = ToLua.ToObject(L, 1);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)o;
|
|||
|
|
bool ret = obj.isTop;
|
|||
|
|
LuaDLL.lua_pushboolean(L, ret);
|
|||
|
|
return 1;
|
|||
|
|
}
|
|||
|
|
catch(Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index isTop on a nil value");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int get_modal(IntPtr L)
|
|||
|
|
{
|
|||
|
|
object o = null;
|
|||
|
|
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
o = ToLua.ToObject(L, 1);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)o;
|
|||
|
|
bool ret = obj.modal;
|
|||
|
|
LuaDLL.lua_pushboolean(L, ret);
|
|||
|
|
return 1;
|
|||
|
|
}
|
|||
|
|
catch(Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index modal on a nil value");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int get_modalWaiting(IntPtr L)
|
|||
|
|
{
|
|||
|
|
object o = null;
|
|||
|
|
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
o = ToLua.ToObject(L, 1);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)o;
|
|||
|
|
bool ret = obj.modalWaiting;
|
|||
|
|
LuaDLL.lua_pushboolean(L, ret);
|
|||
|
|
return 1;
|
|||
|
|
}
|
|||
|
|
catch(Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index modalWaiting on a nil value");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int set_bringToFontOnClick(IntPtr L)
|
|||
|
|
{
|
|||
|
|
object o = null;
|
|||
|
|
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
o = ToLua.ToObject(L, 1);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)o;
|
|||
|
|
bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
|
|||
|
|
obj.bringToFontOnClick = arg0;
|
|||
|
|
return 0;
|
|||
|
|
}
|
|||
|
|
catch(Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index bringToFontOnClick on a nil value");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int set_contentPane(IntPtr L)
|
|||
|
|
{
|
|||
|
|
object o = null;
|
|||
|
|
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
o = ToLua.ToObject(L, 1);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)o;
|
|||
|
|
FairyGUI.GComponent arg0 = (FairyGUI.GComponent)ToLua.CheckObject<FairyGUI.GComponent>(L, 2);
|
|||
|
|
obj.contentPane = arg0;
|
|||
|
|
return 0;
|
|||
|
|
}
|
|||
|
|
catch(Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index contentPane on a nil value");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int set_closeButton(IntPtr L)
|
|||
|
|
{
|
|||
|
|
object o = null;
|
|||
|
|
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
o = ToLua.ToObject(L, 1);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)o;
|
|||
|
|
FairyGUI.GObject arg0 = (FairyGUI.GObject)ToLua.CheckObject<FairyGUI.GObject>(L, 2);
|
|||
|
|
obj.closeButton = arg0;
|
|||
|
|
return 0;
|
|||
|
|
}
|
|||
|
|
catch(Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index closeButton on a nil value");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int set_dragArea(IntPtr L)
|
|||
|
|
{
|
|||
|
|
object o = null;
|
|||
|
|
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
o = ToLua.ToObject(L, 1);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)o;
|
|||
|
|
FairyGUI.GObject arg0 = (FairyGUI.GObject)ToLua.CheckObject<FairyGUI.GObject>(L, 2);
|
|||
|
|
obj.dragArea = arg0;
|
|||
|
|
return 0;
|
|||
|
|
}
|
|||
|
|
catch(Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index dragArea on a nil value");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int set_contentArea(IntPtr L)
|
|||
|
|
{
|
|||
|
|
object o = null;
|
|||
|
|
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
o = ToLua.ToObject(L, 1);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)o;
|
|||
|
|
FairyGUI.GObject arg0 = (FairyGUI.GObject)ToLua.CheckObject<FairyGUI.GObject>(L, 2);
|
|||
|
|
obj.contentArea = arg0;
|
|||
|
|
return 0;
|
|||
|
|
}
|
|||
|
|
catch(Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index contentArea on a nil value");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int set_modal(IntPtr L)
|
|||
|
|
{
|
|||
|
|
object o = null;
|
|||
|
|
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
o = ToLua.ToObject(L, 1);
|
|||
|
|
FairyGUI.Window obj = (FairyGUI.Window)o;
|
|||
|
|
bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
|
|||
|
|
obj.modal = arg0;
|
|||
|
|
return 0;
|
|||
|
|
}
|
|||
|
|
catch(Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index modal on a nil value");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|