private static void CreateEntry(IMGEntry parent, WZComplex obj) { parent.Name = obj.name; CreateEntry(parent, obj.value); }