static int DoMemberDeadAction(IntPtr L) { try { ToLua.CheckArgsCount(L, 4); FightManager obj = (FightManager)ToLua.CheckObject(L, 1, typeof(FightManager)); UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckUnityObject(L, 2, typeof(UnityEngine.GameObject)); int arg1 = (int)LuaDLL.luaL_checknumber(L, 3); FightManager.MemberType arg2 = (FightManager.MemberType)ToLua.CheckObject(L, 4, typeof(FightManager.MemberType)); obj.DoMemberDeadAction(arg0, arg1, arg2); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }