// Hook location : Game1.LoadContent() // if (this.CanLoadContent) // { // <HOOK HERE> // PortExploits.populate(); public static void onLoadContent(Hacknet.Game1 self) { Pathfinder.LoadModContent(); var loadContentEvent = new Event.LoadContentEvent(self); loadContentEvent.CallEvent(); }
public LoadContentEvent(Hacknet.Game1 gameInstance) { this.gameInstance = gameInstance; }
public GameExitEvent(Hacknet.Game1 gameInstance) { this.gameInstance = gameInstance; }