You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Code
Chris Burel 03ec6465b5
Support deserializing non-reflected enums (#815)
The serialize context allows users to reflect fields that are enums to
a class without reflecting the enum type itself with the EnumBuilder. In
this case, the serialize context stores the mapping of the enum's typeid
to the underlying type's typeid. When asking for the class data for the
enum typeid, the underlying type's class data is returned. This was
throwing off the json serializer, which would then see that the type was
"unsigned int" instead of an enum, and attempt to load the unsigned int
value. The unsigned int deserializer would then complain, because the
incoming typeid was the typeid of the enum, and not equal to the typeid
of unsigned int.

This change adds support for detecting the non-reflected enum, and
loading it properly.
5 years ago
..
CryEngine move trackview changes to another branch 5 years ago
Framework Support deserializing non-reflected enums (#815) 5 years ago
LauncherUnified Red code legacy MemoryManager, StreamEngine, ResourceManager, ImageHandler, AsyncPakManager, and more (#758) 5 years ago
Sandbox Merge branch 'main' into transform-float-scale 5 years ago
Tools Merge branch 'main' into transform-float-scale 5 years ago
CMakeLists.txt Initial commit 5 years ago