Skip to content

0.2.0-dev.5

Compare
Choose a tag to compare
@DorCoMaNdO DorCoMaNdO released this 22 Mar 18:54
· 15 commits to master since this release
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.