Exemplo n.º 1
0
 protected override void SerializeImpl(CSerializerObject s)
 {
     base.SerializeImpl(s);
     if (Settings.s.game == Settings.Game.RJR || Settings.s.game == Settings.Game.RFR || Settings.s.game == Settings.Game.RO)
     {
         if (s.HasFlags(SerializeFlags.Default))
         {
             SerializeField(s, nameof(Children));
         }
         if (!s.HasSerializerFlags(CSerializerObject.Flags.Flags0) && s.HasFlags(SerializeFlags.Flags6))
         {
             SerializeField(s, nameof(ChildrenObjId));
             SerializeField(s, nameof(LinkedChildren));
         }
     }
     else if (Settings.s.game == Settings.Game.COL)
     {
     }
     else
     {
         if (s.HasFlags(SerializeFlags.Default))
         {
             SerializeField(s, nameof(Children));
         }
     }
 }
Exemplo n.º 2
0
 protected override void SerializeImpl(CSerializerObject s)
 {
     base.SerializeImpl(s);
     if (Settings.s.game == Settings.Game.RJR || Settings.s.game == Settings.Game.RFR)
     {
     }
     else if (Settings.s.game == Settings.Game.RO)
     {
         if (!s.HasSerializerFlags(CSerializerObject.Flags.Flags0) && s.HasFlags(SerializeFlags.Flags_xC0))
         {
             SerializeField(s, nameof(debugColor));
             SerializeField(s, nameof(debugColorSelected));
             SerializeField(s, nameof(debugChildIndex));
         }
     }
     else
     {
         SerializeField(s, nameof(transferEventsToChildren));
     }
 }
Exemplo n.º 3
0
 protected override void SerializeImpl(CSerializerObject s)
 {
     base.SerializeImpl(s);
     if (Settings.s.game == Settings.Game.RJR || Settings.s.game == Settings.Game.RFR)
     {
         if (s.HasFlags(SerializeFlags.Flags7))
         {
             SerializeField(s, nameof(ENGINE_VERSION));
         }
         if (s.HasFlags(SerializeFlags.Flags6))
         {
             SerializeField(s, nameof(ENGINE_VERSION));
         }
         if (s.HasSerializerFlags(CSerializerObject.Flags.Flags0))
         {
             SerializeField(s, nameof(DEPENDENCIES));
             SerializeField(s, nameof(MUSIC_THEME_PATH));
         }
         if (s.HasFlags(SerializeFlags.Flags_xC0))
         {
             SerializeField(s, nameof(FRISE_ORIGINS));
             SerializeField(s, nameof(ACTORS_ORIGINS));
             SerializeField(s, nameof(friezeConnections));
             SerializeField(s, nameof(MUSIC_THEME));
         }
     }
     else if (Settings.s.game == Settings.Game.RO)
     {
         if (s.HasFlags(SerializeFlags.Flags7))
         {
             SerializeField(s, nameof(ENGINE_VERSION));
         }
         if (s.HasFlags(SerializeFlags.Flags6))
         {
             SerializeField(s, nameof(ENGINE_VERSION));
         }
         if (s.HasSerializerFlags(CSerializerObject.Flags.Flags0))
         {
             SerializeField(s, nameof(DEPENDENCIES));
             SerializeField(s, nameof(MUSIC_THEME_PATH));
         }
         else if (s.HasFlags(SerializeFlags.Flags_xC0))
         {
             SerializeField(s, nameof(TABS));
             SerializeField(s, nameof(GRIDUNIT));
             SerializeField(s, nameof(PLATFORM_FILTER));
         }
         if (s.HasFlags(SerializeFlags.Flags_xC0))
         {
             SerializeField(s, nameof(FRISE_ORIGINS));
             SerializeField(s, nameof(ACTORS_ORIGINS));
             SerializeField(s, nameof(friezeConnections));
             SerializeField(s, nameof(MUSIC_THEME));
         }
     }
     else if (Settings.s.game == Settings.Game.RL || Settings.s.game == Settings.Game.COL)
     {
         if (s.HasFlags(SerializeFlags.Flags7))
         {
             SerializeField(s, nameof(ENGINE_VERSION));
         }
         if (s.HasFlags(SerializeFlags.Flags6))
         {
             SerializeField(s, nameof(ENGINE_VERSION));
         }
         if (s.HasFlags(SerializeFlags.Flags9))
         {
             SerializeField(s, nameof(TABS));
             SerializeField(s, nameof(GRIDUNIT));
             SerializeField(s, nameof(DEPTH_SEPARATOR));
             SerializeField(s, nameof(NEAR_SEPARATOR));
             SerializeField(s, nameof(FAR_SEPARATOR));
             SerializeField(s, nameof(PLATFORM_FILTER));
         }
         if (s.HasFlags(SerializeFlags.Flags10))
         {
             SerializeField(s, nameof(DEPENDENCIES));
         }
         SerializeField(s, nameof(FRISE));
         SerializeField(s, nameof(METAFRIEZE));
         SerializeField(s, nameof(ACTORS));
         SerializeField(s, nameof(friezeConnections));
         SerializeField(s, nameof(sceneConfigs));
     }
     else
     {
         if (s.HasFlags(SerializeFlags.Flags7))
         {
             SerializeField(s, nameof(ENGINE_VERSION));
         }
         if (s.HasFlags(SerializeFlags.Flags6))
         {
             SerializeField(s, nameof(ENGINE_VERSION));
         }
         if (s.HasFlags(SerializeFlags.Flags10))
         {
             SerializeField(s, nameof(DEPENDENCIES));
         }
         SerializeField(s, nameof(FRISE));
         SerializeField(s, nameof(METAFRIEZE));
         SerializeField(s, nameof(ACTORS));
         SerializeField(s, nameof(friezeConnections));
         SerializeField(s, nameof(sceneConfigs));
     }
 }
