8 Commits
Author SHA1 Message Date
TommyXL 7929a4b83e Optimization (Part 1?) (#589)
* Well lets try check this

* Some changes

* Change

* Well

* Change ControllerManager.Update

* Nothing

* Optimaze more?

* Fix error build

* Fix win check

* Change

* Fix

* Optimaze some roles in OnCheckPlayerPosition

* More optimaze

* Full optimaze roles in OnGlobalFixedUpdate

* Optimaze some add-ons

* ProgressText

* Change

* Optimaze NameNotifyManager

* Optimaze NotifyRoles and some roles

* Move the displayed version

* Some changes

* Optimaze OnFixedUpdate in some roles

* Fix bugs

* Optimaze IsActive & V4 version

* Optimaze MapRoom.DoorsUpdate

* Cache TryCatch in IsActive

* Change

* Fix

* More optimze TaskPanelBehaviour

* Cache GetRoleColor & ColorString & AllStringNames & Change RemoveHtmlTags

* Cache TryCast VentilationSystem & ICriticalSabotage & IUsable and more optimaze

* Fix CountAlivePlayers

* Fix exceptios

* Replace some CachedAllPlayerControls to EnumeratePlayerControls

* Replace some CachedAlivePlayerControls to EnumerateAlivePlayerControls

* Fixes

* Fix modded clients

* Fix errors

* Fix again

* Optimaze & add null check

* Fix crash in Starlight

* Use only Main.PluginVersion in LobbySharingAPI

* Optimaze code in FixedUpdate

* Fix

* Optimize GetProgressText for Roles

* Some changes in Translations

* Cache Enum.GetValues and StringBuilder

* Changes

* CustomRole.ColoredTextByRole()

* Optimaze Lobby & Meeting

* ColorStringPrefix => ColorPrefix

* Add null check

* Remove

* Fixes & optimaze

* Fixes

* Changes

* Fix

* Fix

* Fix

* Remove

* Fix

* Change

* Revert
2026-05-15 20:01:54 +02:00
Gurge44 87787d80ee fix hp not passing by proximity 2026-03-13 09:03:15 +01:00
Gurge44 e7737e2173 fix GetPlainShipRoom 2026-02-18 11:41:52 +01:00
Gurge44 06870c700d Converting FixedUpdate to Coroutines (80%) 2026-02-12 13:21:49 +01:00
Gurge44 b9198b9639 Finish FastVector2 Optimization 2026-02-11 10:09:42 +01:00
Gurge44 a51be2d60b More FastVector2 2026-02-10 13:27:01 +01:00
Gurge44 5809b5ef7c Optimize & Cache GetPlainShipRoom + FastVector2.GetPlayersInRange 2026-02-10 11:05:51 +01:00
Gurge44 f62ad2b5a2 More Optimizations 2026-02-09 13:50:37 +01:00