Files
UnrealEngineUWP/Engine/Plugins/Experimental/PythonScriptPlugin/Source
jamie dale 27ef0c9119 #ROBOMERGE-AUTHOR: jamie.dale
Updated wrapped enums to be more consistent with native Python enums

 - Wrapped enums now generate values that are instances of the enum type itself, containing a name and value field (like native Python enums).
 - Wrapped enums are now strongly typed and do not allow implicit conversion from numbers (explicit casting is available, but throws if the value is unknown).
 - Wrapped enum entries may be compared against numbers (even numbers that don't have valid values) via the == and != operators (like IntEnum in Python).
 - Wrapped enums may now be iterated (like native Python enums).
 - Wrapped enums now return a length based on their number of entries (like native Python enums).
 - ScriptName meta-data can now be used with enum entries.

#jira none
#rb Conan.Reis, James.Hopkin

#ROBOMERGE-SOURCE: CL 4099991 in //UE4/Release-4.20/...
#ROBOMERGE-BOT: RELEASE (Release-4.20 -> Release-Staging-4.20)

[CL 4099994 by jamie dale in Staging-4.20 branch]
2018-05-30 11:56:30 -04:00
..