mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-08-06 19:00:13 +08:00
refactor(CheatEnabler): adopt ModFeatureRegistry from UXAssist
This commit is contained in:
@@ -7,9 +7,11 @@ using BepInEx.Configuration;
|
||||
using HarmonyLib;
|
||||
using UnityEngine;
|
||||
using UXAssist.Common;
|
||||
using UXAssist.Common.ModFeatures;
|
||||
|
||||
namespace CheatEnabler.Functions;
|
||||
|
||||
[ModFeature("DysonSphereFunctions")]
|
||||
public static class DysonSphereFunctions
|
||||
{
|
||||
public static ConfigEntry<bool> IllegalDysonShellFunctionsEnabled;
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
using Random = UnityEngine.Random;
|
||||
using UXAssist.Common.ModFeatures;
|
||||
|
||||
namespace CheatEnabler.Functions;
|
||||
|
||||
[ModFeature("PlanetFunctions")]
|
||||
public static class PlanetFunctions
|
||||
{
|
||||
public static void BuryAllVeins(bool bury)
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using UXAssist.Common;
|
||||
using UXAssist.Common.ModFeatures;
|
||||
|
||||
namespace CheatEnabler.Functions;
|
||||
|
||||
[ModFeature("PlayerFunctions")]
|
||||
public static class PlayerFunctions
|
||||
{
|
||||
public static void Init()
|
||||
|
||||
Reference in New Issue
Block a user