source: binary-improvements/MapRendering/API.cs@ 313

Last change on this file since 313 was 299, checked in by alloc, 8 years ago

Fixes

File size: 722 bytes
Line 
1using System;
2
3namespace MapRendering
4{
5 public class API : ModApiAbstract {
6
7 public override void GameAwake () {
8 new AllocsFixes.NetConnections.Servers.Web.Web ();
9 AllocsFixes.NetConnections.Servers.Web.LogBuffer.Instance.GetType ();
10 }
11
12 public override void GameStartDone () {
13 if (AllocsFixes.NetConnections.Servers.Web.Handlers.ItemIconHandler.Instance != null) {
14 AllocsFixes.NetConnections.Servers.Web.Handlers.ItemIconHandler.Instance.LoadIcons ();
15 }
16 }
17
18 public override void GameShutdown () {
19 AllocsFixes.MapRendering.MapRendering.Shutdown ();
20 }
21
22 public override void CalcChunkColorsDone (Chunk _chunk) {
23 AllocsFixes.MapRendering.MapRendering.RenderSingleChunk (_chunk);
24 }
25
26 }
27}
28
Note: See TracBrowser for help on using the repository browser.