Esempio n. 1
0
 private void OnKctFacilityUpgdComplete(KCT_UpgradingBuilding data)
 {
     Debug.Log($"[LRTR] OnKctFacilityUpgdComplete");
     if (!data.facilityType.HasValue)
     {
         return;                                 // can be null in case of third party mods that define custom facilities
     }
     CareerLog.Instance?.AddFacilityConstructionEvent(data.facilityType.Value, data.upgradeLevel, data.cost, ConstructionState.Completed);
 }
Esempio n. 2
0
 private void OnKctFacilityUpgdComplete(KCT_UpgradingBuilding data)
 {
     Debug.Log($"[RP-0] OnKctFacilityUpgdComplete");
     CareerLog.Instance?.AddFacilityConstructionEvent(data.facilityType, data.upgradeLevel, data.cost, ConstructionState.Completed);
 }