public static void OnLoad() { PUtil.InitLibrary(); PLocalization.Register(); VLib.Register(); POptions.RegisterOptions(typeof(Settings)); Settings.Init(POptions.ReadSettings <Settings>()); }
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>()); }
public static void OnLoad() { PUtil.InitLibrary(); PLocalization.Register(); VLib.Register(); }