-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for commercial building problems that build up over time.
New preview image Clean up
- Loading branch information
1 parent
6b96bbb
commit 22608ef
Showing
5 changed files
with
54 additions
and
42 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,10 +40,6 @@ | |
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\Cities_Skylines\Cities_Data\Managed\Assembly-CSharp.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="CimTools, Version=0.1.5821.35742, Culture=neutral, processorArchitecture=MSIL"> | ||
<SpecificVersion>False</SpecificVersion> | ||
<HintPath>Libraries\CimTools.dll</HintPath> | ||
</Reference> | ||
<Reference Include="ColossalManaged"> | ||
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\Cities_Skylines\Cities_Data\Managed\ColossalManaged.dll</HintPath> | ||
<Private>False</Private> | ||
|
@@ -52,6 +48,7 @@ | |
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\Cities_Skylines\Cities_Data\Managed\ICities.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="System" /> | ||
<Reference Include="UnityEngine"> | ||
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\Cities_Skylines\Cities_Data\Managed\UnityEngine.dll</HintPath> | ||
<Private>False</Private> | ||
|
@@ -63,6 +60,7 @@ | |
<Compile Include="Experiments\ExperimentsToggle.cs" /> | ||
<Compile Include="LoadingExtension.cs" /> | ||
<Compile Include="Places\Chances.cs" /> | ||
<Compile Include="Places\CityEventManager.cs" /> | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
PropaneDragon
Author
Owner
|
||
<Compile Include="Redirection\RedirectionHelper.cs" /> | ||
<Compile Include="Redirection\RedirectionUtil.cs" /> | ||
<Compile Include="Redirection\RedirectMethodAttribute.cs" /> | ||
|
Please take a look at EventInfo, EventData, EventManager, EventCollection and EventProperties classes in game's decompiled code. It looks like CO already made a basic implementation of events a while ago but for some reason haven't released that feature yet. I think you better use (& mod of course) existing events framework. First, because if CO eventually brings events into the game your mod will be already ready for the feature. Second, it's always nice to reuse code instead of duplicating ;)