Nuget shit

This commit is contained in:
Garry Newman 2020-02-24 18:58:53 +00:00
parent 61a103919b
commit 895e11e801
3 changed files with 17 additions and 13 deletions

View File

@ -20,12 +20,15 @@ namespace Steamworks
Assert.IsTrue( sent );
while ( !SteamNetworking.IsP2PPacketAvailable() )
{
await Task.Delay( 10 );
}
while ( SteamNetworking.IsP2PPacketAvailable() )
{
var packet = SteamNetworking.ReadP2PPacket();
if ( packet.HasValue )
{
HandleMessageFrom( packet.Value.SteamId, packet.Value.Data );
}
}
var packet = SteamNetworking.ReadP2PPacket();
Assert.IsTrue( packet.HasValue );

View File

@ -10,27 +10,28 @@
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
<ItemGroup>
<None Update="steam_api64.dll">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<PropertyGroup>
<FrameworkPathOverride Condition="'$(TargetFramework)' == 'net40'">C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client</FrameworkPathOverride>
<Authors>Garry Newman</Authors>
<PackageId>Facepunch.Steamworks</PackageId>
<PackageDescription>Another fucking c# Steamworks implementation</PackageDescription>
<PackageProjectUrl>https://github.com/Facepunch/Facepunch.Steamworks</PackageProjectUrl>
<PackageIconUrl>https://files.facepunch.com/garry/c5edce1c-0c21-4c5d-95b6-37743be7455d.jpg</PackageIconUrl>
<PackageIcon>Facepunch.Steamworks.jpg</PackageIcon>
<PackageTags>facepunch;steam;unity;steamworks;valve</PackageTags>
<PackageVersion>2.2.0</PackageVersion>
<PackageVersion>2.3.0</PackageVersion>
<LangVersion>latest</LangVersion>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryUrl>https://github.com/Facepunch/Facepunch.Steamworks.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
</PropertyGroup>
<ItemGroup>
<None Include="steam_api64.dll" Pack="true" PackagePath="\native\">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Facepunch.Steamworks.jpg" Pack="true" PackagePath="\"/>
</ItemGroup>
<Import Project="Facepunch.Steamworks.targets" />
</Project>

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB