Skip to content

Commit c6eff28

Browse files
authored
feat: Implement basic definitions and essential methods for CCSNavArea (#1335)
1 parent 30c048c commit c6eff28

20 files changed

Lines changed: 393 additions & 3 deletions

File tree

configs/addons/counterstrikesharp/gamedata/gamedata.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,5 +296,12 @@
296296
"windows": "44 89 4C 24 ? 44 88 44 24",
297297
"linux": "55 48 89 E5 41 57 49 89 F7 41 56 41 55 41 54 4D 89 C4"
298298
}
299+
},
300+
"CCSNavArea_IsValidNavMesh": {
301+
"signatures": {
302+
"library": "server",
303+
"windows": "48 83 3D ? ? ? ? ? 0F 95 C0 C3 CC CC CC CC C2",
304+
"linux": "48 8D 05 ? ? ? ? 48 83 38 ? 0F 95 C0 C3"
305+
}
299306
}
300-
}
307+
}

examples/HelloWorld/HelloWorld.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@
66
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
77
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
88
</PropertyGroup>
9+
<ItemGroup>
10+
<ProjectReference Include="..\..\managed\CounterStrikeSharp.API\CounterStrikeSharp.API.csproj" />
11+
</ItemGroup>
912
</Project>

examples/WarcraftPlugin/WarcraftPlugin.csproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,7 @@
2121
<ItemGroup>
2222
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
2323
</ItemGroup>
24-
25-
</Project>
24+
<ItemGroup>
25+
<ProjectReference Include="..\..\managed\CounterStrikeSharp.API\CounterStrikeSharp.API.csproj" />
26+
</ItemGroup>
27+
</Project>

examples/WithCheckTransmit/WithCheckTransmit.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@
66
<Nullable>enable</Nullable>
77
</PropertyGroup>
88

9+
<ItemGroup>
10+
<ProjectReference Include="..\..\managed\CounterStrikeSharp.API\CounterStrikeSharp.API.csproj" />
11+
</ItemGroup>
912
</Project>

examples/WithCommands/WithCommands.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@
66
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
77
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
88
</PropertyGroup>
9+
<ItemGroup>
10+
<ProjectReference Include="..\..\managed\CounterStrikeSharp.API\CounterStrikeSharp.API.csproj" />
11+
</ItemGroup>
912
</Project>

examples/WithConfig/WithConfig.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@
66
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
77
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
88
</PropertyGroup>
9+
<ItemGroup>
10+
<ProjectReference Include="..\..\managed\CounterStrikeSharp.API\CounterStrikeSharp.API.csproj" />
11+
</ItemGroup>
912
</Project>

examples/WithDatabaseDapper/WithDatabaseDapper.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@
1010
<PackageReference Include="Dapper" Version="2.1.24" />
1111
<PackageReference Include="Microsoft.Data.Sqlite" Version="7.0.14" />
1212
</ItemGroup>
13+
<ItemGroup>
14+
<ProjectReference Include="..\..\managed\CounterStrikeSharp.API\CounterStrikeSharp.API.csproj" />
15+
</ItemGroup>
1316
</Project>

examples/WithDependencyInjection/WithDependencyInjection.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@
66
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
77
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
88
</PropertyGroup>
9+
<ItemGroup>
10+
<ProjectReference Include="..\..\managed\CounterStrikeSharp.API\CounterStrikeSharp.API.csproj" />
11+
</ItemGroup>
912
</Project>

examples/WithEntityOutputHooks/WithEntityOutputHooks.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@
66
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
77
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
88
</PropertyGroup>
9+
<ItemGroup>
10+
<ProjectReference Include="..\..\managed\CounterStrikeSharp.API\CounterStrikeSharp.API.csproj" />
11+
</ItemGroup>
912
</Project>

examples/WithFakeConvars/WithFakeConvars.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@
66
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
77
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
88
</PropertyGroup>
9+
<ItemGroup>
10+
<ProjectReference Include="..\..\managed\CounterStrikeSharp.API\CounterStrikeSharp.API.csproj" />
11+
</ItemGroup>
912
</Project>

0 commit comments

Comments
 (0)