public static bool OnStartHardMode() { if (StartHardMode == null) { return(false); } HandledEventArgs handledEventArgs = new HandledEventArgs(); WorldHooks.StartHardMode(handledEventArgs); return(handledEventArgs.Handled); }
public static bool OnSmashAltar() { if (SmashAltar == null) { return(false); } HandledEventArgs handledEventArgs = new HandledEventArgs(); WorldHooks.SmashAltar(handledEventArgs); return(handledEventArgs.Handled); }
public static bool OnSaveWorld(bool resettime) { if (WorldHooks.SaveWorld == null) { return(false); } HandledEventArgs handledEventArgs = new HandledEventArgs(); WorldHooks.SaveWorld(resettime, handledEventArgs); return(handledEventArgs.Handled); }