static int ClearComboHeros(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); Logic.Character.Controller.PlayerController obj = (Logic.Character.Controller.PlayerController)ToLua.CheckObject(L, 1, typeof(Logic.Character.Controller.PlayerController)); bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.ClearComboHeros(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }