What remains is that the data type of parameter Affliction on the method GetAffliction should be updated to be the c++ class you made, else you have the same problem as I described with the UObject.
What remains is that the data type of parameter Affliction on the method GetAffliction should be updated to be the c++ class you made, else you have the same problem as I described with the UObject.