Exemplo n.º 4
0
 protected override void SerializeImpl(CSerializerObject s)
 {
     base.SerializeImpl(s);
     if (Settings.s.game == Settings.Game.RJR || Settings.s.game == Settings.Game.RFR || Settings.s.game == Settings.Game.RO)
     {
         if (s.HasFlags(SerializeFlags.Default))
         {
             if (!s.HasSerializerFlags(CSerializerObject.Flags.Flags0))
             {
                 SerializeField(s, nameof(ColorFog_Red));
                 SerializeField(s, nameof(ColorFog_Green));
                 SerializeField(s, nameof(ColorFog_Blu));
                 SerializeField(s, nameof(fogfactor));
             }
             SerializeField(s, nameof(ColorFactor));
             SerializeField(s, nameof(ColorFog));
             SerializeField(s, nameof(colorComputerTagId));
             SerializeField(s, nameof(renderInTarget));
             SerializeField(s, nameof(disableLight));
         }
     }
     else if (Settings.s.game == Settings.Game.RL)
     {
         if (s.HasFlags(SerializeFlags.Default))
         {
             if (s.HasFlags(SerializeFlags.Flags8))
             {
                 SerializeField(s, nameof(ColorFactor));
                 SerializeField(s, nameof(ColorFog));
                 SerializeField(s, nameof(useStaticFog));
                 SerializeField(s, nameof(renderInReflection));
             }
             SerializeField(s, nameof(PrimitiveParameters));
             SerializeField(s, nameof(colorComputerTagId));
             if (Settings.s.isCatchThemAll)
             {
                 SerializeField(s, nameof(renderInTarget));
                 SerializeField(s, nameof(renderInTarget), type: typeof(byte));
             }
             SerializeField(s, nameof(renderInTarget));
             SerializeField(s, nameof(disableLight));
             SerializeField(s, nameof(disableShadow));
             SerializeField(s, nameof(depthOffset));
         }
     }
     else if (Settings.s.game == Settings.Game.VH)
     {
         if (s.HasFlags(SerializeFlags.Default))
         {
             if (s.HasFlags(SerializeFlags.Flags8))
             {
                 SerializeField(s, nameof(ColorFactor));
                 SerializeField(s, nameof(ColorFog));
                 SerializeField(s, nameof(useStaticFog));
                 SerializeField(s, nameof(renderInReflection));
             }
             SerializeField(s, nameof(PrimitiveParameters));
             SerializeField(s, nameof(colorComputerTagId));
             SerializeField(s, nameof(renderInTarget));
             SerializeField(s, nameof(disableLight));
             SerializeField(s, nameof(disableShadow));
             SerializeField(s, nameof(depthOffset));
             SerializeField(s, nameof(AlphaInit));
         }
     }
     else
     {
         if (s.HasFlags(SerializeFlags.Default))
         {
             if (s.HasFlags(SerializeFlags.Flags8))
             {
                 SerializeField(s, nameof(ColorFactor));
                 SerializeField(s, nameof(ColorFog));
             }
             SerializeField(s, nameof(PrimitiveParameters));
             SerializeField(s, nameof(colorComputerTagId));
             SerializeField(s, nameof(renderInTarget));
             SerializeField(s, nameof(disableLight));
             SerializeField(s, nameof(disableShadow));
             SerializeField(s, nameof(depthOffset));
             SerializeField(s, nameof(AlphaInit));
             SerializeField(s, nameof(highlightFrontLightBrightness));
             SerializeField(s, nameof(highlightOutlineColor));
             SerializeField(s, nameof(highlightOutlineWidth));
         }
     }
 }
 protected override void SerializeImpl(CSerializerObject s)
 {
     base.SerializeImpl(s);
     if (Settings.s.game == Settings.Game.RJR || Settings.s.game == Settings.Game.RFR)
     {
         SerializeField(s, nameof(polyline));
         SerializeField(s, nameof(shape));
         SerializeField(s, nameof(offset));
         SerializeField(s, nameof(attachPolyline));
         SerializeField(s, nameof(shapes));
         SerializeField(s, nameof(useAABBShape));
     }
     else if (Settings.s.game == Settings.Game.RO)
     {
         SerializeField(s, nameof(polyline));
         SerializeField(s, nameof(shape));
         SerializeField(s, nameof(offset));
         SerializeField(s, nameof(attachPolyline));
         if (!s.HasSerializerFlags(CSerializerObject.Flags.Flags0) && s.HasFlags(SerializeFlags.Flags_xC0))
         {
             SerializeField(s, nameof(drawDebug));
         }
         SerializeField(s, nameof(shapes));
         SerializeField(s, nameof(useAABBShape));
     }
     else if (Settings.s.game == Settings.Game.RL)
     {
         SerializeField(s, nameof(polyline));
         SerializeField(s, nameof(shape));
         SerializeField(s, nameof(offset));
         SerializeField(s, nameof(attachPolyline));
         SerializeField(s, nameof(proceduralBone));
         SerializeField(s, nameof(shapes));
         SerializeField(s, nameof(useAABBShape));
         SerializeField(s, nameof(bone));
         SerializeField(s, nameof(bone3D));
     }
     else if (Settings.s.game == Settings.Game.COL)
     {
         SerializeField(s, nameof(polyline));
         SerializeField(s, nameof(shape));
         SerializeField(s, nameof(offset));
         SerializeField(s, nameof(attachPolyline));
         SerializeField(s, nameof(proceduralBone));
         SerializeField(s, nameof(useAABBShape), boolAsByte: true);
         SerializeField(s, nameof(bone));
         SerializeField(s, nameof(bone3D));
     }
     else
     {
         SerializeField(s, nameof(AnimPolylineList));
         SerializeField(s, nameof(shape));
         SerializeField(s, nameof(offset));
         SerializeField(s, nameof(attachPolyline));
         SerializeField(s, nameof(proceduralBone));
         SerializeField(s, nameof(shapes));
         SerializeField(s, nameof(useAABBShape));
         SerializeField(s, nameof(bone));
         SerializeField(s, nameof(bone3D));
     }
 }
