Commit 5a83192 1 parent adf711d commit 5a83192 Copy full SHA for 5a83192
File tree 6 files changed +19
-7
lines changed
6 files changed +19
-7
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ protected override void StartActions()
39
39
public SegmentSelectorTool RoadSegmentToolInstance => ToolsModifierControl . toolController . GetComponent < SegmentSelectorTool > ( ) ;
40
40
public BuildingSelectorTool BuildingToolInstance => ToolsModifierControl . toolController . GetComponent < BuildingSelectorTool > ( ) ;
41
41
42
- public ITMFacade Facade { get ; } = new ITMFacade ( ) ;
42
+
43
43
#endregion
44
44
45
45
public void OnDestroy ( )
Original file line number Diff line number Diff line change 89
89
</ItemGroup >
90
90
<Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
91
91
<PropertyGroup >
92
- <PostBuildEvent >set "ModDir=%25LOCALAPPDATA%25\Colossal Order\Cities_Skylines\Addons\Mods \$(SolutionName)\"
92
+ <PostBuildEvent >set "ModDir=$(SolutionDir)..\_appdataMods \$(SolutionName)\"
93
93
rmdir /s /q "%25ModDir%25"
94
94
95
95
mkdir "%25ModDir%25"
Original file line number Diff line number Diff line change 9
9
using System . Reflection ;
10
10
using UnityEngine ;
11
11
12
- [ assembly: AssemblyVersion ( "0.1.0.7 " ) ]
12
+ [ assembly: AssemblyVersion ( "0.1.0.8 " ) ]
13
13
namespace ImprovedTransportManager
14
14
{
15
15
public class ModInstance : BasicIUserMod < ModInstance , ITMMainController >
Original file line number Diff line number Diff line change 1
- using ImprovedTransportManager . Data ;
1
+ using ICities ;
2
+ using ImprovedTransportManager . Data ;
2
3
using ImprovedTransportManager . Utility ;
3
4
using System ;
4
5
using System . Collections . Generic ;
5
6
6
7
namespace ImprovedTransportManager . ModShared
7
8
{
8
- public class ITMFacade
9
+ public class ITMFacade : ILoadingExtension
9
10
{
10
- public static ITMFacade Instance => ModInstance . Controller . Facade ;
11
+ public static ITMFacade Instance { get ; private set ; } = new ITMFacade ( ) ;
11
12
12
13
public event Action < ushort > EventLineDestinationsChanged ;
13
14
@@ -38,5 +39,13 @@ public List<ushort> MapAllTerminals(ushort lineId)
38
39
39
40
return result ;
40
41
}
42
+
43
+ public void OnCreated ( ILoading loading ) { }
44
+
45
+ public void OnReleased ( ) => Instance = new ITMFacade ( ) ;
46
+
47
+ public void OnLevelLoaded ( LoadMode mode ) { }
48
+
49
+ public void OnLevelUnloading ( ) => Instance = new ITMFacade ( ) ;
41
50
}
42
51
}
Original file line number Diff line number Diff line change 4
4
- Fixed ELT issues
5
5
- Added some language translations (specially cn, ja and it)
6
6
7
+ <color=green>Update r8 (17/NOV/22)</color>
8
+ - Fixing integration with WE
9
+
7
10
<color=yellow>Welcome to Improved Transport Manager, the ITM!</color>
8
11
9
12
This mod intends to be a replacement to the both old IPT2 and TLM. Here are some of features already done in this mod:
Original file line number Diff line number Diff line change 81
81
</ProjectReference >
82
82
</ItemGroup >
83
83
<PropertyGroup >
84
- <PostBuildEvent >set "ModDir=%25LOCALAPPDATA%25\Colossal Order\Cities_Skylines\Addons\Mods \$(SolutionName)\"
84
+ <PostBuildEvent >set "ModDir=$(SolutionDir)..\_appdataMods \$(SolutionName)\"
85
85
86
86
xcopy /y /e "$(TargetPath)*" "%25ModDir%25"
87
87
del "%25ModDir%25*.pdb"
You can’t perform that action at this time.
0 commit comments