clientgen generated python code incorrect for undocumented enumerations
djungelorm opened this issue ยท 0 comments
clientgen generates incorrect python code for enums when the members are not documented. For example:
[KRPCEnum(Service = "MechJeb")]
public enum SmartASSInterfaceMode {
Orbital,
Surface,
Target,
Advanced,
/// <summary>
/// Internal mode, do not set.
/// </summary>
Automatic
}
class SmartASSInterfaceMode(DocEnum):
orbital = 0 surface = 1 target = 2 advanced = 3 automatic = 4, """
Internal mode, do not set.
"""