static public int Setup_BeforeAdd(IntPtr l) { try { FairyGUI.GGraph self = (FairyGUI.GGraph)checkSelf(l); FairyGUI.Utils.XML a1; checkType(l, 2, out a1); self.Setup_BeforeAdd(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static int Setup_BeforeAdd(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); FairyGUI.GGraph obj = (FairyGUI.GGraph)ToLua.CheckObject(L, 1, typeof(FairyGUI.GGraph)); FairyGUI.Utils.XML arg0 = (FairyGUI.Utils.XML)ToLua.CheckObject(L, 2, typeof(FairyGUI.Utils.XML)); obj.Setup_BeforeAdd(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int Setup_BeforeAdd(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); FairyGUI.GGraph obj = (FairyGUI.GGraph)ToLua.CheckObject <FairyGUI.GGraph>(L, 1); FairyGUI.Utils.ByteBuffer arg0 = (FairyGUI.Utils.ByteBuffer)ToLua.CheckObject <FairyGUI.Utils.ByteBuffer>(L, 2); int arg1 = (int)LuaDLL.luaL_checknumber(L, 3); obj.Setup_BeforeAdd(arg0, arg1); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }