public override void Entry(IModHelper helper) { Config = helper.ReadConfig <DratModConfig>(); _subMods = new List <IDratSubMod>(); LoadSubMods(helper, _subMods); Monitor.Log("[DratMod] Main mod loaded"); }
public void Entry(DratModMain parentMod, IModHelper helper) { if (!parentMod.Config.ArtifactSubmodEnabled) { return; } _parentMod = parentMod; _reflectionHelper = helper.Reflection; _config = parentMod.Config; HookEvents(); _parentMod.Monitor.Log("[DratMod.Artifact] Submod loaded"); }