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

Last change on this file since 298 was 291, checked in by alloc, 8 years ago

Fixed ItemIconHandler for A15

File size: 622 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
[230]18 public override void CalcChunkColorsDone (Chunk _chunk) {
[224]19 AllocsFixes.MapRendering.MapRendering.RenderSingleChunk (_chunk);
20 }
[230]21
[224]22 }
23}
24
Note: See TracBrowser for help on using the repository browser.