Last change
on this file since 295 was 291, checked in by alloc, 8 years ago |
Fixed ItemIconHandler for A15
|
File size:
622 bytes
|
Line | |
---|
1 | using System;
|
---|
2 |
|
---|
3 | namespace 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 CalcChunkColorsDone (Chunk _chunk) {
|
---|
19 | AllocsFixes.MapRendering.MapRendering.RenderSingleChunk (_chunk);
|
---|
20 | }
|
---|
21 |
|
---|
22 | }
|
---|
23 | }
|
---|
24 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.