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

Compatibility fixes for 2.0

Location:
TFP-WebServer/WebServer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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        }
Note: See TracChangeset for help on using the changeset viewer.