method
Tiled.load_types
Tiled.load_types(path: string) -> int
Loads an objecttypes.xml custom-type table so class/enum properties resolve their defaults; returns the number of types loaded. Each <objecttype> maps to its default <property> list.