static int HasDBEventListener(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         DragonBones.DragonBoneEventDispatcher obj = (DragonBones.DragonBoneEventDispatcher)ToLua.CheckObject <DragonBones.DragonBoneEventDispatcher>(L, 1);
         string arg0 = ToLua.CheckString(L, 2);
         bool   o    = obj.HasDBEventListener(arg0);
         LuaDLL.lua_pushboolean(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int RemoveDBEventListener(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         DragonBones.DragonBoneEventDispatcher obj = (DragonBones.DragonBoneEventDispatcher)ToLua.CheckObject <DragonBones.DragonBoneEventDispatcher>(L, 1);
         string arg0 = ToLua.CheckString(L, 2);
         DragonBones.ListenerDelegate <DragonBones.EventObject> arg1 = (DragonBones.ListenerDelegate <DragonBones.EventObject>)ToLua.CheckDelegate <DragonBones.ListenerDelegate <DragonBones.EventObject> >(L, 3);
         obj.RemoveDBEventListener(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int DispatchDBEvent(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         DragonBones.DragonBoneEventDispatcher obj = (DragonBones.DragonBoneEventDispatcher)ToLua.CheckObject <DragonBones.DragonBoneEventDispatcher>(L, 1);
         string arg0 = ToLua.CheckString(L, 2);
         DragonBones.EventObject arg1 = (DragonBones.EventObject)ToLua.CheckObject <DragonBones.EventObject>(L, 3);
         obj.DispatchDBEvent(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }