static int AddDBEventListener(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.AddDBEventListener(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }