R2API StringSerializerExtensions
Increased string serializer support
About this mod Author’s original text
R2API.StringSerializerExtensions - Increased String Serializer support
About
R2API.StringSerializerExtensions is a submodule assembly for R2API that adds new serialization handlers to the HG.GeneralSerializer.StringSerializer class
Use Cases / Features
R2API.StringSerializerExtensions adds new serialization handlers to the HG.GeneralSerializer.StringSerializer class, particularly useful for Editor centered mods who use EntityStateConfigurations
It adds handlers for:
- LayerMask
- Vector4
- Rect
- RectInt
- Char
- Bounds
- BoundsInt
- Quaternion
- Vector2Int
- Vector3Int
- Any Enum Type, including Flags.
For Thunderkit Users, it is recommended that you install RoR2EditorKit alongside this submodule as it enables the EntityStateConfiguration inspector to serialize the new types.
Changelog
'1.0.0'
- Initial Release
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Install these first, or the mod will not work: