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.
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 | 5 years ago | |
| Framework | 5 years ago | |
| LauncherUnified | 5 years ago | |
| Sandbox | 5 years ago | |
| Tools | 5 years ago | |
| CMakeLists.txt | 5 years ago | |