Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMLHelper 2.11 #235

Merged
merged 26 commits into from
Jul 14, 2021
Merged

SMLHelper 2.11 #235

merged 26 commits into from
Jul 14, 2021

Conversation

toebeann
Copy link
Contributor

@toebeann toebeann commented Jul 10, 2021

Changes in this version

This is a backwards-compatible feature release.

Builds v2.10.1.2 00a9fe3

Subnautica

Stable

SMLHelper
Example Mod

Experimental

SMLHelper
Example Mod

Below Zero

Stable

SMLHelper Zero
Example Mod

Experimental

SMLHelper Zero
Example Mod

…hoice` was incorrectly displaying the choice as if the first option was selected when the menu is first built, regardless of what option is actually selected.
…es-bugfix

Menu options showing incorrect chosen value for enum-based `[Choice]` when using custom `string` names.
…lder` until the options menu has been successfully registered and the `ConfigFile` has been returned to the API consumer.
…aHandler` that can be used to automatically read/write to from a json file that is per-mod-per-save.
…bute-events

Defer `ConfigFile` attribute-based events when using the `OptionsMenuBuilder` via `RegisterModOptions<ConfigFile>`.
…er than deep storage, and reverted the change to createFileIfNotExist.
…taCache, and changed the way it handles updating the player position to utilise the OnStartedSaving etc. events of SaveDataCache, inherited from JsonFile.
…since for this mod they will work just fine as variables within the `Patch` method.
…for the saved file if you backed out to the main menu and loaded the game again, preventing the CoordinatesSpawnsInitialized.smlhelper file from being saved.
…lized-bugfix

`CoodinatedSpawnsInitialized.smlhelper` bugfix
@toebeann toebeann self-assigned this Jul 10, 2021
…sIncludedConverters` of `JsonFile`, and subsequently removing the override from `SaveDataCache` that adds these converters.
…ache

Add a base `JsonFile` implementation for extension, as well as a `SaveDataCache` extension of `JsonFile` for working with per-mod-per-saveslot cached data
…-and-quaternion-converters

Add `Vector3Converter` and `QuaternionConverter` to `ConfigFile`
@toebeann toebeann marked this pull request as ready for review July 12, 2021 16:30
@toebeann
Copy link
Contributor Author

Builds 00a9fe3

Subnautica

Stable

SMLHelper
Example Mod

Experimental

SMLHelper
Example Mod

Below Zero

Stable

SMLHelper Zero
Example Mod

Experimental

SMLHelper Zero
Example Mod

@toebeann toebeann merged commit 49fd425 into master Jul 14, 2021
@toebeann toebeann deleted the dev branch July 14, 2021 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants