Test updates

This commit is contained in:
Garry Newman 2019-04-13 18:47:36 +01:00
parent 429d1937f9
commit d6eb2c8041
8 changed files with 6 additions and 4 deletions

View File

@ -65,6 +65,8 @@ public void InstalledDepots()
public async Task GetFileDetails()
{
var fileinfo = await Apps.GetFileDetails( "hl2.exe" );
Console.WriteLine( $"fileinfo.SizeInBytes: {fileinfo.SizeInBytes}" );
}
}

View File

@ -337,9 +337,9 @@ public void RequestAllProofOfPurchaseKeys()
private GetFileDetailsDelegate GetFileDetailsDelegatePointer;
#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

View File

@ -266,9 +266,9 @@ public bool BOverlayNeedsPresent()
private CheckFileSignatureDelegate CheckFileSignatureDelegatePointer;
#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