Closed khanshoaib3 closed 10 months ago
Utils
namespace (utils/ColorMatcher.cs etc). This will keep the Features directory cleaner as we bring in new code from AccessibleTiles.Organize the custom commands the same way as patches i.e., create an ICustomCommand
interface with Add()
method and a CustomCommandManager
class that adds all the custom commands.
Maybe replace AccessTools.Method()
with AccessTools.DeclaredMethod
and use name of the method as string instead of using nameof()
.
Organize code in HarmonyPatches.cs and CustomCommands.cs