public override void Entry(IModHelper helper) { ControlEvents.KeyPressed += ControlEvents_KeyPressed; config = Helper.ReadConfig <SConfig>(); }
public override void Entry(IModHelper helper) { helper.Events.Input.ButtonPressed += OnButtonPressed; config = Helper.ReadConfig <SConfig>(); }