using System; namespace MapRendering { public class API : ModApiAbstract { public override void GameAwake () { new AllocsFixes.NetConnections.Servers.Web.Web (); AllocsFixes.NetConnections.Servers.Web.LogBuffer.Instance.GetType (); } public override void GameStartDone () { if (AllocsFixes.NetConnections.Servers.Web.Handlers.ItemIconHandler.Instance != null) { AllocsFixes.NetConnections.Servers.Web.Handlers.ItemIconHandler.Instance.LoadIcons (); } } public override void GameShutdown () { AllocsFixes.MapRendering.MapRendering.Shutdown (); } public override void CalcChunkColorsDone (Chunk _chunk) { AllocsFixes.MapRendering.MapRendering.RenderSingleChunk (_chunk); } } }