Changeset 337
- Timestamp:
- Nov 21, 2018, 3:48:12 PM (6 years ago)
- Location:
- binary-improvements
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/API.cs
r325 r337 4 4 public class API : IModApi { 5 5 public void InitMod () { 6 ModEvents.Game Awake.RegisterHandler (GameAwake);6 ModEvents.GameStartDone.RegisterHandler (GameAwake); 7 7 ModEvents.GameShutdown.RegisterHandler (GameShutdown); 8 8 ModEvents.SavePlayerData.RegisterHandler (SavePlayerData); -
binary-improvements/MapRendering/API.cs
r331 r337 5 5 public class API : IModApi { 6 6 public void InitMod () { 7 ModEvents.GameAwake.RegisterHandler (GameAwake);8 7 ModEvents.GameStartDone.RegisterHandler (GameStartDone); 9 8 ModEvents.GameShutdown.RegisterHandler (GameShutdown); … … 11 10 } 12 11 13 private void Game Awake () {12 private void GameStartDone () { 14 13 // ReSharper disable once ObjectCreationAsStatement 15 14 new Web (); 16 15 LogBuffer.Init (); 17 }18 16 19 private void GameStartDone () {20 17 if (ItemIconHandler.Instance != null) { 21 18 ItemIconHandler.Instance.LoadIcons ();
Note:
See TracChangeset
for help on using the changeset viewer.