mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-24 13:45:37 +03:00
Fixed warnings etc
This commit is contained in:
parent
7913ccd171
commit
3001f2a5c4
@ -92,25 +92,25 @@
|
|||||||
</Otherwise>
|
</Otherwise>
|
||||||
</Choose>
|
</Choose>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Client\Achievements.cs" />
|
<Compile Include="Client\AchievementsTest.cs" />
|
||||||
<Compile Include="Client\Client.cs" />
|
<Compile Include="Client\ClientTest.cs" />
|
||||||
<Compile Include="Client\Lobby.cs" />
|
<Compile Include="Client\LobbyTest.cs" />
|
||||||
<Compile Include="Client\RichPresence.cs" />
|
<Compile Include="Client\RichPresenceTest.cs" />
|
||||||
<Compile Include="Client\Leaderboard.cs" />
|
<Compile Include="Client\LeaderboardTest.cs" />
|
||||||
<Compile Include="Client\App.cs" />
|
<Compile Include="Client\AppTest.cs" />
|
||||||
<Compile Include="Client\RemoteStorage.cs" />
|
<Compile Include="Client\RemoteStorageTest.cs" />
|
||||||
<Compile Include="Client\Voice.cs" />
|
<Compile Include="Client\VoiceTest.cs" />
|
||||||
<Compile Include="Client\Inventory.cs" />
|
<Compile Include="Client\InventoryTest.cs" />
|
||||||
<Compile Include="Client\Workshop.cs" />
|
<Compile Include="Client\WorkshopTest.cs" />
|
||||||
<Compile Include="Client\Networking.cs" />
|
<Compile Include="Client\NetworkingTest.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
<Compile Include="Client\Friends.cs" />
|
<Compile Include="Client\FriendsTest.cs" />
|
||||||
<Compile Include="Server\Server.cs" />
|
<Compile Include="Client\Server\ServerTest.cs" />
|
||||||
<Compile Include="Server\Stats.cs" />
|
<Compile Include="Client\Server\StatsTest.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Client\Serverlist.cs" />
|
<Compile Include="Client\ServerlistTest.cs" />
|
||||||
<Compile Include="Client\Stats.cs" />
|
<Compile Include="Client\StatsTest.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="packages.config" />
|
<None Include="packages.config" />
|
||||||
|
@ -141,10 +141,9 @@ public bool AddScore( bool onlyIfBeatsOldScore, int score, params int[] subscore
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Callback invoked by <see cref="AddScore(bool, int, int[], AddScoreCallback)"/> when score submission
|
/// Callback invoked by <see cref="AddScore(bool, int, int[], AddScoreCallback, FailureCallback)"/> when score submission
|
||||||
/// is complete.
|
/// is complete.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="success">If true, the score was submitted</param>
|
|
||||||
/// <param name="result">If successful, information about the new entry</param>
|
/// <param name="result">If successful, information about the new entry</param>
|
||||||
public delegate void AddScoreCallback( AddScoreResult result );
|
public delegate void AddScoreCallback( AddScoreResult result );
|
||||||
|
|
||||||
@ -278,13 +277,13 @@ private unsafe void ReadScores( LeaderboardScoresDownloaded_t result, List<Entry
|
|||||||
[ThreadStatic] private static List<Entry> _sEntryBuffer;
|
[ThreadStatic] private static List<Entry> _sEntryBuffer;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Callback invoked by <see cref="FetchScores(RequestType, int, int, FetchScoresCallback)"/> when
|
/// Callback invoked by <see cref="FetchScores(RequestType, int, int, FetchScoresCallback, FailureCallback)"/> when
|
||||||
/// a query is complete.
|
/// a query is complete.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public delegate void FetchScoresCallback( Entry[] results );
|
public delegate void FetchScoresCallback( Entry[] results );
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Fetch a subset of scores. The scores are passed to <paramref name="callback"/>.
|
/// Fetch a subset of scores. The scores are passed to <paramref name="onSuccess"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>Returns true if we have started the query</returns>
|
/// <returns>Returns true if we have started the query</returns>
|
||||||
public bool FetchScores( RequestType RequestType, int start, int end, FetchScoresCallback onSuccess, FailureCallback onFailure = null )
|
public bool FetchScores( RequestType RequestType, int start, int end, FetchScoresCallback onSuccess, FailureCallback onFailure = null )
|
||||||
|
@ -75,11 +75,7 @@ public void Cancel()
|
|||||||
remoteStorage.native.FileWriteStreamCancel( _handle );
|
remoteStorage.native.FileWriteStreamCancel( _handle );
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET_CORE
|
|
||||||
public void Close()
|
|
||||||
#else
|
|
||||||
public override void Close()
|
public override void Close()
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
if ( _closed ) return;
|
if ( _closed ) return;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user