コード例 #1
0
 public static void OnLoad()
 {
     PUtil.InitLibrary();
     POptions.RegisterOptions(typeof(SweepByTypeOptions));
     PLocalization.Register();
     Options = null;
     PUtil.RegisterPatchClass(typeof(SweepByTypePatches));
 }
コード例 #2
0
 public override void OnLoad(Harmony harmony)
 {
     base.OnLoad(harmony);
     PUtil.InitLibrary();
     new POptions().RegisterOptions(this, typeof(SweepByTypeOptions));
     new PLocalization().Register();
     Options = null;
     new PPatchManager(harmony).RegisterPatchClass(typeof(SweepByTypePatches));
     new PVersionCheck().Register(this, new SteamVersionChecker());
 }
コード例 #3
0
 public static void OnLoad()
 {
     PUtil.InitLibrary();
     POptions.RegisterOptions(typeof(SweepByTypeOptions));
     Options = null;
 }