Changeset 504


Ignore:
Timestamp:
Feb 7, 2025, 2:46:15 PM (12 days ago)
Author:
alloc
Message:

Compatibility fixes for 2.0

Location:
TFP-WebServer
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • TFP-WebServer/MapRendering/ModInfo.xml

    r503 r504  
    55        <Description value="Render the game map to image map tiles as it is uncovered" />
    66        <Author value="The Fun Pimps LLC" />
    7         <Version value="2.0.0.0" />
     7        <Version value="2.0.0.1" />
    88        <Website value="" />
    99</xml>
  • TFP-WebServer/MapRendering/src/ModApi.cs

    r503 r504  
    2727                }
    2828
    29                 private ModEvents.EModEventResult GameStartDone (ref ModEvents.SGameStartDoneData _data) {
     29                private void GameStartDone (ref ModEvents.SGameStartDoneData _data) {
    3030                        if (!MapRenderer.Enabled) {
    31                                 return ModEvents.EModEventResult.Continue;
     31                                return;
    3232                        }
    3333
    3434                        ModEvents.GameShutdown.RegisterHandler (GameShutdown);
    3535                        ModEvents.CalcChunkColorsDone.RegisterHandler (CalcChunkColorsDone);
    36 
    37                         return ModEvents.EModEventResult.Continue;
    3836                }
    3937
    40                 private ModEvents.EModEventResult GameShutdown (ref ModEvents.SGameShutdownData _data) {
     38                private void GameShutdown (ref ModEvents.SGameShutdownData _data) {
    4139                        MapRenderer.Shutdown ();
    42 
    43                         return ModEvents.EModEventResult.Continue;
    4440                }
    4541
    46                 private ModEvents.EModEventResult CalcChunkColorsDone (ref ModEvents.SCalcChunkColorsDoneData _data) {
     42                private void CalcChunkColorsDone (ref ModEvents.SCalcChunkColorsDoneData _data) {
    4743                        MapRenderer.RenderSingleChunk (_data.Chunk);
    48 
    49                         return ModEvents.EModEventResult.Continue;
    5044                }
    5145        }
  • TFP-WebServer/WebServer/ModInfo.xml

    r503 r504  
    55        <Description value="Integrated Webserver for the Web Dashboard and server APIs" />
    66        <Author value="The Fun Pimps LLC" />
    7         <Version value="2.0.0.0" />
     7        <Version value="2.0.0.1" />
    88        <Website value="" />
    99</xml>
  • TFP-WebServer/WebServer/src/ModApi.cs

    r503 r504  
    1818                }
    1919
    20                 private ModEvents.EModEventResult GameStartDone (ref ModEvents.SGameStartDoneData _data) {
     20                private void GameStartDone (ref ModEvents.SGameStartDoneData _data) {
    2121                        if (!ConnectionManager.Instance.IsServer) {
    22                                 return ModEvents.EModEventResult.Continue;
     22                                return;
    2323                        }
    2424                       
     
    2929                                ItemIconHandler.Instance.LoadIcons ();
    3030                        }
    31 
    32                         return ModEvents.EModEventResult.Continue;
    3331                }
    3432
    35                 private ModEvents.EModEventResult WorldShuttingDown (ref ModEvents.SWorldShuttingDownData _data) {
     33                private void WorldShuttingDown (ref ModEvents.SWorldShuttingDownData _data) {
    3634                        webInstance?.Disconnect ();
    37 
    38                         return ModEvents.EModEventResult.Continue;
    3935                }
    4036        }
  • TFP-WebServer/bin/Mods/TFP_MapRendering/ModInfo.xml

    r503 r504  
    55        <Description value="Render the game map to image map tiles as it is uncovered" />
    66        <Author value="The Fun Pimps LLC" />
    7         <Version value="2.0.0.0" />
     7        <Version value="2.0.0.1" />
    88        <Website value="" />
    99</xml>
  • TFP-WebServer/bin/Mods/TFP_WebServer/ModInfo.xml

    r503 r504  
    55        <Description value="Integrated Webserver for the Web Dashboard and server APIs" />
    66        <Author value="The Fun Pimps LLC" />
    7         <Version value="2.0.0.0" />
     7        <Version value="2.0.0.1" />
    88        <Website value="" />
    99</xml>
Note: See TracChangeset for help on using the changeset viewer.