Skip to content

Refactor - #62

Merged
js6pak merged 9 commits into
NuclearPowered:v2from
SubmergedAmongUs:v2
Oct 6, 2022
Merged

js6pak merged 9 commits into
NuclearPowered:v2from
SubmergedAmongUs:v2

Conversation

@Alexejhero

@Alexejhero Alexejhero commented Oct 3, 2022 •

Copy link
Copy Markdown
Member

The refactorer strikes again!!

Changes made in this pull request

  • Overall cleanup in the project structure to make it less confusing for newer contributors and make it easier to add new features without throwing them in the project in random places.
    • Classes are now grouped by the main feature they represent, followed by sub-feature or class type.
      • For example, Networking/Rpcs contains all of the rpc-related classes
      • GUI/Extensions contains extension methods for Unity UI, like Rect or Texture-related stuff
    • Cleaned up the "extension" files which, even though they were supposed to be grouped by category, seemed to have been scrambled by someone
    • Cleaned up the "patches" files which also contained extensions and random monobehaviours
  • Updated BepInEx and GameLibs dependencies

@Alexejhero
Alexejhero marked this pull request as ready for review October 3, 2022 15:15

@simonkellly simonkellly left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good changes

Use not null type check instead of null check pattern

Update namespaces
@edqx

edqx commented Oct 3, 2022

Copy link
Copy Markdown
Contributor

Very good changes
AlexejheroYTB reacted with thumbs up emoji
natsu-k reacted with

Comment thread Reactor/Patches/Fixes/CursorPosPatch.cs Resolved
Comment thread Reactor/Utilities/RegionInfoWatcher.cs Resolved
Comment thread Reactor/Patches/QOL/BetterGuestPatch.cs Resolved
@js6pak js6pak changed the title Refactor namespace organization and project structure for v2 release Refactor Oct 6, 2022
@js6pak
js6pak merged commit b7971d3 into NuclearPowered:v2 Oct 6, 2022
@Alexejhero Alexejhero mentioned this pull request Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants