You don’t need a main class for an enum container.
Delete the class ECPPCalcType
and create your enum class ECPPCalcType
, e.g:
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
UENUM(BlueprintType)
enum class ECPPCalcType : uint8
{
Add,
Subtract,
Multiply,
Divide
};
That’s going to work.
And do not forget: