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

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

Fixes

File size: 722 bytes
RevLine 
[224]1using System;
2
3namespace MapRendering
4{
[230]5 public class API : ModApiAbstract {
[224]6
[230]7 public override void GameAwake () {
8 new AllocsFixes.NetConnections.Servers.Web.Web ();
[250]9 AllocsFixes.NetConnections.Servers.Web.LogBuffer.Instance.GetType ();
[224]10 }
11
[291]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 }
[267]17
[299]18 public override void GameShutdown () {
19 AllocsFixes.MapRendering.MapRendering.Shutdown ();
20 }
21
[230]22 public override void CalcChunkColorsDone (Chunk _chunk) {
[224]23 AllocsFixes.MapRendering.MapRendering.RenderSingleChunk (_chunk);
24 }
[230]25
[224]26 }
27}
28
Note: See TracBrowser for help on using the repository browser.