Exemple #1
0
 public static void OnLoad()
 {
     PUtil.InitLibrary();
     PLocalization.Register();
     VLib.Register();
     POptions.RegisterOptions(typeof(Settings));
     Settings.Init(POptions.ReadSettings <Settings>());
 }
Exemple #2
0
 public override void OnLoad(Harmony harmony)
 {
     base.OnLoad(harmony);
     PUtil.InitLibrary();
     new PLocalization().Register();
     VLib.Register();
     new POptions().RegisterOptions(this, typeof(Settings));
     Settings.Init(POptions.ReadSettings <Settings>());
 }
Exemple #3
0
 public static void OnLoad()
 {
     PUtil.InitLibrary();
     PLocalization.Register();
     VLib.Register();
 }