Exemplo n.º 6
0
 protected override void SerializeImpl(CSerializerObject s)
 {
     base.SerializeImpl(s);
     if (Settings.s.game == Settings.Game.RJR || Settings.s.game == Settings.Game.RFR || Settings.s.game == Settings.Game.RO)
     {
         if (s.HasFlags(SerializeFlags.Flags_x30 | SerializeFlags.Default))
         {
             SerializeField(s, nameof(LOCAL_POINTS));
         }
         if (s.HasFlags(SerializeFlags.Flags6 | SerializeFlags.Flags8))
         {
             SerializeField(s, nameof(POINTS));
         }
         if (s.HasFlags(SerializeFlags.Flags_xC0))
         {
             SerializeField(s, nameof(pivotMode));
             SerializeField(s, nameof(LOOP));
             SerializeField(s, nameof(USERPIVOT));
             SerializeField(s, nameof(ConfigName));
             SerializeField(s, nameof(SwitchTexturePipeExtremity));
             if (s.HasFlags(SerializeFlags.Default))
             {
                 if (!s.HasSerializerFlags(CSerializerObject.Flags.Flags0))
                 {
                     SerializeField(s, nameof(ColorFactor_Red));
                     SerializeField(s, nameof(ColorFactor_Green));
                     SerializeField(s, nameof(ColorFactor_Blu));
                     SerializeField(s, nameof(ColorFactor_Alpha));
                     SerializeField(s, nameof(ColorFog_Red));
                     SerializeField(s, nameof(ColorFog_Green));
                     SerializeField(s, nameof(ColorFog_Blu));
                     SerializeField(s, nameof(fogfactor));
                 }
                 SerializeField(s, nameof(ColorFactor));
                 SerializeField(s, nameof(ColorFog));
                 SerializeField(s, nameof(ColorComputerTagId));
                 SerializeField(s, nameof(renderInTarget));
                 SerializeField(s, nameof(UvX_Offset));
                 SerializeField(s, nameof(UvY_Offset));
                 SerializeField(s, nameof(UvX_Flip), type: typeof(byte));
                 SerializeField(s, nameof(UvY_Flip), type: typeof(byte));
                 SerializeField(s, nameof(uvY_Tile));
                 SerializeField(s, nameof(Filling_OffSetUv));
                 SerializeField(s, nameof(Anim_SyncGlobal));
                 SerializeField(s, nameof(IsDynamicFrieze));
                 SerializeField(s, nameof(AtlasIndex));
                 SerializeField(s, nameof(Thickness));
                 SerializeField(s, nameof(lockTexture));
             }
         }
     }
     else if (Settings.s.game == Settings.Game.RL)
     {
         if (s.HasFlags(SerializeFlags.Persistent))
         {
             SerializeField(s, nameof(EventShowColorDst));
             SerializeField(s, nameof(disablePhysic));
         }
         if (s.HasFlags(SerializeFlags.Flags10))
         {
             SerializeField(s, nameof(collisionData));
             SerializeField(s, nameof(meshStaticData));
             SerializeField(s, nameof(meshAnimData));
             SerializeField(s, nameof(meshOverlayData));
             SerializeField(s, nameof(VisualPolyline));
             SerializeField(s, nameof(VisualPolyPointLocal));
             if (Settings.s.isCatchThemAll)
             {
                 meshBuildData = new Nullable <MeshBuildData>();
                 s.Serialize(ref meshBuildData.value, name: "MeshBuildData");
             }
             else
             {
                 SerializeField(s, nameof(meshBuildData));
             }
             SerializeField(s, nameof(meshFluidData));
             SerializeField(s, nameof(AABB_MinZ));
             SerializeField(s, nameof(AABB_MaxZ));
         }
         if (s.HasFlags(SerializeFlags.Flags8))
         {
             SerializeField(s, nameof(LOCAL_POINTS));
             SerializeField(s, nameof(LOOP));
         }
         if (s.HasFlags(SerializeFlags.Flags_x30 | SerializeFlags.Flags_xC0))
         {
             SerializeField(s, nameof(PointsList));
         }
         if (s.HasFlags(SerializeFlags.Flags_xC0))
         {
             SerializeField(s, nameof(ConfigName));
             SerializeField(s, nameof(SwitchTexturePipeExtremity));
             SerializeField(s, nameof(SwitchExtremityStart));
             SerializeField(s, nameof(SwitchExtremityStop));
             SerializeField(s, nameof(FillUVOrigin));
             SerializeField(s, nameof(PreComputedForCook));
             SerializeField(s, nameof(XfForCook));
             SerializeField(s, nameof(DepthForCook));
             if (s.HasFlags(SerializeFlags.Default))
             {
                 if (s.HasFlags(SerializeFlags.Flags8))
                 {
                     SerializeField(s, nameof(ColorFactor));
                     SerializeField(s, nameof(ColorFog));
                     SerializeField(s, nameof(useStaticFog));
                     SerializeField(s, nameof(renderInRelection));
                 }
                 SerializeField(s, nameof(PrimitiveParameters));
                 SerializeField(s, nameof(DepthOffset));
                 SerializeField(s, nameof(UvX_Offset));
                 SerializeField(s, nameof(UvY_Offset));
                 SerializeField(s, nameof(UvX_Flip), type: typeof(byte));
                 SerializeField(s, nameof(UvY_Flip), type: typeof(byte));
                 if (Settings.s.isCatchThemAll)
                 {
                     SerializeField(s, nameof(UvY_Flip), type: typeof(byte));
                 }
                 SerializeField(s, nameof(uvY_Tile));
                 SerializeField(s, nameof(Filling_OffSetUv));
                 SerializeField(s, nameof(Anim_SyncGlobal));
                 SerializeField(s, nameof(AtlasIndex));
                 SerializeField(s, nameof(AtlasTessellationIndex));
                 SerializeField(s, nameof(Thickness));
                 SerializeField(s, nameof(UseMovingCollision));
                 SerializeField(s, nameof(UseTemplatePrimitiveParams));
                 if (Settings.s.isCatchThemAll)
                 {
                     SerializeField(s, nameof(UvY_Flip), type: typeof(byte));
                 }
                 SerializeField(s, nameof(lockTexture));
                 SerializeField(s, nameof(MatShader));
             }
         }
     }
     else if (Settings.s.game == Settings.Game.COL)
     {
         if (s.HasFlags(SerializeFlags.Persistent))
         {
             SerializeField(s, nameof(EventShowColorDst));
             SerializeField(s, nameof(disablePhysic));
         }
         if (s.HasFlags(SerializeFlags.Flags10))
         {
             SerializeField(s, nameof(VisualPolyPointLocal));
             SerializeField(s, nameof(AABB_MinZ));
             SerializeField(s, nameof(AABB_MaxZ));
         }
         if (s.HasFlags(SerializeFlags.Flags8))
         {
             SerializeField(s, nameof(LOCAL_POINTS));
             SerializeField(s, nameof(LOOP));
         }
         if (s.HasFlags(SerializeFlags.Flags_x30 | SerializeFlags.Flags_xC0))
         {
             SerializeField(s, nameof(PointsList));
         }
         if (s.HasFlags(SerializeFlags.Flags_xC0))
         {
             SerializeField(s, nameof(ConfigName));
             SerializeField(s, nameof(SwitchTexturePipeExtremity));
             SerializeField(s, nameof(SwitchExtremityStart), boolAsByte: true);
             SerializeField(s, nameof(SwitchExtremityStop), boolAsByte: true);
             SerializeField(s, nameof(FillUVOrigin));
             SerializeField(s, nameof(PreComputedForCook), boolAsByte: true);
             SerializeField(s, nameof(XfForCook));
             SerializeField(s, nameof(DepthForCook));
             if (s.HasFlags(SerializeFlags.Default))
             {
                 if (s.HasFlags(SerializeFlags.Flags8))
                 {
                     SerializeField(s, nameof(ColorFactor));
                     SerializeField(s, nameof(ColorFog));
                     SerializeField(s, nameof(useStaticFog), boolAsByte: true);
                     SerializeField(s, nameof(renderInRelection), boolAsByte: true);
                 }
                 SerializeField(s, nameof(PrimitiveParameters));
                 SerializeField(s, nameof(DepthOffset));
                 SerializeField(s, nameof(UvX_Offset));
                 SerializeField(s, nameof(UvY_Offset));
                 SerializeField(s, nameof(UvX_Flip), boolAsByte: true);
                 SerializeField(s, nameof(UvY_Flip), boolAsByte: true);
                 SerializeField(s, nameof(uvY_Tile));
                 SerializeField(s, nameof(Filling_OffSetUv));
                 SerializeField(s, nameof(Anim_SyncGlobal));
                 SerializeField(s, nameof(AtlasIndex));
                 SerializeField(s, nameof(AtlasTessellationIndex));
                 SerializeField(s, nameof(Thickness));
                 SerializeField(s, nameof(UseMovingCollision), boolAsByte: true);
                 SerializeField(s, nameof(UseTemplatePrimitiveParams), boolAsByte: true);
                 SerializeField(s, nameof(lockTexture));
                 SerializeField(s, nameof(MatShader));
             }
         }
     }
     else if (Settings.s.game == Settings.Game.VH)
     {
         if (s.HasFlags(SerializeFlags.Persistent))
         {
             SerializeField(s, nameof(EventShowColorDst));
             SerializeField(s, nameof(disablePhysic));
         }
         if (s.HasFlags(SerializeFlags.Flags10))
         {
             SerializeField(s, nameof(collisionData));
             SerializeField(s, nameof(meshStaticData));
             SerializeField(s, nameof(meshAnimData));
             SerializeField(s, nameof(meshOverlayData));
             SerializeField(s, nameof(VisualPolyline));
             SerializeField(s, nameof(VisualPolyPointLocal));
             SerializeField(s, nameof(meshBuildData));
             SerializeField(s, nameof(meshFluidData));
             SerializeField(s, nameof(AABB_MinZ));
             SerializeField(s, nameof(AABB_MaxZ));
         }
         if (s.HasFlags(SerializeFlags.Flags8))
         {
             SerializeField(s, nameof(LOCAL_POINTS));
             SerializeField(s, nameof(LOOP));
         }
         if (s.HasFlags(SerializeFlags.Flags_x30 | SerializeFlags.Flags_xC0))
         {
             SerializeField(s, nameof(PointsList));
         }
         if (s.HasFlags(SerializeFlags.Flags_xC0))
         {
             SerializeField(s, nameof(ConfigName));
             SerializeField(s, nameof(SwitchTexturePipeExtremity));
             SerializeField(s, nameof(SwitchExtremityStart));
             SerializeField(s, nameof(SwitchExtremityStop));
             SerializeField(s, nameof(FillUVOrigin));
             SerializeField(s, nameof(PreComputedForCook));
             SerializeField(s, nameof(XfForCook));
             SerializeField(s, nameof(DepthForCook));
             if (s.HasFlags(SerializeFlags.Default))
             {
                 if (s.HasFlags(SerializeFlags.Flags8))
                 {
                     SerializeField(s, nameof(ColorFactor));
                     SerializeField(s, nameof(ColorFog));
                     SerializeField(s, nameof(useStaticFog));
                     SerializeField(s, nameof(renderInRelection));
                 }
                 SerializeField(s, nameof(PrimitiveParameters));
                 SerializeField(s, nameof(DepthOffset));
                 SerializeField(s, nameof(UvX_Offset));
                 SerializeField(s, nameof(UvY_Offset));
                 SerializeField(s, nameof(UvX_Flip));
                 SerializeField(s, nameof(UvY_Flip));
                 SerializeField(s, nameof(uvY_Tile));
                 SerializeField(s, nameof(Filling_OffSetUv));
                 SerializeField(s, nameof(Anim_SyncGlobal));
                 SerializeField(s, nameof(AtlasIndex));
                 SerializeField(s, nameof(AtlasTessellationIndex));
                 SerializeField(s, nameof(Thickness));
                 SerializeField(s, nameof(UseMovingCollision));
                 SerializeField(s, nameof(UseTemplatePrimitiveParams));
                 SerializeField(s, nameof(lockTexture));
                 SerializeField(s, nameof(MatShader));
             }
         }
         SerializeField(s, nameof(Mesh3dSeed));
         SerializeField(s, nameof(MeshManualySet));
         SerializeField(s, nameof(animSpeedFactor));
         SerializeField(s, nameof(animAmplitudeFactor));
     }
     else
     {
         if (s.HasFlags(SerializeFlags.Persistent))
         {
             SerializeField(s, nameof(EventShowColorDst));
             SerializeField(s, nameof(disablePhysic));
         }
         if (s.HasFlags(SerializeFlags.Flags10))
         {
             SerializeField(s, nameof(collisionData));
             SerializeField(s, nameof(meshStaticData));
             SerializeField(s, nameof(meshAnimData));
             SerializeField(s, nameof(meshOverlayData));
         }
         SerializeField(s, nameof(VisualPolyline));
         SerializeField(s, nameof(VisualPolyPointLocal));
         SerializeField(s, nameof(meshBuildData));
         SerializeField(s, nameof(meshFluidData));
         SerializeField(s, nameof(AABB_MinZ));
         SerializeField(s, nameof(AABB_MaxZ));
         if (s.HasFlags(SerializeFlags.Flags8))
         {
             SerializeField(s, nameof(LOCAL_POINTS));
             SerializeField(s, nameof(LOOP));
         }
         if (s.HasFlags(SerializeFlags.Flags_x30 | SerializeFlags.Flags_xC0))
         {
             SerializeField(s, nameof(PointsList));
         }
         if (s.HasFlags(SerializeFlags.Flags_xC0))
         {
             SerializeField(s, nameof(ConfigName));
             SerializeField(s, nameof(SwitchTexturePipeExtremity));
             SerializeField(s, nameof(SwitchExtremityStart));
             SerializeField(s, nameof(SwitchExtremityStop));
             SerializeField(s, nameof(FillUVOrigin));
             SerializeField(s, nameof(PreComputedForCook));
             SerializeField(s, nameof(XfForCook));
             SerializeField(s, nameof(DepthForCook));
             if (s.HasFlags(SerializeFlags.Default))
             {
                 if (s.HasFlags(SerializeFlags.Flags8))
                 {
                     SerializeField(s, nameof(ColorFactor));
                     SerializeField(s, nameof(ColorFog));
                 }
                 SerializeField(s, nameof(PrimitiveParameters));
                 SerializeField(s, nameof(DepthOffset));
                 SerializeField(s, nameof(UvX_Offset));
                 SerializeField(s, nameof(UvY_Offset));
                 SerializeField(s, nameof(UvX_Flip));
                 SerializeField(s, nameof(UvY_Flip));
                 SerializeField(s, nameof(uvY_Tile));
                 SerializeField(s, nameof(Filling_OffSetUv));
                 SerializeField(s, nameof(Anim_SyncGlobal));
                 SerializeField(s, nameof(AtlasIndex));
                 SerializeField(s, nameof(AtlasTessellationIndex));
                 SerializeField(s, nameof(Thickness));
                 SerializeField(s, nameof(UseMovingCollision));
                 SerializeField(s, nameof(UseTemplatePrimitiveParams));
                 SerializeField(s, nameof(lockTexture));
                 SerializeField(s, nameof(MatShader));
             }
         }
         SerializeField(s, nameof(Mesh3dSeed));
         SerializeField(s, nameof(MeshManualySet));
         SerializeField(s, nameof(animSpeedFactor));
         SerializeField(s, nameof(animAmplitudeFactor));
         SerializeField(s, nameof(highlightOutlineColor));
         SerializeField(s, nameof(highlightFrontLightBrightness));
         SerializeField(s, nameof(highlightOutlineWidth));
         SerializeField(s, nameof(highlightPeriod));
         SerializeField(s, nameof(highlightAmplitude));
     }
 }