-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScavShrapnelMod.csproj
More file actions
202 lines (184 loc) · 7.6 KB
/
ScavShrapnelMod.csproj
File metadata and controls
202 lines (184 loc) · 7.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props"
Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{CAB60128-2C09-4ABD-8786-16839DB58CFC}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ScavShrapnelMod</RootNamespace>
<AssemblyName>ScavShrapnelMod</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<LangVersion>10</LangVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
</PropertyGroup>
<!--
GAME PATH — edit this to match your install location.
PostBuild copies the DLL to $(GameDir)\BepInEx\plugins\
Set via: right-click project → Properties → Build Events
or override in a local .props file (see BUILD.md).
-->
<PropertyGroup>
<GameDir Condition=" '$(GameDir)' == '' ">D:\Games\Scav</GameDir>
<PluginsDir>$(GameDir)\BepInEx\plugins</PluginsDir>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<!--
SOURCE FILES
-->
<ItemGroup>
<!-- Root -->
<Compile Include="Plugin.cs" />
<Compile Include="ShrapnelConfig.cs" />
<Compile Include="Console.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<!-- Patches -->
<Compile Include="Patches\ExplosionTracker.cs" />
<Compile Include="Patches\CreateExplosionPatch.cs" />
<Compile Include="Patches\DestroyBackupPatch.cs" />
<Compile Include="Patches\ShotDetectorPatches.cs" />
<Compile Include="Patches\TurretPatches.cs" />
<!-- Core -->
<Compile Include="Core\AshParticlePool.cs" />
<Compile Include="Core\AshParticlePoolManager.cs" />
<Compile Include="Core\ParticlePool.cs" />
<Compile Include="Core\ParticlePoolManager.cs" />
<Compile Include="Core\DebrisTracker.cs" />
<Compile Include="Core\ShrapnelWeightData.cs" />
<Compile Include="Core\TrailConfig.cs" />
<Compile Include="Core\ShrapnelVisuals.cs" />
<Compile Include="Core\ShrapnelFactory.cs" />
<!-- Projectiles -->
<Compile Include="Projectiles\AshParticlePooled.cs" />
<Compile Include="Projectiles\ShrapnelProjectile.cs" />
<!-- Effects -->
<Compile Include="Effects\ExplosionEffectsLogic.cs" />
<Compile Include="Effects\BulletImpactEffects.cs" />
<Compile Include="Effects\GroundDebrisLogic.cs" />
<Compile Include="Effects\ExplosionLogger.cs" />
<!-- Logic -->
<Compile Include="Logic\ShotEffectRouter.cs" />
<Compile Include="Logic\ShrapnelDamage.cs" />
<Compile Include="Logic\ShrapnelSpawnLogic.cs" />
<!-- Net -->
<Compile Include="Net\ShrapnelNetSync.cs" />
<!-- Helpers -->
<Compile Include="Helpers\BlockClassifier.cs" />
<Compile Include="Helpers\GameVersionChecker.cs" />
<Compile Include="Helpers\MathHelper.cs" />
<Compile Include="Helpers\MultiplayerHelper.cs" />
<Compile Include="Helpers\ParticleHelper.cs" />
<Compile Include="Helpers\RandomExtensions.cs" />
</ItemGroup>
<ItemGroup>
<!-- BepInEx / Harmony -->
<Reference Include="0Harmony">
<HintPath>Libraries\0Harmony.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="BepInEx">
<HintPath>Libraries\BepInEx.dll</HintPath>
<Private>False</Private>
</Reference>
<!-- Game assembly -->
<Reference Include="Assembly-CSharp">
<HintPath>Libraries\Assembly-CSharp.dll</HintPath>
<Private>False</Private>
</Reference>
<!-- Unity Engine modules -->
<Reference Include="UnityEngine">
<HintPath>Libraries\UnityEngine.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.CoreModule">
<HintPath>Libraries\UnityEngine.CoreModule.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.AudioModule">
<HintPath>Libraries\UnityEngine.AudioModule.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.ImageConversionModule">
<HintPath>Libraries\UnityEngine.ImageConversionModule.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.InputLegacyModule">
<HintPath>Libraries\UnityEngine.InputLegacyModule.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.ParticleSystemModule">
<HintPath>Libraries\UnityEngine.ParticleSystemModule.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.Physics2DModule">
<HintPath>Libraries\UnityEngine.Physics2DModule.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.TextRenderingModule">
<HintPath>Libraries\UnityEngine.TextRenderingModule.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.UI">
<HintPath>Libraries\UnityEngine.UI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Unity.RenderPipelines.Universal.Runtime">
<HintPath>Libraries\Unity.RenderPipelines.Universal.Runtime.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.TilemapModule">
<HintPath>Libraries\UnityEngine.TilemapModule.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.GridModule">
<HintPath>Libraries\UnityEngine.GridModule.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.AnimationModule">
<HintPath>Libraries\UnityEngine.AnimationModule.dll</HintPath>
<Private>False</Private>
</Reference>
<!-- BCL -->
<Reference Include="System" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!--
POST-BUILD: copy DLL to game plugins folder.
Requires GameDir to be set correctly (see BUILD.md).
Skipped gracefully if PluginsDir doesn't exist.
-->
<Target Name="PostBuild" AfterTargets="Build"
Condition=" Exists('$(PluginsDir)') ">
<Copy
SourceFiles="$(OutputPath)$(AssemblyName).dll"
DestinationFolder="$(PluginsDir)"
OverwriteReadOnlyFiles="true"
SkipUnchangedFiles="true" />
<Message Text="[ScavShrapnelMod] Deployed → $(PluginsDir)" Importance="high" />
</Target>
<!-- Warn loudly when PluginsDir doesn't exist instead of silently failing -->
<Target Name="PostBuildMissingDir" AfterTargets="Build"
Condition=" !Exists('$(PluginsDir)') ">
<Warning
Text="[ScavShrapnelMod] PluginsDir not found: '$(PluginsDir)'. Set GameDir in the csproj or via environment variable. See BUILD.md." />
</Target>
</Project>