@@ -55,15 +55,15 @@ public uint32_t Colours
5555 }
5656
5757 [ Category ( "Production" ) ]
58- public BindingList < IndustryObjectProductionRateRange > InitialProductionRate { get ; set ; } = new ( model . InitialProductionRate ) ;
58+ public BindingList < IndustryObjectProductionRateRange > InitialProductionRate { get ; init ; } = new ( model . InitialProductionRate ) ;
5959
6060 [ Category ( "Production" ) ]
6161 [ Length ( 0 , IndustryObjectLoader . Constants . MaxProducedCargoType ) ]
62- public BindingList < ObjectModelHeader > ProducedCargo { get ; set ; } = new ( model . ProducedCargo ) ;
62+ public BindingList < ObjectModelHeader > ProducedCargo { get ; init ; } = new ( model . ProducedCargo ) ;
6363
6464 [ Category ( "Production" ) ]
6565 [ Length ( 0 , IndustryObjectLoader . Constants . MaxProducedCargoType ) ]
66- public BindingList < ObjectModelHeader > RequiredCargo { get ; set ; } = new ( model . RequiredCargo ) ;
66+ public BindingList < ObjectModelHeader > RequiredCargo { get ; init ; } = new ( model . RequiredCargo ) ;
6767
6868 [ Category ( "Production" ) ]
6969 public uint8_t MonthlyClosureChance
@@ -131,11 +131,11 @@ public uint8_t FarmNumStagesOfGrowth
131131
132132 [ Category ( "Building" ) ]
133133 [ Length ( 1 , IndustryObjectLoader . Constants . BuildingHeightCount ) ]
134- public BindingList < uint8_t > BuildingHeights { get ; set ; } = model . BuildingComponents . BuildingHeights . ToBindingList ( ) ;
134+ public BindingList < uint8_t > BuildingHeights { get ; init ; } = model . BuildingComponents . BuildingHeights . ToBindingList ( ) ;
135135
136136 [ Category ( "Building" ) ]
137137 [ Length ( 1 , IndustryObjectLoader . Constants . BuildingAnimationCount ) ]
138- public BindingList < BuildingPartAnimation > BuildingAnimations { get ; set ; } = model . BuildingComponents . BuildingAnimations . ToBindingList ( ) ;
138+ public BindingList < BuildingPartAnimation > BuildingAnimations { get ; init ; } = model . BuildingComponents . BuildingAnimations . ToBindingList ( ) ;
139139
140140 [ Category ( "Building" ) ]
141141 public uint8_t MinNumBuildings
@@ -152,7 +152,7 @@ public uint8_t MaxNumBuildings
152152 }
153153
154154 [ Category ( "Building" ) ]
155- public BindingList < uint8_t > UnkBuildingData { get ; set ; } = model . Buildings . ToBindingList ( ) ;
155+ public BindingList < uint8_t > UnkBuildingData { get ; init ; } = model . Buildings . ToBindingList ( ) ;
156156
157157 [ Category ( "Building" ) ]
158158 public uint32_t BuildingSizeFlags
@@ -177,7 +177,7 @@ public Colour ScaffoldingColour
177177
178178 [ Category ( "Building" ) ]
179179 [ Length ( 0 , IndustryObjectLoader . Constants . MaxWallTypeCount ) ]
180- public BindingList < ObjectModelHeader > WallTypes { get ; set ; } = model . WallTypes . ToBindingList ( ) ;
180+ public BindingList < ObjectModelHeader > WallTypes { get ; init ; } = model . WallTypes . ToBindingList ( ) ;
181181
182182 [ Category ( "Building" ) ]
183183 public ObjectModelHeader ? BuildingWall
@@ -194,7 +194,7 @@ public ObjectModelHeader? BuildingWallEntrance
194194 }
195195
196196 [ Category ( "<unknown>" ) ]
197- public BindingList < IndustryObjectUnk38 > var_38 { get ; set ; } = model . var_38 . ToBindingList ( ) ;
197+ public BindingList < IndustryObjectUnk38 > var_38 { get ; init ; } = model . var_38 . ToBindingList ( ) ;
198198
199199 [ Category ( "<unknown>" ) ]
200200 public uint8_t var_E8
0 commit comments