Exemplo n.º 1
0
 internal void Awake()
 {
     Instance = this;
     Logger   = base.Logger;
     Harmony.CreateAndPatchAll(typeof(Hooks));
     GameAPI.RegisterExtraBehaviour <GameController>(GUID);
 }
Exemplo n.º 2
0
 internal void Main()
 {
     Instance = this;
     Logger   = base.Logger;
     Enabled  = Config.Bind("Settings", "Enabled", true, "Whether the plugin is enabled");
     Mode     = Config.Bind("Settings", "Mode", PluginMode.AutomaticOnly,
                            "When to apply change when traveling with a girl");
     ResetToAutomatic = Config.Bind("Settings", "Reset to Automatic", ResetToAutomaticMode.PeriodChange,
                                    "When to reset the players dress state to 'Automatic'");
 }