internal static void Postfix(double increase, Simulation.CashIncreaseReason reason)
 {
     MelonMain.DoPatchMethods(mod => mod.OnCashAdded(increase, reason));
 }
Exemple #2
0
 /// <summary>
 /// Called right after Cash is added in a game
 /// Tower might be null
 ///
 /// Equivalent to a HarmonyPostFix on Simulation.IncreaseCash
 /// </summary>
 public virtual void OnCashAdded(double amount, Simulation.CashIncreaseReason reason)
 {
 }