FORCEINLINE bool operator==(const EquipmentTypes& Slot) const
{
return Slot == EquipmentSlot;
}
^ add that to your UStruct.
FORCEINLINE bool operator==(const EquipmentTypes& Slot) const
{
return Slot == EquipmentSlot;
}
^ add that to your UStruct.