TMPE
TMPE copied to clipboard
SerializableUIOptionBase should contain value/default-values
currently the values are stored in Options.cs
and default values are in the legacy code that loads data.
We need a central place to store values/default values. it is better to be all in one place.
I think we should put them all in SerializableUIOptionBase
.
related: #1372 says that all fields of this type should also be moved into one place.
@aubergine10 do you agree with this?
I think it depends on outcome of discussions in https://github.com/CitiesSkylinesMods/TMPE/issues/1372
Performance wise virtual property call cannot be optimised. Maybe a non virtual getter might not be a bad idea.