Exemplo n.º 1
0
 internal async Task <RemoteStorageDownloadUGCResult_t?> UGCDownloadToLocation(UGCHandle_t hContent, string pchLocation, uint unPriority)
 {
     return(await RemoteStorageDownloadUGCResult_t.GetResultAsync(_UGCDownloadToLocation( Self, hContent, pchLocation, unPriority )));
 }
Exemplo n.º 2
0
 internal async Task <RemoteStorageDownloadUGCResult_t?> UGCDownload(UGCHandle_t hContent, uint unPriority)
 {
     return(await RemoteStorageDownloadUGCResult_t.GetResultAsync(_UGCDownload( Self, hContent, unPriority )));
 }
	void OnRemoteStorageDownloadUGCResult(RemoteStorageDownloadUGCResult_t pCallback, bool bIOFailure) {
		Debug.Log("[" + RemoteStorageDownloadUGCResult_t.k_iCallback + " - RemoteStorageDownloadUGCResult] - " + pCallback.m_eResult + " -- " + pCallback.m_hFile + " -- " + pCallback.m_nAppID + " -- " + pCallback.m_nSizeInBytes + " -- " + pCallback.m_pchFileName + " -- " + pCallback.m_ulSteamIDOwner);
	}
 internal async Task <RemoteStorageDownloadUGCResult_t?> UGCDownloadToLocation(UGCHandle_t hContent, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8StringToNative))] string pchLocation, uint unPriority)
 {
     return(await RemoteStorageDownloadUGCResult_t.GetResultAsync(_UGCDownloadToLocation( Self, hContent, pchLocation, unPriority )));
 }
Exemplo n.º 5
0
        internal async Task <RemoteStorageDownloadUGCResult_t?> UGCDownload(UGCHandle_t hContent, uint unPriority)
        {
            RemoteStorageDownloadUGCResult_t?resultAsync = await RemoteStorageDownloadUGCResult_t.GetResultAsync(this._UGCDownload(this.Self, hContent, unPriority));

            return(resultAsync);
        }