provide a SyncedConfigEntry type + extension methods for mod developers to bind their config entries with, declaring which entries should be synced from host to clients.
Implementation
Use SigurdLib.Networking messages to
send a 'config manifest' to clients on connect
Send 'config changes' throughout play in case an in game config editor is used
The SyncedConfigEntry class should not overwrite the .Value member and should instead have an additional .SyncedValue member. This is because the ConfigFile class reads the .Value member when serializing (saving) the config entry to the filesystem.
API surface
provide a SyncedConfigEntry type + extension methods for mod developers to bind their config entries with, declaring which entries should be synced from host to clients.
Implementation
Use SigurdLib.Networking messages to
The SyncedConfigEntry class should not overwrite the
.Value
member and should instead have an additional.SyncedValue
member. This is because the ConfigFile class reads the .Value member when serializing (saving) the config entry to the filesystem.