Skip to content

Releases: DorCoMaNdO/Reactor-Essentials

0.2.0-dev.13

08 Jul 02:44
Compare
Choose a tag to compare
0.2.0-dev13:

- Support 2021.6.30s
- Fixed exception when using extensions GetText, GetTextWithDefault, GetString and GetStringWithDefault, "STRMISS" or the provided default value will be returned instead.
- Added "Convert" example mod.
- Updated readme.

0.2.0-dev.12

15 Jun 21:39
Compare
Choose a tag to compare
0.2.0 dev.12:

- Support 2021.6.15s.
- Fixed extension method StringNames.GetText
- Added extension methods StringNames.GetTextWithDefault, TranslationController.GetString, TranslationController.GetStringWithDefault that handle IL2CPP parameter casting.
- Updated extension methods Vector3.ToVector2 and Vector2.ToVector3 to accept the vector structs with "in" modifiers.
- Fixed "Scroll for more" for the options text not appearing correctly in newer versions.
- Extracted build configuration conditions to AmongUs.props and Reactor.props.

0.2.0-dev.11 (Updated)

14 Apr 23:12
Compare
Choose a tag to compare

0.2.0-dev.10

05 Apr 17:05
Compare
Choose a tag to compare
CustomOption RPC now uses SHA-1 hashes to match remote objects.
Added documentation to Extensions.TryCastTo<T>.
Patched NumberOption.FixedUpdate and StringOption.FixedUpdate to address values not being presented correctly.
(2021.3.31.3s) Adjusted CustomNumberOption.ModifierStringFormat and CustomNumberOption.SecondsStringFormat for differing mono behaviour.

0.2.0-dev.9

04 Apr 12:05
Compare
Choose a tag to compare
2021.3.31.3s support.
(2021.3.31.3s) Added a patch to CanMove to address the game bug where players are unable to move after meetings (can be disabled by setting the property EssentialsPlugin.PatchCanMove to false).
Reverted CustomOption RPC to use full setting IDs to avoid potential GetHashCode issues if mono implementation changes.

0.2.0-dev.8

03 Apr 14:32
Compare
Choose a tag to compare
Added CustomOptionButton.
CustomOptionHeader is now a derived class of CustomOptionButton.
Property CustomOption.LobbyTextScale has been renamed to HudTextScale.
Property CustomOption.LobbyTextScroller has been renamed to HudTextScroller.
Property CustomOption.ClearDefaultLobbyText has been renamed to ClearDefaultHudText.
Added CustomOption.DefaultNameStringFormat, DefaultValueStringFormat and DefaultHudStringFormat.
Property CustomOption.StringFormat has been renamed to ValueStringFormat.
Property CustomOption.ToStringFormat has been renamed to HudStringFormat.
Protected method CustomOption.GameOptionCreated now returns bool, returning false will destroy the object that was created.
Significantly reduced CustomOption RPC size.
CustomOption values sent during RpcSyncSettings will now be sent one by one, immediately.
CustomStringOption.Values now returns a readonly collection.
CustomToggleOption will now also appear in the options menu for players who aren't the host.
Updated environment variables.
Updated OxygenFilter.
Added readme with installation, development and building instructions.

0.2.0-dev.7

27 Mar 14:53
Compare
Choose a tag to compare
Custom toggle options now appear in the options menu for non-host players.
Added CustomOption.GetDefaultValue<T>(), CustomOption.GetOldValue<T>().
Removed simplified RPC api temporarily until security concerns are addressed.

0.2.0-dev.6

24 Mar 06:50
Compare
Choose a tag to compare
Added HudPosition class allowing hud elements to be correctly positioned at different resolutions.
Corrected lobby options scroller positioning.
Removed property CustomOption.LobbyTextRowHeight, the scroller now works at every resolution with every text scale.
Added interfaces IToggleOption, INumberOption, IStringOption to allow for external CustomOption derivatives without requiring library modifications.
Added GameplayButton constant values EdgeOffsetX, EdgeOffsetY, OffsetX, OffsetY.
Updated GameplayButton positioning logic to use HudPosition (Vector2 is still accepted by implicit cast).
Renamed event HudUpdate to HudUpdated.
Added events HudCreated, OnHudUpdate, ResolutionChanged.
Added extension Vector2.ToVector3(float z).
Revised more protection modifiers.

0.2.0-dev.5

22 Mar 18:54
Compare
Choose a tag to compare
Second refactor pass of CooldownButton, core functionality now exists as GameplayButton, CooldownButton is now a derived class.
Added multiple properties to affect CooldownButton behaviour. Default cooldown behaviour no longer matches kill button behavior, to undo this change, create a derived class and override property CanUpdateCooldown, return "Visible && PlayerControl.LocalPlayer?.CanMove == true".
CooldownButton events OnCooldownStart and OnCooldownEnd have been renamed to CooldownStarted and CooldownEnded, respectively.
Added GameplayButton.Clicked event.
Added Events static class with an initial start of game events (to reduce the amount of patches needed by other plugins, to capture and report uncaptured exceptions to prevent the game from hanging).
Refactored CustomOption and derivatives to separate files.
Added property CustomOption.ToStringFormat, affecting the appearance of an option in the lobby options list.
Property CustomOption.NameStringFormat now affects the options menu as well.
Revised and corrected some protection modifiers.
Added virtual property CustomOption.SendRpc affecting whether an option's data and value changes will be sent through RPC.
Added CustomOptionHeader, allows the insertion of headers to the options list and menu.
Changed all "setting" documentation references with "option".
Added documentation for extensions GetText, ToVector2 and ToVector3.

0.2.0-dev.4

18 Mar 20:23
Compare
Choose a tag to compare
Added CooldownButton.PerformClick().
Updated CooldownButton positioning logic.
Added method CooldownButton.UpdateSprite.
Added extensions Vector3.ToVector2() and Vector2.ToVector3().
Added warning when receiving an update to an option that the current client does not have.
Removed some unnecessary null checks.