mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 14:15:47 +03:00
Test updates
This commit is contained in:
parent
429d1937f9
commit
d6eb2c8041
@ -65,6 +65,8 @@ public void InstalledDepots()
|
|||||||
public async Task GetFileDetails()
|
public async Task GetFileDetails()
|
||||||
{
|
{
|
||||||
var fileinfo = await Apps.GetFileDetails( "hl2.exe" );
|
var fileinfo = await Apps.GetFileDetails( "hl2.exe" );
|
||||||
|
|
||||||
|
Console.WriteLine( $"fileinfo.SizeInBytes: {fileinfo.SizeInBytes}" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -337,9 +337,9 @@ public void RequestAllProofOfPurchaseKeys()
|
|||||||
private GetFileDetailsDelegate GetFileDetailsDelegatePointer;
|
private GetFileDetailsDelegate GetFileDetailsDelegatePointer;
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
public SteamAPICall_t GetFileDetails( string pszFileName )
|
public SteamApiCallback<FileDetailsResult_t> GetFileDetails( string pszFileName )
|
||||||
{
|
{
|
||||||
return GetFileDetailsDelegatePointer( Self, pszFileName );
|
return new SteamApiCallback<FileDetailsResult_t>( GetFileDetailsDelegatePointer( Self, pszFileName ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
#region FunctionMeta
|
#region FunctionMeta
|
||||||
|
@ -266,9 +266,9 @@ public bool BOverlayNeedsPresent()
|
|||||||
private CheckFileSignatureDelegate CheckFileSignatureDelegatePointer;
|
private CheckFileSignatureDelegate CheckFileSignatureDelegatePointer;
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
public SteamAPICall_t CheckFileSignature( string szFileName )
|
public SteamApiCallback<CheckFileSignature_t> CheckFileSignature( string szFileName )
|
||||||
{
|
{
|
||||||
return CheckFileSignatureDelegatePointer( Self, szFileName );
|
return new SteamApiCallback<CheckFileSignature_t>( CheckFileSignatureDelegatePointer( Self, szFileName ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
#region FunctionMeta
|
#region FunctionMeta
|
||||||
|
Loading…
Reference in New Issue
Block a user