static int Upgo(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); SysInfoLayer obj = (SysInfoLayer)ToLua.CheckObject(L, 1, typeof(SysInfoLayer)); obj.Upgo(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int GetInstance(IntPtr L) { try { ToLua.CheckArgsCount(L, 0); SysInfoLayer o = SysInfoLayer.GetInstance(); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int ShowMsg(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); SysInfoLayer obj = (SysInfoLayer)ToLua.CheckObject(L, 1, typeof(SysInfoLayer)); string arg0 = ToLua.CheckString(L, 2); obj.ShowMsg(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int Fly(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); SysInfoLayer obj = (SysInfoLayer)ToLua.CheckObject(L, 1, typeof(SysInfoLayer)); UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckUnityObject(L, 2, typeof(UnityEngine.GameObject)); obj.Fly(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int GetTimeOfLastMsgShowUtilNow(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); SysInfoLayer obj = (SysInfoLayer)ToLua.CheckObject(L, 1, typeof(SysInfoLayer)); float o = obj.GetTimeOfLastMsgShowUtilNow(); LuaDLL.lua_pushnumber(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int DoTextMsg(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); SysInfoLayer obj = (SysInfoLayer)ToLua.CheckObject(L, 1, typeof(SysInfoLayer)); SysInfoData arg0 = (SysInfoData)ToLua.CheckObject(L, 2, typeof(SysInfoData)); UnityEngine.GameObject o = obj.DoTextMsg(arg0); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int ChangeWidth(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); SysInfoLayer obj = (SysInfoLayer)ToLua.CheckObject(L, 1, typeof(SysInfoLayer)); UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckUnityObject(L, 2, typeof(UnityEngine.GameObject)); SysInfoData arg1 = (SysInfoData)ToLua.CheckObject(L, 3, typeof(SysInfoData)); obj.ChangeWidth(arg0, arg1); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int getTextStr(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); SysInfoLayer obj = (SysInfoLayer)ToLua.CheckObject(L, 1, typeof(SysInfoLayer)); string arg0 = ToLua.CheckString(L, 2); string o = obj.getTextStr(arg0); LuaDLL.lua_pushstring(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int set_msg(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SysInfoLayer obj = (SysInfoLayer)o; string arg0 = ToLua.CheckString(L, 2); obj.msg = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index msg on a nil value" : e.Message)); } }
static int set_aliveCount(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SysInfoLayer obj = (SysInfoLayer)o; int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); obj.aliveCount = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index aliveCount on a nil value" : e.Message)); } }
static int set_msgList(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SysInfoLayer obj = (SysInfoLayer)o; System.Collections.Generic.Queue <SysInfoData> arg0 = (System.Collections.Generic.Queue <SysInfoData>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.Queue <SysInfoData>)); obj.msgList = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index msgList on a nil value" : e.Message)); } }
static int set_pickList(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SysInfoLayer obj = (SysInfoLayer)o; System.Collections.Generic.List <UnityEngine.GameObject> arg0 = (System.Collections.Generic.List <UnityEngine.GameObject>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.List <UnityEngine.GameObject>)); obj.pickList = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index pickList on a nil value" : e.Message)); } }
static int get_itemMsg(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SysInfoLayer obj = (SysInfoLayer)o; UnityEngine.GameObject ret = obj.itemMsg; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index itemMsg on a nil value" : e.Message)); } }
static int set_itemMsg(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SysInfoLayer obj = (SysInfoLayer)o; UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckUnityObject(L, 2, typeof(UnityEngine.GameObject)); obj.itemMsg = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index itemMsg on a nil value" : e.Message)); } }
static int set_fadeTime(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SysInfoLayer obj = (SysInfoLayer)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.fadeTime = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index fadeTime on a nil value" : e.Message)); } }
static int get_intervalTime(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SysInfoLayer obj = (SysInfoLayer)o; float ret = obj.intervalTime; LuaDLL.lua_pushnumber(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index intervalTime on a nil value" : e.Message)); } }
static int get_msgList(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SysInfoLayer obj = (SysInfoLayer)o; System.Collections.Generic.Queue <SysInfoData> ret = obj.msgList; ToLua.PushObject(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index msgList on a nil value" : e.Message)); } }
static int get_pickList(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SysInfoLayer obj = (SysInfoLayer)o; System.Collections.Generic.List <UnityEngine.GameObject> ret = obj.pickList; ToLua.PushObject(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index pickList on a nil value" : e.Message)); } }
static int get_SysLayer(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIManager obj = (UIManager)o; SysInfoLayer ret = obj.SysLayer; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index SysLayer on a nil value" : e.Message)); } }
static int get_maxPickMsg(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SysInfoLayer obj = (SysInfoLayer)o; int ret = obj.maxPickMsg; LuaDLL.lua_pushinteger(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index maxPickMsg on a nil value" : e.Message)); } }