コード例 #1
0
 static void Postfix(SimGameState __instance, SimGameState.SimGameType gameType, bool allowDebug) //we're doing a new campaign, so we need to sync the json with the new addition
 {
     try
     {
         Holder.SyncNewCampaign();
     }
     catch
     {
         // TODO:  should do something here if the holder reports an error
         return;
     }
 }
コード例 #2
0
 static void Postfix(SimGameState __instance) //we're doing a new campaign, so we need to sync the json with the new addition
 {
     Holder.SyncNewCampaign();
 }