static int Update(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); PlayerInfoVisualizer obj = (PlayerInfoVisualizer)LuaScriptMgr.GetNetObjectSelf(L, 1, "PlayerInfoVisualizer"); obj.Update(); return(0); }
static int ShowStaminaBar(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); PlayerInfoVisualizer obj = (PlayerInfoVisualizer)LuaScriptMgr.GetNetObjectSelf(L, 1, "PlayerInfoVisualizer"); bool arg0 = LuaScriptMgr.GetBoolean(L, 2); obj.ShowStaminaBar(arg0); return(0); }
static int _CreatePlayerInfoVisualizer(IntPtr L) { int count = LuaDLL.lua_gettop(L); if (count == 1) { Player arg0 = (Player)LuaScriptMgr.GetNetObject(L, 1, typeof(Player)); PlayerInfoVisualizer obj = new PlayerInfoVisualizer(arg0); LuaScriptMgr.PushObject(L, obj); return(1); } else { LuaDLL.luaL_error(L, "invalid arguments to method: PlayerInfoVisualizer.New"); } return(0); }
static int get_m_goPlayerInfo(IntPtr L) { object o = LuaScriptMgr.GetLuaObject(L, 1); PlayerInfoVisualizer obj = (PlayerInfoVisualizer)o; if (obj == null) { LuaTypes types = LuaDLL.lua_type(L, 1); if (types == LuaTypes.LUA_TTABLE) { LuaDLL.luaL_error(L, "unknown member name m_goPlayerInfo"); } else { LuaDLL.luaL_error(L, "attempt to index m_goPlayerInfo on a nil value"); } } LuaScriptMgr.Push(L, obj.m_goPlayerInfo); return(1); }
static int set_m_goState(IntPtr L) { object o = LuaScriptMgr.GetLuaObject(L, 1); PlayerInfoVisualizer obj = (PlayerInfoVisualizer)o; if (obj == null) { LuaTypes types = LuaDLL.lua_type(L, 1); if (types == LuaTypes.LUA_TTABLE) { LuaDLL.luaL_error(L, "unknown member name m_goState"); } else { LuaDLL.luaL_error(L, "attempt to index m_goState on a nil value"); } } obj.m_goState = (GameObject)LuaScriptMgr.GetUnityObject(L, 3, typeof(GameObject)); return(0); }