static int UpdateUIPos(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); WCG.OnHead obj = (WCG.OnHead)ToLua.CheckObject <WCG.OnHead>(L, 1); obj.UpdateUIPos(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int SetBloodShow(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); WCG.OnHead obj = (WCG.OnHead)ToLua.CheckObject <WCG.OnHead>(L, 1); bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.SetBloodShow(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int SetGraphicChar(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); WCG.OnHead obj = (WCG.OnHead)ToLua.CheckObject <WCG.OnHead>(L, 1); WCG.RenderObj arg0 = (WCG.RenderObj)ToLua.CheckObject <WCG.RenderObj>(L, 2); obj.SetGraphicChar(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int SetPopTxt(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); WCG.OnHead obj = (WCG.OnHead)ToLua.CheckObject <WCG.OnHead>(L, 1); string arg0 = ToLua.CheckString(L, 2); obj.SetPopTxt(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int SetProTime(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); WCG.OnHead obj = (WCG.OnHead)ToLua.CheckObject <WCG.OnHead>(L, 1); float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.SetProTime(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int set_m_goFight(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); WCG.OnHead obj = (WCG.OnHead)o; UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckObject(L, 2, typeof(UnityEngine.GameObject)); obj.m_goFight = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index m_goFight on a nil value")); } }
static int set_m_PopTxt(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); WCG.OnHead obj = (WCG.OnHead)o; UnityEngine.UI.Text arg0 = (UnityEngine.UI.Text)ToLua.CheckObject <UnityEngine.UI.Text>(L, 2); obj.m_PopTxt = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index m_PopTxt on a nil value")); } }
static int get_m_goFight(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); WCG.OnHead obj = (WCG.OnHead)o; UnityEngine.GameObject ret = obj.m_goFight; ToLua.PushSealed(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index m_goFight on a nil value")); } }
static int get_m_ProgressSlider(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); WCG.OnHead obj = (WCG.OnHead)o; UnityEngine.UI.Slider ret = obj.m_ProgressSlider; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index m_ProgressSlider on a nil value")); } }
static int SetNameColor(IntPtr L) { try { ToLua.CheckArgsCount(L, 4); WCG.OnHead obj = (WCG.OnHead)ToLua.CheckObject <WCG.OnHead>(L, 1); int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); int arg1 = (int)LuaDLL.luaL_checknumber(L, 3); int arg2 = (int)LuaDLL.luaL_checknumber(L, 4); obj.SetNameColor(arg0, arg1, arg2); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }