Exemple #1
0
 static int DoHealthChangeAction(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 7);
         FightManager           obj  = (FightManager)ToLua.CheckObject(L, 1, typeof(FightManager));
         UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckUnityObject(L, 2, typeof(UnityEngine.GameObject));
         float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
         float arg2 = (float)LuaDLL.luaL_checknumber(L, 4);
         float arg3 = (float)LuaDLL.luaL_checknumber(L, 5);
         FightManager.HurtType arg4 = (FightManager.HurtType)ToLua.CheckObject(L, 6, typeof(FightManager.HurtType));
         ObjectID.ObjectType   arg5 = (ObjectID.ObjectType)ToLua.CheckObject(L, 7, typeof(ObjectID.ObjectType));
         obj.DoHealthChangeAction(arg0, arg1, arg2, arg3, arg4, arg5);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }