R2API StringSerializerExtensions

v1.0.0·Updated 2023-10-18

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

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. 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.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. 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.

Dependencies

Install these first, or the mod will not work:

bbepis-BepInExPackRiskofThunder-HookGenPatcherRiskofThunder-R2API_Core

File & checksum

Filename
R2API_StringSerializerExtensions-1.0.0.zip
File size
15.2 KiB