I’m trying to create a TMap with an EPhysicalSurface key in the header file, issue is it obviously needs to be a reference, and “TEnumAsByte” returns a compile error saying: “Missing ‘>’ in TEnumAsByte”
I’ve tried to “#define EPhysicalSurface EPhysicalSurface*”, but because it’s in the header file and any calls to EPhysicalSurface in the .cpp are always a reference, so it works, but i cant do anything with it now. I did try to overwrite it with another define in the .cpp, but that just caused it to overwrite with the reference so it achieved litarelly nothing lol.
I’ve also tried to use a different enum in the TEnumAsByte<> but that causes the TMap to have the wrong enum key.
I feel like i’ve been here for an eternity, there has to be a way around this.