mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 14:15:47 +03:00
Updated bindings
This commit is contained in:
parent
16d3b048af
commit
d1ada9464d
@ -66,7 +66,7 @@ internal static class Defines
|
|||||||
internal const string STEAMGAMESERVERSTATS_INTERFACE_VERSION = "SteamGameServerStats001";
|
internal const string STEAMGAMESERVERSTATS_INTERFACE_VERSION = "SteamGameServerStats001";
|
||||||
internal const string STEAMHTMLSURFACE_INTERFACE_VERSION = "STEAMHTMLSURFACE_INTERFACE_VERSION_003";
|
internal const string STEAMHTMLSURFACE_INTERFACE_VERSION = "STEAMHTMLSURFACE_INTERFACE_VERSION_003";
|
||||||
internal const string STEAMHTTP_INTERFACE_VERSION = "STEAMHTTP_INTERFACE_VERSION002";
|
internal const string STEAMHTTP_INTERFACE_VERSION = "STEAMHTTP_INTERFACE_VERSION002";
|
||||||
internal const string STEAMINVENTORY_INTERFACE_VERSION = "STEAMINVENTORY_INTERFACE_V001";
|
internal const string STEAMINVENTORY_INTERFACE_VERSION = "STEAMINVENTORY_INTERFACE_V002";
|
||||||
internal const string STEAMMATCHMAKING_INTERFACE_VERSION = "SteamMatchMaking009";
|
internal const string STEAMMATCHMAKING_INTERFACE_VERSION = "SteamMatchMaking009";
|
||||||
internal const string STEAMMATCHMAKINGSERVERS_INTERFACE_VERSION = "SteamMatchMakingServers002";
|
internal const string STEAMMATCHMAKINGSERVERS_INTERFACE_VERSION = "SteamMatchMakingServers002";
|
||||||
internal const string STEAMMUSIC_INTERFACE_VERSION = "STEAMMUSIC_INTERFACE_VERSION001";
|
internal const string STEAMMUSIC_INTERFACE_VERSION = "STEAMMUSIC_INTERFACE_VERSION001";
|
||||||
@ -74,11 +74,11 @@ internal static class Defines
|
|||||||
internal const string STEAMNETWORKING_INTERFACE_VERSION = "SteamNetworking005";
|
internal const string STEAMNETWORKING_INTERFACE_VERSION = "SteamNetworking005";
|
||||||
internal const string STEAMREMOTESTORAGE_INTERFACE_VERSION = "STEAMREMOTESTORAGE_INTERFACE_VERSION014";
|
internal const string STEAMREMOTESTORAGE_INTERFACE_VERSION = "STEAMREMOTESTORAGE_INTERFACE_VERSION014";
|
||||||
internal const string STEAMSCREENSHOTS_INTERFACE_VERSION = "STEAMSCREENSHOTS_INTERFACE_VERSION003";
|
internal const string STEAMSCREENSHOTS_INTERFACE_VERSION = "STEAMSCREENSHOTS_INTERFACE_VERSION003";
|
||||||
internal const string STEAMUGC_INTERFACE_VERSION = "STEAMUGC_INTERFACE_VERSION009";
|
internal const string STEAMUGC_INTERFACE_VERSION = "STEAMUGC_INTERFACE_VERSION010";
|
||||||
internal const string STEAMUNIFIEDMESSAGES_INTERFACE_VERSION = "STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001";
|
internal const string STEAMUNIFIEDMESSAGES_INTERFACE_VERSION = "STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001";
|
||||||
internal const string STEAMUSER_INTERFACE_VERSION = "SteamUser019";
|
internal const string STEAMUSER_INTERFACE_VERSION = "SteamUser019";
|
||||||
internal const string STEAMUSERSTATS_INTERFACE_VERSION = "STEAMUSERSTATS_INTERFACE_VERSION011";
|
internal const string STEAMUSERSTATS_INTERFACE_VERSION = "STEAMUSERSTATS_INTERFACE_VERSION011";
|
||||||
internal const string STEAMUTILS_INTERFACE_VERSION = "SteamUtils008";
|
internal const string STEAMUTILS_INTERFACE_VERSION = "SteamUtils009";
|
||||||
internal const string STEAMVIDEO_INTERFACE_VERSION = "STEAMVIDEO_INTERFACE_V001";
|
internal const string STEAMVIDEO_INTERFACE_VERSION = "STEAMVIDEO_INTERFACE_V002";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -127,6 +127,8 @@ internal enum Result : int
|
|||||||
InvalidItemType = 104,
|
InvalidItemType = 104,
|
||||||
IPBanned = 105,
|
IPBanned = 105,
|
||||||
GSLTExpired = 106,
|
GSLTExpired = 106,
|
||||||
|
InsufficientFunds = 107,
|
||||||
|
TooManyPending = 108,
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -264,6 +266,7 @@ internal enum AppOwnershipFlags : int
|
|||||||
PendingGift = 32768,
|
PendingGift = 32768,
|
||||||
RentalNotActivated = 65536,
|
RentalNotActivated = 65536,
|
||||||
Rental = 131072,
|
Rental = 131072,
|
||||||
|
SiteLicense = 262144,
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -1001,7 +1004,8 @@ internal enum ControllerSourceMode : int
|
|||||||
MouseJoystick = 12,
|
MouseJoystick = 12,
|
||||||
MouseRegion = 13,
|
MouseRegion = 13,
|
||||||
RadialMenu = 14,
|
RadialMenu = 14,
|
||||||
Switches = 15,
|
SingleButton = 15,
|
||||||
|
Switches = 16,
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -1165,37 +1169,47 @@ internal enum ControllerActionOrigin : int
|
|||||||
SteamV2_RightBumper = 153,
|
SteamV2_RightBumper = 153,
|
||||||
SteamV2_LeftGrip = 154,
|
SteamV2_LeftGrip = 154,
|
||||||
SteamV2_RightGrip = 155,
|
SteamV2_RightGrip = 155,
|
||||||
SteamV2_Start = 156,
|
SteamV2_LeftGrip_Upper = 156,
|
||||||
SteamV2_Back = 157,
|
SteamV2_RightGrip_Upper = 157,
|
||||||
SteamV2_LeftPad_Touch = 158,
|
SteamV2_LeftBumper_Pressure = 158,
|
||||||
SteamV2_LeftPad_Swipe = 159,
|
SteamV2_RightBumper_Pressure = 159,
|
||||||
SteamV2_LeftPad_Click = 160,
|
SteamV2_LeftGrip_Pressure = 160,
|
||||||
SteamV2_LeftPad_DPadNorth = 161,
|
SteamV2_RightGrip_Pressure = 161,
|
||||||
SteamV2_LeftPad_DPadSouth = 162,
|
SteamV2_LeftGrip_Upper_Pressure = 162,
|
||||||
SteamV2_LeftPad_DPadWest = 163,
|
SteamV2_RightGrip_Upper_Pressure = 163,
|
||||||
SteamV2_LeftPad_DPadEast = 164,
|
SteamV2_Start = 164,
|
||||||
SteamV2_RightPad_Touch = 165,
|
SteamV2_Back = 165,
|
||||||
SteamV2_RightPad_Swipe = 166,
|
SteamV2_LeftPad_Touch = 166,
|
||||||
SteamV2_RightPad_Click = 167,
|
SteamV2_LeftPad_Swipe = 167,
|
||||||
SteamV2_RightPad_DPadNorth = 168,
|
SteamV2_LeftPad_Click = 168,
|
||||||
SteamV2_RightPad_DPadSouth = 169,
|
SteamV2_LeftPad_Pressure = 169,
|
||||||
SteamV2_RightPad_DPadWest = 170,
|
SteamV2_LeftPad_DPadNorth = 170,
|
||||||
SteamV2_RightPad_DPadEast = 171,
|
SteamV2_LeftPad_DPadSouth = 171,
|
||||||
SteamV2_LeftTrigger_Pull = 172,
|
SteamV2_LeftPad_DPadWest = 172,
|
||||||
SteamV2_LeftTrigger_Click = 173,
|
SteamV2_LeftPad_DPadEast = 173,
|
||||||
SteamV2_RightTrigger_Pull = 174,
|
SteamV2_RightPad_Touch = 174,
|
||||||
SteamV2_RightTrigger_Click = 175,
|
SteamV2_RightPad_Swipe = 175,
|
||||||
SteamV2_LeftStick_Move = 176,
|
SteamV2_RightPad_Click = 176,
|
||||||
SteamV2_LeftStick_Click = 177,
|
SteamV2_RightPad_Pressure = 177,
|
||||||
SteamV2_LeftStick_DPadNorth = 178,
|
SteamV2_RightPad_DPadNorth = 178,
|
||||||
SteamV2_LeftStick_DPadSouth = 179,
|
SteamV2_RightPad_DPadSouth = 179,
|
||||||
SteamV2_LeftStick_DPadWest = 180,
|
SteamV2_RightPad_DPadWest = 180,
|
||||||
SteamV2_LeftStick_DPadEast = 181,
|
SteamV2_RightPad_DPadEast = 181,
|
||||||
SteamV2_Gyro_Move = 182,
|
SteamV2_LeftTrigger_Pull = 182,
|
||||||
SteamV2_Gyro_Pitch = 183,
|
SteamV2_LeftTrigger_Click = 183,
|
||||||
SteamV2_Gyro_Yaw = 184,
|
SteamV2_RightTrigger_Pull = 184,
|
||||||
SteamV2_Gyro_Roll = 185,
|
SteamV2_RightTrigger_Click = 185,
|
||||||
Count = 186,
|
SteamV2_LeftStick_Move = 186,
|
||||||
|
SteamV2_LeftStick_Click = 187,
|
||||||
|
SteamV2_LeftStick_DPadNorth = 188,
|
||||||
|
SteamV2_LeftStick_DPadSouth = 189,
|
||||||
|
SteamV2_LeftStick_DPadWest = 190,
|
||||||
|
SteamV2_LeftStick_DPadEast = 191,
|
||||||
|
SteamV2_Gyro_Move = 192,
|
||||||
|
SteamV2_Gyro_Pitch = 193,
|
||||||
|
SteamV2_Gyro_Yaw = 194,
|
||||||
|
SteamV2_Gyro_Roll = 195,
|
||||||
|
Count = 196,
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -1327,6 +1341,8 @@ internal enum ItemStatistic : int
|
|||||||
NumSecondsPlayed = 8,
|
NumSecondsPlayed = 8,
|
||||||
NumPlaytimeSessions = 9,
|
NumPlaytimeSessions = 9,
|
||||||
NumComments = 10,
|
NumComments = 10,
|
||||||
|
NumSecondsPlayedDuringTimePeriod = 11,
|
||||||
|
NumPlaytimeSessionsDuringTimePeriod = 12,
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -286,6 +286,7 @@ internal interface Interface : IDisposable
|
|||||||
bool /*bool*/ ISteamHTTP_GetHTTPRequestWasTimedOut( uint hRequest, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbWasTimedOut );
|
bool /*bool*/ ISteamHTTP_GetHTTPRequestWasTimedOut( uint hRequest, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbWasTimedOut );
|
||||||
Result /*EResult*/ ISteamInventory_GetResultStatus( int resultHandle );
|
Result /*EResult*/ ISteamInventory_GetResultStatus( int resultHandle );
|
||||||
bool /*bool*/ ISteamInventory_GetResultItems( int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize );
|
bool /*bool*/ ISteamInventory_GetResultItems( int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize );
|
||||||
|
bool /*bool*/ ISteamInventory_GetResultItemProperty( int resultHandle, uint /*uint32*/ unItemIndex, string /*const char **/ pchPropertyName, System.Text.StringBuilder /*char **/ pchValueBuffer, out uint /*uint32 **/ punValueBufferSizeOut );
|
||||||
uint /*uint32*/ ISteamInventory_GetResultTimestamp( int resultHandle );
|
uint /*uint32*/ ISteamInventory_GetResultTimestamp( int resultHandle );
|
||||||
bool /*bool*/ ISteamInventory_CheckResultSteamID( int resultHandle, ulong steamIDExpected );
|
bool /*bool*/ ISteamInventory_CheckResultSteamID( int resultHandle, ulong steamIDExpected );
|
||||||
void /*void*/ ISteamInventory_DestroyResult( int resultHandle );
|
void /*void*/ ISteamInventory_DestroyResult( int resultHandle );
|
||||||
@ -513,6 +514,7 @@ internal interface Interface : IDisposable
|
|||||||
bool /*bool*/ ISteamUGC_SetReturnChildren( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren );
|
bool /*bool*/ ISteamUGC_SetReturnChildren( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren );
|
||||||
bool /*bool*/ ISteamUGC_SetReturnAdditionalPreviews( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews );
|
bool /*bool*/ ISteamUGC_SetReturnAdditionalPreviews( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews );
|
||||||
bool /*bool*/ ISteamUGC_SetReturnTotalOnly( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly );
|
bool /*bool*/ ISteamUGC_SetReturnTotalOnly( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly );
|
||||||
|
bool /*bool*/ ISteamUGC_SetReturnPlaytimeStats( ulong handle, uint /*uint32*/ unDays );
|
||||||
bool /*bool*/ ISteamUGC_SetLanguage( ulong handle, string /*const char **/ pchLanguage );
|
bool /*bool*/ ISteamUGC_SetLanguage( ulong handle, string /*const char **/ pchLanguage );
|
||||||
bool /*bool*/ ISteamUGC_SetAllowCachedResponse( ulong handle, uint /*uint32*/ unMaxAgeSeconds );
|
bool /*bool*/ ISteamUGC_SetAllowCachedResponse( ulong handle, uint /*uint32*/ unMaxAgeSeconds );
|
||||||
bool /*bool*/ ISteamUGC_SetCloudFileNameFilter( ulong handle, string /*const char **/ pMatchCloudFileName );
|
bool /*bool*/ ISteamUGC_SetCloudFileNameFilter( ulong handle, string /*const char **/ pMatchCloudFileName );
|
||||||
@ -557,6 +559,8 @@ internal interface Interface : IDisposable
|
|||||||
SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_StartPlaytimeTracking( IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
|
SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_StartPlaytimeTracking( IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
|
||||||
SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_StopPlaytimeTracking( IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
|
SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_StopPlaytimeTracking( IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
|
||||||
SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_StopPlaytimeTrackingForAllItems();
|
SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_StopPlaytimeTrackingForAllItems();
|
||||||
|
SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_AddDependency( ulong nParentPublishedFileID, ulong nChildPublishedFileID );
|
||||||
|
SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_RemoveDependency( ulong nParentPublishedFileID, ulong nChildPublishedFileID );
|
||||||
ClientUnifiedMessageHandle /*(ClientUnifiedMessageHandle)*/ ISteamUnifiedMessages_SendMethod( string /*const char **/ pchServiceMethod, IntPtr /*const void **/ pRequestBuffer, uint /*uint32*/ unRequestBufferSize, ulong /*uint64*/ unContext );
|
ClientUnifiedMessageHandle /*(ClientUnifiedMessageHandle)*/ ISteamUnifiedMessages_SendMethod( string /*const char **/ pchServiceMethod, IntPtr /*const void **/ pRequestBuffer, uint /*uint32*/ unRequestBufferSize, ulong /*uint64*/ unContext );
|
||||||
bool /*bool*/ ISteamUnifiedMessages_GetMethodResponseInfo( ulong hHandle, out uint /*uint32 **/ punResponseSize, out Result /*EResult **/ peResult );
|
bool /*bool*/ ISteamUnifiedMessages_GetMethodResponseInfo( ulong hHandle, out uint /*uint32 **/ punResponseSize, out Result /*EResult **/ peResult );
|
||||||
bool /*bool*/ ISteamUnifiedMessages_GetMethodResponseData( ulong hHandle, IntPtr /*void **/ pResponseBuffer, uint /*uint32*/ unResponseBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAutoRelease );
|
bool /*bool*/ ISteamUnifiedMessages_GetMethodResponseData( ulong hHandle, IntPtr /*void **/ pResponseBuffer, uint /*uint32*/ unResponseBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAutoRelease );
|
||||||
@ -571,8 +575,8 @@ internal interface Interface : IDisposable
|
|||||||
bool /*bool*/ ISteamUser_GetUserDataFolder( System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer );
|
bool /*bool*/ ISteamUser_GetUserDataFolder( System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer );
|
||||||
void /*void*/ ISteamUser_StartVoiceRecording();
|
void /*void*/ ISteamUser_StartVoiceRecording();
|
||||||
void /*void*/ ISteamUser_StopVoiceRecording();
|
void /*void*/ ISteamUser_StopVoiceRecording();
|
||||||
VoiceResult /*EVoiceResult*/ ISteamUser_GetAvailableVoice( out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate );
|
VoiceResult /*EVoiceResult*/ ISteamUser_GetAvailableVoice( out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed_Deprecated, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate_Deprecated );
|
||||||
VoiceResult /*EVoiceResult*/ ISteamUser_GetVoice( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed, IntPtr /*void **/ pUncompressedDestBuffer, uint /*uint32*/ cbUncompressedDestBufferSize, out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate );
|
VoiceResult /*EVoiceResult*/ ISteamUser_GetVoice( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed_Deprecated, IntPtr /*void **/ pUncompressedDestBuffer_Deprecated, uint /*uint32*/ cbUncompressedDestBufferSize_Deprecated, out uint /*uint32 **/ nUncompressBytesWritten_Deprecated, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate_Deprecated );
|
||||||
VoiceResult /*EVoiceResult*/ ISteamUser_DecompressVoice( IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate );
|
VoiceResult /*EVoiceResult*/ ISteamUser_DecompressVoice( IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate );
|
||||||
uint /*uint32*/ ISteamUser_GetVoiceOptimalSampleRate();
|
uint /*uint32*/ ISteamUser_GetVoiceOptimalSampleRate();
|
||||||
HAuthTicket /*(HAuthTicket)*/ ISteamUser_GetAuthSessionTicket( IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket );
|
HAuthTicket /*(HAuthTicket)*/ ISteamUser_GetAuthSessionTicket( IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket );
|
||||||
@ -661,8 +665,12 @@ internal interface Interface : IDisposable
|
|||||||
void /*void*/ ISteamUtils_SetOverlayNotificationInset( int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset );
|
void /*void*/ ISteamUtils_SetOverlayNotificationInset( int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset );
|
||||||
bool /*bool*/ ISteamUtils_IsSteamInBigPictureMode();
|
bool /*bool*/ ISteamUtils_IsSteamInBigPictureMode();
|
||||||
void /*void*/ ISteamUtils_StartVRDashboard();
|
void /*void*/ ISteamUtils_StartVRDashboard();
|
||||||
|
bool /*bool*/ ISteamUtils_IsVRHeadsetStreamingEnabled();
|
||||||
|
void /*void*/ ISteamUtils_SetVRHeadsetStreamingEnabled( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bEnabled );
|
||||||
void /*void*/ ISteamVideo_GetVideoURL( uint unVideoAppID );
|
void /*void*/ ISteamVideo_GetVideoURL( uint unVideoAppID );
|
||||||
bool /*bool*/ ISteamVideo_IsBroadcasting( IntPtr /*int **/ pnNumViewers );
|
bool /*bool*/ ISteamVideo_IsBroadcasting( IntPtr /*int **/ pnNumViewers );
|
||||||
|
void /*void*/ ISteamVideo_GetOPFSettings( uint unVideoAppID );
|
||||||
|
bool /*bool*/ ISteamVideo_GetOPFStringForApp( uint unVideoAppID, System.Text.StringBuilder /*char **/ pchBuffer, out int /*int32 **/ pnBufferSize );
|
||||||
bool /*bool*/ SteamApi_SteamAPI_Init();
|
bool /*bool*/ SteamApi_SteamAPI_Init();
|
||||||
void /*void*/ SteamApi_SteamAPI_RunCallbacks();
|
void /*void*/ SteamApi_SteamAPI_RunCallbacks();
|
||||||
void /*void*/ SteamApi_SteamGameServer_RunCallbacks();
|
void /*void*/ SteamApi_SteamGameServer_RunCallbacks();
|
||||||
|
@ -273,17 +273,17 @@ public virtual void Dispose()
|
|||||||
|
|
||||||
Native.SteamAPI_ISteamUser_StopVoiceRecording(_ptr);
|
Native.SteamAPI_ISteamUser_StopVoiceRecording(_ptr);
|
||||||
}
|
}
|
||||||
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetAvailableVoice( out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate )
|
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetAvailableVoice( out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed_Deprecated, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate_Deprecated )
|
||||||
{
|
{
|
||||||
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" );
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" );
|
||||||
|
|
||||||
return Native.SteamAPI_ISteamUser_GetAvailableVoice(_ptr, out pcbCompressed, out pcbUncompressed, nUncompressedVoiceDesiredSampleRate);
|
return Native.SteamAPI_ISteamUser_GetAvailableVoice(_ptr, out pcbCompressed, out pcbUncompressed_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated);
|
||||||
}
|
}
|
||||||
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetVoice( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed, IntPtr /*void **/ pUncompressedDestBuffer, uint /*uint32*/ cbUncompressedDestBufferSize, out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate )
|
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetVoice( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed_Deprecated, IntPtr /*void **/ pUncompressedDestBuffer_Deprecated, uint /*uint32*/ cbUncompressedDestBufferSize_Deprecated, out uint /*uint32 **/ nUncompressBytesWritten_Deprecated, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate_Deprecated )
|
||||||
{
|
{
|
||||||
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" );
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" );
|
||||||
|
|
||||||
return Native.SteamAPI_ISteamUser_GetVoice(_ptr, bWantCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, out nUncompressBytesWritten, nUncompressedVoiceDesiredSampleRate);
|
return Native.SteamAPI_ISteamUser_GetVoice(_ptr, bWantCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, bWantUncompressed_Deprecated, pUncompressedDestBuffer_Deprecated, cbUncompressedDestBufferSize_Deprecated, out nUncompressBytesWritten_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated);
|
||||||
}
|
}
|
||||||
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_DecompressVoice( IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate )
|
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_DecompressVoice( IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate )
|
||||||
{
|
{
|
||||||
@ -980,6 +980,18 @@ public virtual IntPtr ISteamUtils_GetSteamUILanguage()
|
|||||||
|
|
||||||
Native.SteamAPI_ISteamUtils_StartVRDashboard(_ptr);
|
Native.SteamAPI_ISteamUtils_StartVRDashboard(_ptr);
|
||||||
}
|
}
|
||||||
|
public virtual bool /*bool*/ ISteamUtils_IsVRHeadsetStreamingEnabled()
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamUtils_IsVRHeadsetStreamingEnabled(_ptr);
|
||||||
|
}
|
||||||
|
public virtual void /*void*/ ISteamUtils_SetVRHeadsetStreamingEnabled( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bEnabled )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" );
|
||||||
|
|
||||||
|
Native.SteamAPI_ISteamUtils_SetVRHeadsetStreamingEnabled(_ptr, bEnabled);
|
||||||
|
}
|
||||||
|
|
||||||
public virtual int /*int*/ ISteamMatchmaking_GetFavoriteGameCount()
|
public virtual int /*int*/ ISteamMatchmaking_GetFavoriteGameCount()
|
||||||
{
|
{
|
||||||
@ -3001,6 +3013,12 @@ public virtual IntPtr ISteamController_GetGlyphForActionOrigin( ControllerAction
|
|||||||
|
|
||||||
return Native.SteamAPI_ISteamUGC_SetReturnTotalOnly(_ptr, handle, bReturnTotalOnly);
|
return Native.SteamAPI_ISteamUGC_SetReturnTotalOnly(_ptr, handle, bReturnTotalOnly);
|
||||||
}
|
}
|
||||||
|
public virtual bool /*bool*/ ISteamUGC_SetReturnPlaytimeStats( ulong handle, uint /*uint32*/ unDays )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamUGC_SetReturnPlaytimeStats(_ptr, handle, unDays);
|
||||||
|
}
|
||||||
public virtual bool /*bool*/ ISteamUGC_SetLanguage( ulong handle, string /*const char **/ pchLanguage )
|
public virtual bool /*bool*/ ISteamUGC_SetLanguage( ulong handle, string /*const char **/ pchLanguage )
|
||||||
{
|
{
|
||||||
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" );
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" );
|
||||||
@ -3268,6 +3286,18 @@ public virtual IntPtr ISteamController_GetGlyphForActionOrigin( ControllerAction
|
|||||||
|
|
||||||
return Native.SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems(_ptr);
|
return Native.SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems(_ptr);
|
||||||
}
|
}
|
||||||
|
public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_AddDependency( ulong nParentPublishedFileID, ulong nChildPublishedFileID )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamUGC_AddDependency(_ptr, nParentPublishedFileID, nChildPublishedFileID);
|
||||||
|
}
|
||||||
|
public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_RemoveDependency( ulong nParentPublishedFileID, ulong nChildPublishedFileID )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamUGC_RemoveDependency(_ptr, nParentPublishedFileID, nChildPublishedFileID);
|
||||||
|
}
|
||||||
|
|
||||||
public virtual uint /*uint32*/ ISteamAppList_GetNumInstalledApps()
|
public virtual uint /*uint32*/ ISteamAppList_GetNumInstalledApps()
|
||||||
{
|
{
|
||||||
@ -3523,6 +3553,12 @@ public virtual IntPtr ISteamController_GetGlyphForActionOrigin( ControllerAction
|
|||||||
|
|
||||||
return Native.SteamAPI_ISteamInventory_GetResultItems(_ptr, resultHandle, pOutItemsArray, out punOutItemsArraySize);
|
return Native.SteamAPI_ISteamInventory_GetResultItems(_ptr, resultHandle, pOutItemsArray, out punOutItemsArraySize);
|
||||||
}
|
}
|
||||||
|
public virtual bool /*bool*/ ISteamInventory_GetResultItemProperty( int resultHandle, uint /*uint32*/ unItemIndex, string /*const char **/ pchPropertyName, System.Text.StringBuilder /*char **/ pchValueBuffer, out uint /*uint32 **/ punValueBufferSizeOut )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamInventory_GetResultItemProperty(_ptr, resultHandle, unItemIndex, pchPropertyName, pchValueBuffer, out punValueBufferSizeOut);
|
||||||
|
}
|
||||||
public virtual uint /*uint32*/ ISteamInventory_GetResultTimestamp( int resultHandle )
|
public virtual uint /*uint32*/ ISteamInventory_GetResultTimestamp( int resultHandle )
|
||||||
{
|
{
|
||||||
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" );
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" );
|
||||||
@ -3668,6 +3704,18 @@ public virtual IntPtr ISteamController_GetGlyphForActionOrigin( ControllerAction
|
|||||||
|
|
||||||
return Native.SteamAPI_ISteamVideo_IsBroadcasting(_ptr, pnNumViewers);
|
return Native.SteamAPI_ISteamVideo_IsBroadcasting(_ptr, pnNumViewers);
|
||||||
}
|
}
|
||||||
|
public virtual void /*void*/ ISteamVideo_GetOPFSettings( uint unVideoAppID )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamVideo _ptr is null!" );
|
||||||
|
|
||||||
|
Native.SteamAPI_ISteamVideo_GetOPFSettings(_ptr, unVideoAppID);
|
||||||
|
}
|
||||||
|
public virtual bool /*bool*/ ISteamVideo_GetOPFStringForApp( uint unVideoAppID, System.Text.StringBuilder /*char **/ pchBuffer, out int /*int32 **/ pnBufferSize )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamVideo _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamVideo_GetOPFStringForApp(_ptr, unVideoAppID, pchBuffer, out pnBufferSize);
|
||||||
|
}
|
||||||
|
|
||||||
public virtual bool /*bool*/ ISteamGameServer_InitGameServer( uint /*uint32*/ unIP, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, uint /*uint32*/ unFlags, uint nGameAppId, string /*const char **/ pchVersionString )
|
public virtual bool /*bool*/ ISteamGameServer_InitGameServer( uint /*uint32*/ unIP, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, uint /*uint32*/ unFlags, uint nGameAppId, string /*const char **/ pchVersionString )
|
||||||
{
|
{
|
||||||
@ -4106,8 +4154,8 @@ internal static unsafe class Native
|
|||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_GetUserDataFolder( IntPtr ISteamUser, System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_GetUserDataFolder( IntPtr ISteamUser, System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer );
|
||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StartVoiceRecording( IntPtr ISteamUser );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StartVoiceRecording( IntPtr ISteamUser );
|
||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StopVoiceRecording( IntPtr ISteamUser );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StopVoiceRecording( IntPtr ISteamUser );
|
||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetAvailableVoice( IntPtr ISteamUser, out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetAvailableVoice( IntPtr ISteamUser, out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed_Deprecated, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate_Deprecated );
|
||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetVoice( IntPtr ISteamUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed, IntPtr /*void **/ pUncompressedDestBuffer, uint /*uint32*/ cbUncompressedDestBufferSize, out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetVoice( IntPtr ISteamUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed_Deprecated, IntPtr /*void **/ pUncompressedDestBuffer_Deprecated, uint /*uint32*/ cbUncompressedDestBufferSize_Deprecated, out uint /*uint32 **/ nUncompressBytesWritten_Deprecated, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate_Deprecated );
|
||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_DecompressVoice( IntPtr ISteamUser, IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_DecompressVoice( IntPtr ISteamUser, IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate );
|
||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUser_GetVoiceOptimalSampleRate( IntPtr ISteamUser );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUser_GetVoiceOptimalSampleRate( IntPtr ISteamUser );
|
||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern HAuthTicket /*(HAuthTicket)*/ SteamAPI_ISteamUser_GetAuthSessionTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern HAuthTicket /*(HAuthTicket)*/ SteamAPI_ISteamUser_GetAuthSessionTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket );
|
||||||
@ -4231,6 +4279,8 @@ internal static unsafe class Native
|
|||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetOverlayNotificationInset( IntPtr ISteamUtils, int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetOverlayNotificationInset( IntPtr ISteamUtils, int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset );
|
||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsSteamInBigPictureMode( IntPtr ISteamUtils );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsSteamInBigPictureMode( IntPtr ISteamUtils );
|
||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_StartVRDashboard( IntPtr ISteamUtils );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_StartVRDashboard( IntPtr ISteamUtils );
|
||||||
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsVRHeadsetStreamingEnabled( IntPtr ISteamUtils );
|
||||||
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetVRHeadsetStreamingEnabled( IntPtr ISteamUtils, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bEnabled );
|
||||||
|
|
||||||
//
|
//
|
||||||
// ISteamMatchmaking
|
// ISteamMatchmaking
|
||||||
@ -4613,6 +4663,7 @@ internal static unsafe class Native
|
|||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnChildren( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnChildren( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren );
|
||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnAdditionalPreviews( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnAdditionalPreviews( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews );
|
||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnTotalOnly( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnTotalOnly( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly );
|
||||||
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnPlaytimeStats( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unDays );
|
||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage );
|
||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetAllowCachedResponse( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unMaxAgeSeconds );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetAllowCachedResponse( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unMaxAgeSeconds );
|
||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetCloudFileNameFilter( IntPtr ISteamUGC, ulong handle, string /*const char **/ pMatchCloudFileName );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetCloudFileNameFilter( IntPtr ISteamUGC, ulong handle, string /*const char **/ pMatchCloudFileName );
|
||||||
@ -4657,6 +4708,8 @@ internal static unsafe class Native
|
|||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StartPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StartPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
|
||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
|
||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems( IntPtr ISteamUGC );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems( IntPtr ISteamUGC );
|
||||||
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_AddDependency( IntPtr ISteamUGC, ulong nParentPublishedFileID, ulong nChildPublishedFileID );
|
||||||
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_RemoveDependency( IntPtr ISteamUGC, ulong nParentPublishedFileID, ulong nChildPublishedFileID );
|
||||||
|
|
||||||
//
|
//
|
||||||
// ISteamAppList
|
// ISteamAppList
|
||||||
@ -4711,6 +4764,7 @@ internal static unsafe class Native
|
|||||||
//
|
//
|
||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern Result /*EResult*/ SteamAPI_ISteamInventory_GetResultStatus( IntPtr ISteamInventory, int resultHandle );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern Result /*EResult*/ SteamAPI_ISteamInventory_GetResultStatus( IntPtr ISteamInventory, int resultHandle );
|
||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetResultItems( IntPtr ISteamInventory, int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetResultItems( IntPtr ISteamInventory, int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize );
|
||||||
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetResultItemProperty( IntPtr ISteamInventory, int resultHandle, uint /*uint32*/ unItemIndex, string /*const char **/ pchPropertyName, System.Text.StringBuilder /*char **/ pchValueBuffer, out uint /*uint32 **/ punValueBufferSizeOut );
|
||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamInventory_GetResultTimestamp( IntPtr ISteamInventory, int resultHandle );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamInventory_GetResultTimestamp( IntPtr ISteamInventory, int resultHandle );
|
||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_CheckResultSteamID( IntPtr ISteamInventory, int resultHandle, ulong steamIDExpected );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_CheckResultSteamID( IntPtr ISteamInventory, int resultHandle, ulong steamIDExpected );
|
||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamInventory_DestroyResult( IntPtr ISteamInventory, int resultHandle );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamInventory_DestroyResult( IntPtr ISteamInventory, int resultHandle );
|
||||||
@ -4739,6 +4793,8 @@ internal static unsafe class Native
|
|||||||
//
|
//
|
||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamVideo_GetVideoURL( IntPtr ISteamVideo, uint unVideoAppID );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamVideo_GetVideoURL( IntPtr ISteamVideo, uint unVideoAppID );
|
||||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamVideo_IsBroadcasting( IntPtr ISteamVideo, IntPtr /*int **/ pnNumViewers );
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamVideo_IsBroadcasting( IntPtr ISteamVideo, IntPtr /*int **/ pnNumViewers );
|
||||||
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamVideo_GetOPFSettings( IntPtr ISteamVideo, uint unVideoAppID );
|
||||||
|
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamVideo_GetOPFStringForApp( IntPtr ISteamVideo, uint unVideoAppID, System.Text.StringBuilder /*char **/ pchBuffer, out int /*int32 **/ pnBufferSize );
|
||||||
|
|
||||||
//
|
//
|
||||||
// ISteamGameServer
|
// ISteamGameServer
|
||||||
|
@ -273,17 +273,17 @@ public virtual void Dispose()
|
|||||||
|
|
||||||
Native.SteamAPI_ISteamUser_StopVoiceRecording(_ptr);
|
Native.SteamAPI_ISteamUser_StopVoiceRecording(_ptr);
|
||||||
}
|
}
|
||||||
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetAvailableVoice( out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate )
|
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetAvailableVoice( out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed_Deprecated, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate_Deprecated )
|
||||||
{
|
{
|
||||||
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" );
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" );
|
||||||
|
|
||||||
return Native.SteamAPI_ISteamUser_GetAvailableVoice(_ptr, out pcbCompressed, out pcbUncompressed, nUncompressedVoiceDesiredSampleRate);
|
return Native.SteamAPI_ISteamUser_GetAvailableVoice(_ptr, out pcbCompressed, out pcbUncompressed_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated);
|
||||||
}
|
}
|
||||||
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetVoice( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed, IntPtr /*void **/ pUncompressedDestBuffer, uint /*uint32*/ cbUncompressedDestBufferSize, out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate )
|
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetVoice( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed_Deprecated, IntPtr /*void **/ pUncompressedDestBuffer_Deprecated, uint /*uint32*/ cbUncompressedDestBufferSize_Deprecated, out uint /*uint32 **/ nUncompressBytesWritten_Deprecated, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate_Deprecated )
|
||||||
{
|
{
|
||||||
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" );
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" );
|
||||||
|
|
||||||
return Native.SteamAPI_ISteamUser_GetVoice(_ptr, bWantCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, out nUncompressBytesWritten, nUncompressedVoiceDesiredSampleRate);
|
return Native.SteamAPI_ISteamUser_GetVoice(_ptr, bWantCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, bWantUncompressed_Deprecated, pUncompressedDestBuffer_Deprecated, cbUncompressedDestBufferSize_Deprecated, out nUncompressBytesWritten_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated);
|
||||||
}
|
}
|
||||||
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_DecompressVoice( IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate )
|
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_DecompressVoice( IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate )
|
||||||
{
|
{
|
||||||
@ -980,6 +980,18 @@ public virtual IntPtr ISteamUtils_GetSteamUILanguage()
|
|||||||
|
|
||||||
Native.SteamAPI_ISteamUtils_StartVRDashboard(_ptr);
|
Native.SteamAPI_ISteamUtils_StartVRDashboard(_ptr);
|
||||||
}
|
}
|
||||||
|
public virtual bool /*bool*/ ISteamUtils_IsVRHeadsetStreamingEnabled()
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamUtils_IsVRHeadsetStreamingEnabled(_ptr);
|
||||||
|
}
|
||||||
|
public virtual void /*void*/ ISteamUtils_SetVRHeadsetStreamingEnabled( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bEnabled )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" );
|
||||||
|
|
||||||
|
Native.SteamAPI_ISteamUtils_SetVRHeadsetStreamingEnabled(_ptr, bEnabled);
|
||||||
|
}
|
||||||
|
|
||||||
public virtual int /*int*/ ISteamMatchmaking_GetFavoriteGameCount()
|
public virtual int /*int*/ ISteamMatchmaking_GetFavoriteGameCount()
|
||||||
{
|
{
|
||||||
@ -3001,6 +3013,12 @@ public virtual IntPtr ISteamController_GetGlyphForActionOrigin( ControllerAction
|
|||||||
|
|
||||||
return Native.SteamAPI_ISteamUGC_SetReturnTotalOnly(_ptr, handle, bReturnTotalOnly);
|
return Native.SteamAPI_ISteamUGC_SetReturnTotalOnly(_ptr, handle, bReturnTotalOnly);
|
||||||
}
|
}
|
||||||
|
public virtual bool /*bool*/ ISteamUGC_SetReturnPlaytimeStats( ulong handle, uint /*uint32*/ unDays )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamUGC_SetReturnPlaytimeStats(_ptr, handle, unDays);
|
||||||
|
}
|
||||||
public virtual bool /*bool*/ ISteamUGC_SetLanguage( ulong handle, string /*const char **/ pchLanguage )
|
public virtual bool /*bool*/ ISteamUGC_SetLanguage( ulong handle, string /*const char **/ pchLanguage )
|
||||||
{
|
{
|
||||||
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" );
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" );
|
||||||
@ -3268,6 +3286,18 @@ public virtual IntPtr ISteamController_GetGlyphForActionOrigin( ControllerAction
|
|||||||
|
|
||||||
return Native.SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems(_ptr);
|
return Native.SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems(_ptr);
|
||||||
}
|
}
|
||||||
|
public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_AddDependency( ulong nParentPublishedFileID, ulong nChildPublishedFileID )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamUGC_AddDependency(_ptr, nParentPublishedFileID, nChildPublishedFileID);
|
||||||
|
}
|
||||||
|
public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_RemoveDependency( ulong nParentPublishedFileID, ulong nChildPublishedFileID )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamUGC_RemoveDependency(_ptr, nParentPublishedFileID, nChildPublishedFileID);
|
||||||
|
}
|
||||||
|
|
||||||
public virtual uint /*uint32*/ ISteamAppList_GetNumInstalledApps()
|
public virtual uint /*uint32*/ ISteamAppList_GetNumInstalledApps()
|
||||||
{
|
{
|
||||||
@ -3523,6 +3553,12 @@ public virtual IntPtr ISteamController_GetGlyphForActionOrigin( ControllerAction
|
|||||||
|
|
||||||
return Native.SteamAPI_ISteamInventory_GetResultItems(_ptr, resultHandle, pOutItemsArray, out punOutItemsArraySize);
|
return Native.SteamAPI_ISteamInventory_GetResultItems(_ptr, resultHandle, pOutItemsArray, out punOutItemsArraySize);
|
||||||
}
|
}
|
||||||
|
public virtual bool /*bool*/ ISteamInventory_GetResultItemProperty( int resultHandle, uint /*uint32*/ unItemIndex, string /*const char **/ pchPropertyName, System.Text.StringBuilder /*char **/ pchValueBuffer, out uint /*uint32 **/ punValueBufferSizeOut )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamInventory_GetResultItemProperty(_ptr, resultHandle, unItemIndex, pchPropertyName, pchValueBuffer, out punValueBufferSizeOut);
|
||||||
|
}
|
||||||
public virtual uint /*uint32*/ ISteamInventory_GetResultTimestamp( int resultHandle )
|
public virtual uint /*uint32*/ ISteamInventory_GetResultTimestamp( int resultHandle )
|
||||||
{
|
{
|
||||||
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" );
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" );
|
||||||
@ -3668,6 +3704,18 @@ public virtual IntPtr ISteamController_GetGlyphForActionOrigin( ControllerAction
|
|||||||
|
|
||||||
return Native.SteamAPI_ISteamVideo_IsBroadcasting(_ptr, pnNumViewers);
|
return Native.SteamAPI_ISteamVideo_IsBroadcasting(_ptr, pnNumViewers);
|
||||||
}
|
}
|
||||||
|
public virtual void /*void*/ ISteamVideo_GetOPFSettings( uint unVideoAppID )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamVideo _ptr is null!" );
|
||||||
|
|
||||||
|
Native.SteamAPI_ISteamVideo_GetOPFSettings(_ptr, unVideoAppID);
|
||||||
|
}
|
||||||
|
public virtual bool /*bool*/ ISteamVideo_GetOPFStringForApp( uint unVideoAppID, System.Text.StringBuilder /*char **/ pchBuffer, out int /*int32 **/ pnBufferSize )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamVideo _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamVideo_GetOPFStringForApp(_ptr, unVideoAppID, pchBuffer, out pnBufferSize);
|
||||||
|
}
|
||||||
|
|
||||||
public virtual bool /*bool*/ ISteamGameServer_InitGameServer( uint /*uint32*/ unIP, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, uint /*uint32*/ unFlags, uint nGameAppId, string /*const char **/ pchVersionString )
|
public virtual bool /*bool*/ ISteamGameServer_InitGameServer( uint /*uint32*/ unIP, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, uint /*uint32*/ unFlags, uint nGameAppId, string /*const char **/ pchVersionString )
|
||||||
{
|
{
|
||||||
@ -4106,8 +4154,8 @@ internal static unsafe class Native
|
|||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_GetUserDataFolder( IntPtr ISteamUser, System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_GetUserDataFolder( IntPtr ISteamUser, System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer );
|
||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StartVoiceRecording( IntPtr ISteamUser );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StartVoiceRecording( IntPtr ISteamUser );
|
||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StopVoiceRecording( IntPtr ISteamUser );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StopVoiceRecording( IntPtr ISteamUser );
|
||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetAvailableVoice( IntPtr ISteamUser, out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetAvailableVoice( IntPtr ISteamUser, out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed_Deprecated, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate_Deprecated );
|
||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetVoice( IntPtr ISteamUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed, IntPtr /*void **/ pUncompressedDestBuffer, uint /*uint32*/ cbUncompressedDestBufferSize, out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetVoice( IntPtr ISteamUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed_Deprecated, IntPtr /*void **/ pUncompressedDestBuffer_Deprecated, uint /*uint32*/ cbUncompressedDestBufferSize_Deprecated, out uint /*uint32 **/ nUncompressBytesWritten_Deprecated, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate_Deprecated );
|
||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_DecompressVoice( IntPtr ISteamUser, IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_DecompressVoice( IntPtr ISteamUser, IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate );
|
||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUser_GetVoiceOptimalSampleRate( IntPtr ISteamUser );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUser_GetVoiceOptimalSampleRate( IntPtr ISteamUser );
|
||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern HAuthTicket /*(HAuthTicket)*/ SteamAPI_ISteamUser_GetAuthSessionTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern HAuthTicket /*(HAuthTicket)*/ SteamAPI_ISteamUser_GetAuthSessionTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket );
|
||||||
@ -4231,6 +4279,8 @@ internal static unsafe class Native
|
|||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetOverlayNotificationInset( IntPtr ISteamUtils, int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetOverlayNotificationInset( IntPtr ISteamUtils, int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset );
|
||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsSteamInBigPictureMode( IntPtr ISteamUtils );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsSteamInBigPictureMode( IntPtr ISteamUtils );
|
||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_StartVRDashboard( IntPtr ISteamUtils );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_StartVRDashboard( IntPtr ISteamUtils );
|
||||||
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsVRHeadsetStreamingEnabled( IntPtr ISteamUtils );
|
||||||
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetVRHeadsetStreamingEnabled( IntPtr ISteamUtils, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bEnabled );
|
||||||
|
|
||||||
//
|
//
|
||||||
// ISteamMatchmaking
|
// ISteamMatchmaking
|
||||||
@ -4613,6 +4663,7 @@ internal static unsafe class Native
|
|||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnChildren( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnChildren( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren );
|
||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnAdditionalPreviews( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnAdditionalPreviews( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews );
|
||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnTotalOnly( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnTotalOnly( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly );
|
||||||
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnPlaytimeStats( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unDays );
|
||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage );
|
||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetAllowCachedResponse( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unMaxAgeSeconds );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetAllowCachedResponse( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unMaxAgeSeconds );
|
||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetCloudFileNameFilter( IntPtr ISteamUGC, ulong handle, string /*const char **/ pMatchCloudFileName );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetCloudFileNameFilter( IntPtr ISteamUGC, ulong handle, string /*const char **/ pMatchCloudFileName );
|
||||||
@ -4657,6 +4708,8 @@ internal static unsafe class Native
|
|||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StartPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StartPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
|
||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
|
||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems( IntPtr ISteamUGC );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems( IntPtr ISteamUGC );
|
||||||
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_AddDependency( IntPtr ISteamUGC, ulong nParentPublishedFileID, ulong nChildPublishedFileID );
|
||||||
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_RemoveDependency( IntPtr ISteamUGC, ulong nParentPublishedFileID, ulong nChildPublishedFileID );
|
||||||
|
|
||||||
//
|
//
|
||||||
// ISteamAppList
|
// ISteamAppList
|
||||||
@ -4711,6 +4764,7 @@ internal static unsafe class Native
|
|||||||
//
|
//
|
||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern Result /*EResult*/ SteamAPI_ISteamInventory_GetResultStatus( IntPtr ISteamInventory, int resultHandle );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern Result /*EResult*/ SteamAPI_ISteamInventory_GetResultStatus( IntPtr ISteamInventory, int resultHandle );
|
||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetResultItems( IntPtr ISteamInventory, int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetResultItems( IntPtr ISteamInventory, int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize );
|
||||||
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetResultItemProperty( IntPtr ISteamInventory, int resultHandle, uint /*uint32*/ unItemIndex, string /*const char **/ pchPropertyName, System.Text.StringBuilder /*char **/ pchValueBuffer, out uint /*uint32 **/ punValueBufferSizeOut );
|
||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamInventory_GetResultTimestamp( IntPtr ISteamInventory, int resultHandle );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamInventory_GetResultTimestamp( IntPtr ISteamInventory, int resultHandle );
|
||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_CheckResultSteamID( IntPtr ISteamInventory, int resultHandle, ulong steamIDExpected );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_CheckResultSteamID( IntPtr ISteamInventory, int resultHandle, ulong steamIDExpected );
|
||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamInventory_DestroyResult( IntPtr ISteamInventory, int resultHandle );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamInventory_DestroyResult( IntPtr ISteamInventory, int resultHandle );
|
||||||
@ -4739,6 +4793,8 @@ internal static unsafe class Native
|
|||||||
//
|
//
|
||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamVideo_GetVideoURL( IntPtr ISteamVideo, uint unVideoAppID );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamVideo_GetVideoURL( IntPtr ISteamVideo, uint unVideoAppID );
|
||||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamVideo_IsBroadcasting( IntPtr ISteamVideo, IntPtr /*int **/ pnNumViewers );
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamVideo_IsBroadcasting( IntPtr ISteamVideo, IntPtr /*int **/ pnNumViewers );
|
||||||
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamVideo_GetOPFSettings( IntPtr ISteamVideo, uint unVideoAppID );
|
||||||
|
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamVideo_GetOPFStringForApp( IntPtr ISteamVideo, uint unVideoAppID, System.Text.StringBuilder /*char **/ pchBuffer, out int /*int32 **/ pnBufferSize );
|
||||||
|
|
||||||
//
|
//
|
||||||
// ISteamGameServer
|
// ISteamGameServer
|
||||||
|
@ -273,17 +273,17 @@ public virtual void Dispose()
|
|||||||
|
|
||||||
Native.SteamAPI_ISteamUser_StopVoiceRecording(_ptr);
|
Native.SteamAPI_ISteamUser_StopVoiceRecording(_ptr);
|
||||||
}
|
}
|
||||||
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetAvailableVoice( out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate )
|
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetAvailableVoice( out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed_Deprecated, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate_Deprecated )
|
||||||
{
|
{
|
||||||
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" );
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" );
|
||||||
|
|
||||||
return Native.SteamAPI_ISteamUser_GetAvailableVoice(_ptr, out pcbCompressed, out pcbUncompressed, nUncompressedVoiceDesiredSampleRate);
|
return Native.SteamAPI_ISteamUser_GetAvailableVoice(_ptr, out pcbCompressed, out pcbUncompressed_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated);
|
||||||
}
|
}
|
||||||
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetVoice( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed, IntPtr /*void **/ pUncompressedDestBuffer, uint /*uint32*/ cbUncompressedDestBufferSize, out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate )
|
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetVoice( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed_Deprecated, IntPtr /*void **/ pUncompressedDestBuffer_Deprecated, uint /*uint32*/ cbUncompressedDestBufferSize_Deprecated, out uint /*uint32 **/ nUncompressBytesWritten_Deprecated, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate_Deprecated )
|
||||||
{
|
{
|
||||||
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" );
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" );
|
||||||
|
|
||||||
return Native.SteamAPI_ISteamUser_GetVoice(_ptr, bWantCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, out nUncompressBytesWritten, nUncompressedVoiceDesiredSampleRate);
|
return Native.SteamAPI_ISteamUser_GetVoice(_ptr, bWantCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, bWantUncompressed_Deprecated, pUncompressedDestBuffer_Deprecated, cbUncompressedDestBufferSize_Deprecated, out nUncompressBytesWritten_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated);
|
||||||
}
|
}
|
||||||
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_DecompressVoice( IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate )
|
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_DecompressVoice( IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate )
|
||||||
{
|
{
|
||||||
@ -980,6 +980,18 @@ public virtual IntPtr ISteamUtils_GetSteamUILanguage()
|
|||||||
|
|
||||||
Native.SteamAPI_ISteamUtils_StartVRDashboard(_ptr);
|
Native.SteamAPI_ISteamUtils_StartVRDashboard(_ptr);
|
||||||
}
|
}
|
||||||
|
public virtual bool /*bool*/ ISteamUtils_IsVRHeadsetStreamingEnabled()
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamUtils_IsVRHeadsetStreamingEnabled(_ptr);
|
||||||
|
}
|
||||||
|
public virtual void /*void*/ ISteamUtils_SetVRHeadsetStreamingEnabled( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bEnabled )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" );
|
||||||
|
|
||||||
|
Native.SteamAPI_ISteamUtils_SetVRHeadsetStreamingEnabled(_ptr, bEnabled);
|
||||||
|
}
|
||||||
|
|
||||||
public virtual int /*int*/ ISteamMatchmaking_GetFavoriteGameCount()
|
public virtual int /*int*/ ISteamMatchmaking_GetFavoriteGameCount()
|
||||||
{
|
{
|
||||||
@ -3001,6 +3013,12 @@ public virtual IntPtr ISteamController_GetGlyphForActionOrigin( ControllerAction
|
|||||||
|
|
||||||
return Native.SteamAPI_ISteamUGC_SetReturnTotalOnly(_ptr, handle, bReturnTotalOnly);
|
return Native.SteamAPI_ISteamUGC_SetReturnTotalOnly(_ptr, handle, bReturnTotalOnly);
|
||||||
}
|
}
|
||||||
|
public virtual bool /*bool*/ ISteamUGC_SetReturnPlaytimeStats( ulong handle, uint /*uint32*/ unDays )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamUGC_SetReturnPlaytimeStats(_ptr, handle, unDays);
|
||||||
|
}
|
||||||
public virtual bool /*bool*/ ISteamUGC_SetLanguage( ulong handle, string /*const char **/ pchLanguage )
|
public virtual bool /*bool*/ ISteamUGC_SetLanguage( ulong handle, string /*const char **/ pchLanguage )
|
||||||
{
|
{
|
||||||
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" );
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" );
|
||||||
@ -3268,6 +3286,18 @@ public virtual IntPtr ISteamController_GetGlyphForActionOrigin( ControllerAction
|
|||||||
|
|
||||||
return Native.SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems(_ptr);
|
return Native.SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems(_ptr);
|
||||||
}
|
}
|
||||||
|
public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_AddDependency( ulong nParentPublishedFileID, ulong nChildPublishedFileID )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamUGC_AddDependency(_ptr, nParentPublishedFileID, nChildPublishedFileID);
|
||||||
|
}
|
||||||
|
public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_RemoveDependency( ulong nParentPublishedFileID, ulong nChildPublishedFileID )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamUGC_RemoveDependency(_ptr, nParentPublishedFileID, nChildPublishedFileID);
|
||||||
|
}
|
||||||
|
|
||||||
public virtual uint /*uint32*/ ISteamAppList_GetNumInstalledApps()
|
public virtual uint /*uint32*/ ISteamAppList_GetNumInstalledApps()
|
||||||
{
|
{
|
||||||
@ -3523,6 +3553,12 @@ public virtual IntPtr ISteamController_GetGlyphForActionOrigin( ControllerAction
|
|||||||
|
|
||||||
return Native.SteamAPI_ISteamInventory_GetResultItems(_ptr, resultHandle, pOutItemsArray, out punOutItemsArraySize);
|
return Native.SteamAPI_ISteamInventory_GetResultItems(_ptr, resultHandle, pOutItemsArray, out punOutItemsArraySize);
|
||||||
}
|
}
|
||||||
|
public virtual bool /*bool*/ ISteamInventory_GetResultItemProperty( int resultHandle, uint /*uint32*/ unItemIndex, string /*const char **/ pchPropertyName, System.Text.StringBuilder /*char **/ pchValueBuffer, out uint /*uint32 **/ punValueBufferSizeOut )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamInventory_GetResultItemProperty(_ptr, resultHandle, unItemIndex, pchPropertyName, pchValueBuffer, out punValueBufferSizeOut);
|
||||||
|
}
|
||||||
public virtual uint /*uint32*/ ISteamInventory_GetResultTimestamp( int resultHandle )
|
public virtual uint /*uint32*/ ISteamInventory_GetResultTimestamp( int resultHandle )
|
||||||
{
|
{
|
||||||
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" );
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" );
|
||||||
@ -3668,6 +3704,18 @@ public virtual IntPtr ISteamController_GetGlyphForActionOrigin( ControllerAction
|
|||||||
|
|
||||||
return Native.SteamAPI_ISteamVideo_IsBroadcasting(_ptr, pnNumViewers);
|
return Native.SteamAPI_ISteamVideo_IsBroadcasting(_ptr, pnNumViewers);
|
||||||
}
|
}
|
||||||
|
public virtual void /*void*/ ISteamVideo_GetOPFSettings( uint unVideoAppID )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamVideo _ptr is null!" );
|
||||||
|
|
||||||
|
Native.SteamAPI_ISteamVideo_GetOPFSettings(_ptr, unVideoAppID);
|
||||||
|
}
|
||||||
|
public virtual bool /*bool*/ ISteamVideo_GetOPFStringForApp( uint unVideoAppID, System.Text.StringBuilder /*char **/ pchBuffer, out int /*int32 **/ pnBufferSize )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamVideo _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamVideo_GetOPFStringForApp(_ptr, unVideoAppID, pchBuffer, out pnBufferSize);
|
||||||
|
}
|
||||||
|
|
||||||
public virtual bool /*bool*/ ISteamGameServer_InitGameServer( uint /*uint32*/ unIP, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, uint /*uint32*/ unFlags, uint nGameAppId, string /*const char **/ pchVersionString )
|
public virtual bool /*bool*/ ISteamGameServer_InitGameServer( uint /*uint32*/ unIP, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, uint /*uint32*/ unFlags, uint nGameAppId, string /*const char **/ pchVersionString )
|
||||||
{
|
{
|
||||||
@ -4106,8 +4154,8 @@ internal static unsafe class Native
|
|||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_GetUserDataFolder( IntPtr ISteamUser, System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_GetUserDataFolder( IntPtr ISteamUser, System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer );
|
||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StartVoiceRecording( IntPtr ISteamUser );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StartVoiceRecording( IntPtr ISteamUser );
|
||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StopVoiceRecording( IntPtr ISteamUser );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StopVoiceRecording( IntPtr ISteamUser );
|
||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetAvailableVoice( IntPtr ISteamUser, out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetAvailableVoice( IntPtr ISteamUser, out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed_Deprecated, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate_Deprecated );
|
||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetVoice( IntPtr ISteamUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed, IntPtr /*void **/ pUncompressedDestBuffer, uint /*uint32*/ cbUncompressedDestBufferSize, out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetVoice( IntPtr ISteamUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed_Deprecated, IntPtr /*void **/ pUncompressedDestBuffer_Deprecated, uint /*uint32*/ cbUncompressedDestBufferSize_Deprecated, out uint /*uint32 **/ nUncompressBytesWritten_Deprecated, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate_Deprecated );
|
||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_DecompressVoice( IntPtr ISteamUser, IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_DecompressVoice( IntPtr ISteamUser, IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate );
|
||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUser_GetVoiceOptimalSampleRate( IntPtr ISteamUser );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUser_GetVoiceOptimalSampleRate( IntPtr ISteamUser );
|
||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern HAuthTicket /*(HAuthTicket)*/ SteamAPI_ISteamUser_GetAuthSessionTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern HAuthTicket /*(HAuthTicket)*/ SteamAPI_ISteamUser_GetAuthSessionTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket );
|
||||||
@ -4231,6 +4279,8 @@ internal static unsafe class Native
|
|||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetOverlayNotificationInset( IntPtr ISteamUtils, int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetOverlayNotificationInset( IntPtr ISteamUtils, int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset );
|
||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsSteamInBigPictureMode( IntPtr ISteamUtils );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsSteamInBigPictureMode( IntPtr ISteamUtils );
|
||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_StartVRDashboard( IntPtr ISteamUtils );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_StartVRDashboard( IntPtr ISteamUtils );
|
||||||
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsVRHeadsetStreamingEnabled( IntPtr ISteamUtils );
|
||||||
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetVRHeadsetStreamingEnabled( IntPtr ISteamUtils, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bEnabled );
|
||||||
|
|
||||||
//
|
//
|
||||||
// ISteamMatchmaking
|
// ISteamMatchmaking
|
||||||
@ -4613,6 +4663,7 @@ internal static unsafe class Native
|
|||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnChildren( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnChildren( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren );
|
||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnAdditionalPreviews( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnAdditionalPreviews( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews );
|
||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnTotalOnly( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnTotalOnly( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly );
|
||||||
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnPlaytimeStats( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unDays );
|
||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage );
|
||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetAllowCachedResponse( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unMaxAgeSeconds );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetAllowCachedResponse( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unMaxAgeSeconds );
|
||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetCloudFileNameFilter( IntPtr ISteamUGC, ulong handle, string /*const char **/ pMatchCloudFileName );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetCloudFileNameFilter( IntPtr ISteamUGC, ulong handle, string /*const char **/ pMatchCloudFileName );
|
||||||
@ -4657,6 +4708,8 @@ internal static unsafe class Native
|
|||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StartPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StartPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
|
||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
|
||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems( IntPtr ISteamUGC );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems( IntPtr ISteamUGC );
|
||||||
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_AddDependency( IntPtr ISteamUGC, ulong nParentPublishedFileID, ulong nChildPublishedFileID );
|
||||||
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_RemoveDependency( IntPtr ISteamUGC, ulong nParentPublishedFileID, ulong nChildPublishedFileID );
|
||||||
|
|
||||||
//
|
//
|
||||||
// ISteamAppList
|
// ISteamAppList
|
||||||
@ -4711,6 +4764,7 @@ internal static unsafe class Native
|
|||||||
//
|
//
|
||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern Result /*EResult*/ SteamAPI_ISteamInventory_GetResultStatus( IntPtr ISteamInventory, int resultHandle );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern Result /*EResult*/ SteamAPI_ISteamInventory_GetResultStatus( IntPtr ISteamInventory, int resultHandle );
|
||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetResultItems( IntPtr ISteamInventory, int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetResultItems( IntPtr ISteamInventory, int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize );
|
||||||
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetResultItemProperty( IntPtr ISteamInventory, int resultHandle, uint /*uint32*/ unItemIndex, string /*const char **/ pchPropertyName, System.Text.StringBuilder /*char **/ pchValueBuffer, out uint /*uint32 **/ punValueBufferSizeOut );
|
||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern uint /*uint32*/ SteamAPI_ISteamInventory_GetResultTimestamp( IntPtr ISteamInventory, int resultHandle );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern uint /*uint32*/ SteamAPI_ISteamInventory_GetResultTimestamp( IntPtr ISteamInventory, int resultHandle );
|
||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_CheckResultSteamID( IntPtr ISteamInventory, int resultHandle, ulong steamIDExpected );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_CheckResultSteamID( IntPtr ISteamInventory, int resultHandle, ulong steamIDExpected );
|
||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamInventory_DestroyResult( IntPtr ISteamInventory, int resultHandle );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamInventory_DestroyResult( IntPtr ISteamInventory, int resultHandle );
|
||||||
@ -4739,6 +4793,8 @@ internal static unsafe class Native
|
|||||||
//
|
//
|
||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamVideo_GetVideoURL( IntPtr ISteamVideo, uint unVideoAppID );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamVideo_GetVideoURL( IntPtr ISteamVideo, uint unVideoAppID );
|
||||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamVideo_IsBroadcasting( IntPtr ISteamVideo, IntPtr /*int **/ pnNumViewers );
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamVideo_IsBroadcasting( IntPtr ISteamVideo, IntPtr /*int **/ pnNumViewers );
|
||||||
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamVideo_GetOPFSettings( IntPtr ISteamVideo, uint unVideoAppID );
|
||||||
|
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamVideo_GetOPFStringForApp( IntPtr ISteamVideo, uint unVideoAppID, System.Text.StringBuilder /*char **/ pchBuffer, out int /*int32 **/ pnBufferSize );
|
||||||
|
|
||||||
//
|
//
|
||||||
// ISteamGameServer
|
// ISteamGameServer
|
||||||
|
@ -273,17 +273,17 @@ public virtual void Dispose()
|
|||||||
|
|
||||||
Native.SteamAPI_ISteamUser_StopVoiceRecording(_ptr);
|
Native.SteamAPI_ISteamUser_StopVoiceRecording(_ptr);
|
||||||
}
|
}
|
||||||
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetAvailableVoice( out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate )
|
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetAvailableVoice( out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed_Deprecated, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate_Deprecated )
|
||||||
{
|
{
|
||||||
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" );
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" );
|
||||||
|
|
||||||
return Native.SteamAPI_ISteamUser_GetAvailableVoice(_ptr, out pcbCompressed, out pcbUncompressed, nUncompressedVoiceDesiredSampleRate);
|
return Native.SteamAPI_ISteamUser_GetAvailableVoice(_ptr, out pcbCompressed, out pcbUncompressed_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated);
|
||||||
}
|
}
|
||||||
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetVoice( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed, IntPtr /*void **/ pUncompressedDestBuffer, uint /*uint32*/ cbUncompressedDestBufferSize, out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate )
|
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetVoice( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed_Deprecated, IntPtr /*void **/ pUncompressedDestBuffer_Deprecated, uint /*uint32*/ cbUncompressedDestBufferSize_Deprecated, out uint /*uint32 **/ nUncompressBytesWritten_Deprecated, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate_Deprecated )
|
||||||
{
|
{
|
||||||
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" );
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" );
|
||||||
|
|
||||||
return Native.SteamAPI_ISteamUser_GetVoice(_ptr, bWantCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, out nUncompressBytesWritten, nUncompressedVoiceDesiredSampleRate);
|
return Native.SteamAPI_ISteamUser_GetVoice(_ptr, bWantCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, bWantUncompressed_Deprecated, pUncompressedDestBuffer_Deprecated, cbUncompressedDestBufferSize_Deprecated, out nUncompressBytesWritten_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated);
|
||||||
}
|
}
|
||||||
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_DecompressVoice( IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate )
|
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_DecompressVoice( IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate )
|
||||||
{
|
{
|
||||||
@ -977,6 +977,18 @@ public virtual IntPtr ISteamUtils_GetSteamUILanguage()
|
|||||||
|
|
||||||
Native.SteamAPI_ISteamUtils_StartVRDashboard(_ptr);
|
Native.SteamAPI_ISteamUtils_StartVRDashboard(_ptr);
|
||||||
}
|
}
|
||||||
|
public virtual bool /*bool*/ ISteamUtils_IsVRHeadsetStreamingEnabled()
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamUtils_IsVRHeadsetStreamingEnabled(_ptr);
|
||||||
|
}
|
||||||
|
public virtual void /*void*/ ISteamUtils_SetVRHeadsetStreamingEnabled( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bEnabled )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" );
|
||||||
|
|
||||||
|
Native.SteamAPI_ISteamUtils_SetVRHeadsetStreamingEnabled(_ptr, bEnabled);
|
||||||
|
}
|
||||||
|
|
||||||
public virtual int /*int*/ ISteamMatchmaking_GetFavoriteGameCount()
|
public virtual int /*int*/ ISteamMatchmaking_GetFavoriteGameCount()
|
||||||
{
|
{
|
||||||
@ -2970,6 +2982,12 @@ public virtual IntPtr ISteamController_GetGlyphForActionOrigin( ControllerAction
|
|||||||
|
|
||||||
return Native.SteamAPI_ISteamUGC_SetReturnTotalOnly(_ptr, handle, bReturnTotalOnly);
|
return Native.SteamAPI_ISteamUGC_SetReturnTotalOnly(_ptr, handle, bReturnTotalOnly);
|
||||||
}
|
}
|
||||||
|
public virtual bool /*bool*/ ISteamUGC_SetReturnPlaytimeStats( ulong handle, uint /*uint32*/ unDays )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamUGC_SetReturnPlaytimeStats(_ptr, handle, unDays);
|
||||||
|
}
|
||||||
public virtual bool /*bool*/ ISteamUGC_SetLanguage( ulong handle, string /*const char **/ pchLanguage )
|
public virtual bool /*bool*/ ISteamUGC_SetLanguage( ulong handle, string /*const char **/ pchLanguage )
|
||||||
{
|
{
|
||||||
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" );
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" );
|
||||||
@ -3234,6 +3252,18 @@ public virtual IntPtr ISteamController_GetGlyphForActionOrigin( ControllerAction
|
|||||||
|
|
||||||
return Native.SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems(_ptr);
|
return Native.SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems(_ptr);
|
||||||
}
|
}
|
||||||
|
public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_AddDependency( ulong nParentPublishedFileID, ulong nChildPublishedFileID )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamUGC_AddDependency(_ptr, nParentPublishedFileID, nChildPublishedFileID);
|
||||||
|
}
|
||||||
|
public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_RemoveDependency( ulong nParentPublishedFileID, ulong nChildPublishedFileID )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamUGC_RemoveDependency(_ptr, nParentPublishedFileID, nChildPublishedFileID);
|
||||||
|
}
|
||||||
|
|
||||||
public virtual uint /*uint32*/ ISteamAppList_GetNumInstalledApps()
|
public virtual uint /*uint32*/ ISteamAppList_GetNumInstalledApps()
|
||||||
{
|
{
|
||||||
@ -3489,6 +3519,12 @@ public virtual IntPtr ISteamController_GetGlyphForActionOrigin( ControllerAction
|
|||||||
|
|
||||||
return Native.SteamAPI_ISteamInventory_GetResultItems(_ptr, resultHandle, pOutItemsArray, out punOutItemsArraySize);
|
return Native.SteamAPI_ISteamInventory_GetResultItems(_ptr, resultHandle, pOutItemsArray, out punOutItemsArraySize);
|
||||||
}
|
}
|
||||||
|
public virtual bool /*bool*/ ISteamInventory_GetResultItemProperty( int resultHandle, uint /*uint32*/ unItemIndex, string /*const char **/ pchPropertyName, System.Text.StringBuilder /*char **/ pchValueBuffer, out uint /*uint32 **/ punValueBufferSizeOut )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamInventory_GetResultItemProperty(_ptr, resultHandle, unItemIndex, pchPropertyName, pchValueBuffer, out punValueBufferSizeOut);
|
||||||
|
}
|
||||||
public virtual uint /*uint32*/ ISteamInventory_GetResultTimestamp( int resultHandle )
|
public virtual uint /*uint32*/ ISteamInventory_GetResultTimestamp( int resultHandle )
|
||||||
{
|
{
|
||||||
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" );
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" );
|
||||||
@ -3634,6 +3670,18 @@ public virtual IntPtr ISteamController_GetGlyphForActionOrigin( ControllerAction
|
|||||||
|
|
||||||
return Native.SteamAPI_ISteamVideo_IsBroadcasting(_ptr, pnNumViewers);
|
return Native.SteamAPI_ISteamVideo_IsBroadcasting(_ptr, pnNumViewers);
|
||||||
}
|
}
|
||||||
|
public virtual void /*void*/ ISteamVideo_GetOPFSettings( uint unVideoAppID )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamVideo _ptr is null!" );
|
||||||
|
|
||||||
|
Native.SteamAPI_ISteamVideo_GetOPFSettings(_ptr, unVideoAppID);
|
||||||
|
}
|
||||||
|
public virtual bool /*bool*/ ISteamVideo_GetOPFStringForApp( uint unVideoAppID, System.Text.StringBuilder /*char **/ pchBuffer, out int /*int32 **/ pnBufferSize )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamVideo _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamVideo_GetOPFStringForApp(_ptr, unVideoAppID, pchBuffer, out pnBufferSize);
|
||||||
|
}
|
||||||
|
|
||||||
public virtual bool /*bool*/ ISteamGameServer_InitGameServer( uint /*uint32*/ unIP, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, uint /*uint32*/ unFlags, uint nGameAppId, string /*const char **/ pchVersionString )
|
public virtual bool /*bool*/ ISteamGameServer_InitGameServer( uint /*uint32*/ unIP, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, uint /*uint32*/ unFlags, uint nGameAppId, string /*const char **/ pchVersionString )
|
||||||
{
|
{
|
||||||
@ -4072,8 +4120,8 @@ internal static unsafe class Native
|
|||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_GetUserDataFolder( IntPtr ISteamUser, System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_GetUserDataFolder( IntPtr ISteamUser, System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer );
|
||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StartVoiceRecording( IntPtr ISteamUser );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StartVoiceRecording( IntPtr ISteamUser );
|
||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StopVoiceRecording( IntPtr ISteamUser );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StopVoiceRecording( IntPtr ISteamUser );
|
||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetAvailableVoice( IntPtr ISteamUser, out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetAvailableVoice( IntPtr ISteamUser, out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed_Deprecated, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate_Deprecated );
|
||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetVoice( IntPtr ISteamUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed, IntPtr /*void **/ pUncompressedDestBuffer, uint /*uint32*/ cbUncompressedDestBufferSize, out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetVoice( IntPtr ISteamUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed_Deprecated, IntPtr /*void **/ pUncompressedDestBuffer_Deprecated, uint /*uint32*/ cbUncompressedDestBufferSize_Deprecated, out uint /*uint32 **/ nUncompressBytesWritten_Deprecated, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate_Deprecated );
|
||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_DecompressVoice( IntPtr ISteamUser, IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_DecompressVoice( IntPtr ISteamUser, IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate );
|
||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUser_GetVoiceOptimalSampleRate( IntPtr ISteamUser );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUser_GetVoiceOptimalSampleRate( IntPtr ISteamUser );
|
||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern HAuthTicket /*(HAuthTicket)*/ SteamAPI_ISteamUser_GetAuthSessionTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern HAuthTicket /*(HAuthTicket)*/ SteamAPI_ISteamUser_GetAuthSessionTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket );
|
||||||
@ -4197,6 +4245,8 @@ internal static unsafe class Native
|
|||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetOverlayNotificationInset( IntPtr ISteamUtils, int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetOverlayNotificationInset( IntPtr ISteamUtils, int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset );
|
||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsSteamInBigPictureMode( IntPtr ISteamUtils );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsSteamInBigPictureMode( IntPtr ISteamUtils );
|
||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_StartVRDashboard( IntPtr ISteamUtils );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_StartVRDashboard( IntPtr ISteamUtils );
|
||||||
|
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsVRHeadsetStreamingEnabled( IntPtr ISteamUtils );
|
||||||
|
[DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetVRHeadsetStreamingEnabled( IntPtr ISteamUtils, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bEnabled );
|
||||||
|
|
||||||
//
|
//
|
||||||
// ISteamMatchmaking
|
// ISteamMatchmaking
|
||||||
@ -4579,6 +4629,7 @@ internal static unsafe class Native
|
|||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnChildren( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnChildren( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren );
|
||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnAdditionalPreviews( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnAdditionalPreviews( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews );
|
||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnTotalOnly( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnTotalOnly( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly );
|
||||||
|
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnPlaytimeStats( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unDays );
|
||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage );
|
||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetAllowCachedResponse( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unMaxAgeSeconds );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetAllowCachedResponse( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unMaxAgeSeconds );
|
||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetCloudFileNameFilter( IntPtr ISteamUGC, ulong handle, string /*const char **/ pMatchCloudFileName );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetCloudFileNameFilter( IntPtr ISteamUGC, ulong handle, string /*const char **/ pMatchCloudFileName );
|
||||||
@ -4623,6 +4674,8 @@ internal static unsafe class Native
|
|||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StartPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StartPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
|
||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
|
||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems( IntPtr ISteamUGC );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems( IntPtr ISteamUGC );
|
||||||
|
[DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_AddDependency( IntPtr ISteamUGC, ulong nParentPublishedFileID, ulong nChildPublishedFileID );
|
||||||
|
[DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_RemoveDependency( IntPtr ISteamUGC, ulong nParentPublishedFileID, ulong nChildPublishedFileID );
|
||||||
|
|
||||||
//
|
//
|
||||||
// ISteamAppList
|
// ISteamAppList
|
||||||
@ -4677,6 +4730,7 @@ internal static unsafe class Native
|
|||||||
//
|
//
|
||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern Result /*EResult*/ SteamAPI_ISteamInventory_GetResultStatus( IntPtr ISteamInventory, int resultHandle );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern Result /*EResult*/ SteamAPI_ISteamInventory_GetResultStatus( IntPtr ISteamInventory, int resultHandle );
|
||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetResultItems( IntPtr ISteamInventory, int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetResultItems( IntPtr ISteamInventory, int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize );
|
||||||
|
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetResultItemProperty( IntPtr ISteamInventory, int resultHandle, uint /*uint32*/ unItemIndex, string /*const char **/ pchPropertyName, System.Text.StringBuilder /*char **/ pchValueBuffer, out uint /*uint32 **/ punValueBufferSizeOut );
|
||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamInventory_GetResultTimestamp( IntPtr ISteamInventory, int resultHandle );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamInventory_GetResultTimestamp( IntPtr ISteamInventory, int resultHandle );
|
||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_CheckResultSteamID( IntPtr ISteamInventory, int resultHandle, ulong steamIDExpected );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_CheckResultSteamID( IntPtr ISteamInventory, int resultHandle, ulong steamIDExpected );
|
||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamInventory_DestroyResult( IntPtr ISteamInventory, int resultHandle );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamInventory_DestroyResult( IntPtr ISteamInventory, int resultHandle );
|
||||||
@ -4705,6 +4759,8 @@ internal static unsafe class Native
|
|||||||
//
|
//
|
||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamVideo_GetVideoURL( IntPtr ISteamVideo, uint unVideoAppID );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamVideo_GetVideoURL( IntPtr ISteamVideo, uint unVideoAppID );
|
||||||
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamVideo_IsBroadcasting( IntPtr ISteamVideo, IntPtr /*int **/ pnNumViewers );
|
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamVideo_IsBroadcasting( IntPtr ISteamVideo, IntPtr /*int **/ pnNumViewers );
|
||||||
|
[DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamVideo_GetOPFSettings( IntPtr ISteamVideo, uint unVideoAppID );
|
||||||
|
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamVideo_GetOPFStringForApp( IntPtr ISteamVideo, uint unVideoAppID, System.Text.StringBuilder /*char **/ pchBuffer, out int /*int32 **/ pnBufferSize );
|
||||||
|
|
||||||
//
|
//
|
||||||
// ISteamGameServer
|
// ISteamGameServer
|
||||||
|
@ -273,17 +273,17 @@ public virtual void Dispose()
|
|||||||
|
|
||||||
Native.SteamAPI_ISteamUser_StopVoiceRecording(_ptr);
|
Native.SteamAPI_ISteamUser_StopVoiceRecording(_ptr);
|
||||||
}
|
}
|
||||||
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetAvailableVoice( out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate )
|
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetAvailableVoice( out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed_Deprecated, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate_Deprecated )
|
||||||
{
|
{
|
||||||
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" );
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" );
|
||||||
|
|
||||||
return Native.SteamAPI_ISteamUser_GetAvailableVoice(_ptr, out pcbCompressed, out pcbUncompressed, nUncompressedVoiceDesiredSampleRate);
|
return Native.SteamAPI_ISteamUser_GetAvailableVoice(_ptr, out pcbCompressed, out pcbUncompressed_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated);
|
||||||
}
|
}
|
||||||
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetVoice( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed, IntPtr /*void **/ pUncompressedDestBuffer, uint /*uint32*/ cbUncompressedDestBufferSize, out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate )
|
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetVoice( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed_Deprecated, IntPtr /*void **/ pUncompressedDestBuffer_Deprecated, uint /*uint32*/ cbUncompressedDestBufferSize_Deprecated, out uint /*uint32 **/ nUncompressBytesWritten_Deprecated, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate_Deprecated )
|
||||||
{
|
{
|
||||||
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" );
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" );
|
||||||
|
|
||||||
return Native.SteamAPI_ISteamUser_GetVoice(_ptr, bWantCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, out nUncompressBytesWritten, nUncompressedVoiceDesiredSampleRate);
|
return Native.SteamAPI_ISteamUser_GetVoice(_ptr, bWantCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, bWantUncompressed_Deprecated, pUncompressedDestBuffer_Deprecated, cbUncompressedDestBufferSize_Deprecated, out nUncompressBytesWritten_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated);
|
||||||
}
|
}
|
||||||
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_DecompressVoice( IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate )
|
public virtual VoiceResult /*EVoiceResult*/ ISteamUser_DecompressVoice( IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate )
|
||||||
{
|
{
|
||||||
@ -977,6 +977,18 @@ public virtual IntPtr ISteamUtils_GetSteamUILanguage()
|
|||||||
|
|
||||||
Native.SteamAPI_ISteamUtils_StartVRDashboard(_ptr);
|
Native.SteamAPI_ISteamUtils_StartVRDashboard(_ptr);
|
||||||
}
|
}
|
||||||
|
public virtual bool /*bool*/ ISteamUtils_IsVRHeadsetStreamingEnabled()
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamUtils_IsVRHeadsetStreamingEnabled(_ptr);
|
||||||
|
}
|
||||||
|
public virtual void /*void*/ ISteamUtils_SetVRHeadsetStreamingEnabled( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bEnabled )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" );
|
||||||
|
|
||||||
|
Native.SteamAPI_ISteamUtils_SetVRHeadsetStreamingEnabled(_ptr, bEnabled);
|
||||||
|
}
|
||||||
|
|
||||||
public virtual int /*int*/ ISteamMatchmaking_GetFavoriteGameCount()
|
public virtual int /*int*/ ISteamMatchmaking_GetFavoriteGameCount()
|
||||||
{
|
{
|
||||||
@ -2970,6 +2982,12 @@ public virtual IntPtr ISteamController_GetGlyphForActionOrigin( ControllerAction
|
|||||||
|
|
||||||
return Native.SteamAPI_ISteamUGC_SetReturnTotalOnly(_ptr, handle, bReturnTotalOnly);
|
return Native.SteamAPI_ISteamUGC_SetReturnTotalOnly(_ptr, handle, bReturnTotalOnly);
|
||||||
}
|
}
|
||||||
|
public virtual bool /*bool*/ ISteamUGC_SetReturnPlaytimeStats( ulong handle, uint /*uint32*/ unDays )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamUGC_SetReturnPlaytimeStats(_ptr, handle, unDays);
|
||||||
|
}
|
||||||
public virtual bool /*bool*/ ISteamUGC_SetLanguage( ulong handle, string /*const char **/ pchLanguage )
|
public virtual bool /*bool*/ ISteamUGC_SetLanguage( ulong handle, string /*const char **/ pchLanguage )
|
||||||
{
|
{
|
||||||
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" );
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" );
|
||||||
@ -3234,6 +3252,18 @@ public virtual IntPtr ISteamController_GetGlyphForActionOrigin( ControllerAction
|
|||||||
|
|
||||||
return Native.SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems(_ptr);
|
return Native.SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems(_ptr);
|
||||||
}
|
}
|
||||||
|
public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_AddDependency( ulong nParentPublishedFileID, ulong nChildPublishedFileID )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamUGC_AddDependency(_ptr, nParentPublishedFileID, nChildPublishedFileID);
|
||||||
|
}
|
||||||
|
public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_RemoveDependency( ulong nParentPublishedFileID, ulong nChildPublishedFileID )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamUGC_RemoveDependency(_ptr, nParentPublishedFileID, nChildPublishedFileID);
|
||||||
|
}
|
||||||
|
|
||||||
public virtual uint /*uint32*/ ISteamAppList_GetNumInstalledApps()
|
public virtual uint /*uint32*/ ISteamAppList_GetNumInstalledApps()
|
||||||
{
|
{
|
||||||
@ -3489,6 +3519,12 @@ public virtual IntPtr ISteamController_GetGlyphForActionOrigin( ControllerAction
|
|||||||
|
|
||||||
return Native.SteamAPI_ISteamInventory_GetResultItems(_ptr, resultHandle, pOutItemsArray, out punOutItemsArraySize);
|
return Native.SteamAPI_ISteamInventory_GetResultItems(_ptr, resultHandle, pOutItemsArray, out punOutItemsArraySize);
|
||||||
}
|
}
|
||||||
|
public virtual bool /*bool*/ ISteamInventory_GetResultItemProperty( int resultHandle, uint /*uint32*/ unItemIndex, string /*const char **/ pchPropertyName, System.Text.StringBuilder /*char **/ pchValueBuffer, out uint /*uint32 **/ punValueBufferSizeOut )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamInventory_GetResultItemProperty(_ptr, resultHandle, unItemIndex, pchPropertyName, pchValueBuffer, out punValueBufferSizeOut);
|
||||||
|
}
|
||||||
public virtual uint /*uint32*/ ISteamInventory_GetResultTimestamp( int resultHandle )
|
public virtual uint /*uint32*/ ISteamInventory_GetResultTimestamp( int resultHandle )
|
||||||
{
|
{
|
||||||
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" );
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" );
|
||||||
@ -3634,6 +3670,18 @@ public virtual IntPtr ISteamController_GetGlyphForActionOrigin( ControllerAction
|
|||||||
|
|
||||||
return Native.SteamAPI_ISteamVideo_IsBroadcasting(_ptr, pnNumViewers);
|
return Native.SteamAPI_ISteamVideo_IsBroadcasting(_ptr, pnNumViewers);
|
||||||
}
|
}
|
||||||
|
public virtual void /*void*/ ISteamVideo_GetOPFSettings( uint unVideoAppID )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamVideo _ptr is null!" );
|
||||||
|
|
||||||
|
Native.SteamAPI_ISteamVideo_GetOPFSettings(_ptr, unVideoAppID);
|
||||||
|
}
|
||||||
|
public virtual bool /*bool*/ ISteamVideo_GetOPFStringForApp( uint unVideoAppID, System.Text.StringBuilder /*char **/ pchBuffer, out int /*int32 **/ pnBufferSize )
|
||||||
|
{
|
||||||
|
if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamVideo _ptr is null!" );
|
||||||
|
|
||||||
|
return Native.SteamAPI_ISteamVideo_GetOPFStringForApp(_ptr, unVideoAppID, pchBuffer, out pnBufferSize);
|
||||||
|
}
|
||||||
|
|
||||||
public virtual bool /*bool*/ ISteamGameServer_InitGameServer( uint /*uint32*/ unIP, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, uint /*uint32*/ unFlags, uint nGameAppId, string /*const char **/ pchVersionString )
|
public virtual bool /*bool*/ ISteamGameServer_InitGameServer( uint /*uint32*/ unIP, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, uint /*uint32*/ unFlags, uint nGameAppId, string /*const char **/ pchVersionString )
|
||||||
{
|
{
|
||||||
@ -4072,8 +4120,8 @@ internal static unsafe class Native
|
|||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_GetUserDataFolder( IntPtr ISteamUser, System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_GetUserDataFolder( IntPtr ISteamUser, System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer );
|
||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StartVoiceRecording( IntPtr ISteamUser );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StartVoiceRecording( IntPtr ISteamUser );
|
||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StopVoiceRecording( IntPtr ISteamUser );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StopVoiceRecording( IntPtr ISteamUser );
|
||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetAvailableVoice( IntPtr ISteamUser, out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetAvailableVoice( IntPtr ISteamUser, out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed_Deprecated, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate_Deprecated );
|
||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetVoice( IntPtr ISteamUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed, IntPtr /*void **/ pUncompressedDestBuffer, uint /*uint32*/ cbUncompressedDestBufferSize, out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetVoice( IntPtr ISteamUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed_Deprecated, IntPtr /*void **/ pUncompressedDestBuffer_Deprecated, uint /*uint32*/ cbUncompressedDestBufferSize_Deprecated, out uint /*uint32 **/ nUncompressBytesWritten_Deprecated, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate_Deprecated );
|
||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_DecompressVoice( IntPtr ISteamUser, IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_DecompressVoice( IntPtr ISteamUser, IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate );
|
||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUser_GetVoiceOptimalSampleRate( IntPtr ISteamUser );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUser_GetVoiceOptimalSampleRate( IntPtr ISteamUser );
|
||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern HAuthTicket /*(HAuthTicket)*/ SteamAPI_ISteamUser_GetAuthSessionTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern HAuthTicket /*(HAuthTicket)*/ SteamAPI_ISteamUser_GetAuthSessionTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket );
|
||||||
@ -4197,6 +4245,8 @@ internal static unsafe class Native
|
|||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetOverlayNotificationInset( IntPtr ISteamUtils, int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetOverlayNotificationInset( IntPtr ISteamUtils, int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset );
|
||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsSteamInBigPictureMode( IntPtr ISteamUtils );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsSteamInBigPictureMode( IntPtr ISteamUtils );
|
||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_StartVRDashboard( IntPtr ISteamUtils );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_StartVRDashboard( IntPtr ISteamUtils );
|
||||||
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsVRHeadsetStreamingEnabled( IntPtr ISteamUtils );
|
||||||
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetVRHeadsetStreamingEnabled( IntPtr ISteamUtils, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bEnabled );
|
||||||
|
|
||||||
//
|
//
|
||||||
// ISteamMatchmaking
|
// ISteamMatchmaking
|
||||||
@ -4579,6 +4629,7 @@ internal static unsafe class Native
|
|||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnChildren( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnChildren( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren );
|
||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnAdditionalPreviews( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnAdditionalPreviews( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews );
|
||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnTotalOnly( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnTotalOnly( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly );
|
||||||
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnPlaytimeStats( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unDays );
|
||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage );
|
||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetAllowCachedResponse( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unMaxAgeSeconds );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetAllowCachedResponse( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unMaxAgeSeconds );
|
||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetCloudFileNameFilter( IntPtr ISteamUGC, ulong handle, string /*const char **/ pMatchCloudFileName );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetCloudFileNameFilter( IntPtr ISteamUGC, ulong handle, string /*const char **/ pMatchCloudFileName );
|
||||||
@ -4623,6 +4674,8 @@ internal static unsafe class Native
|
|||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StartPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StartPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
|
||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
|
||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems( IntPtr ISteamUGC );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems( IntPtr ISteamUGC );
|
||||||
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_AddDependency( IntPtr ISteamUGC, ulong nParentPublishedFileID, ulong nChildPublishedFileID );
|
||||||
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_RemoveDependency( IntPtr ISteamUGC, ulong nParentPublishedFileID, ulong nChildPublishedFileID );
|
||||||
|
|
||||||
//
|
//
|
||||||
// ISteamAppList
|
// ISteamAppList
|
||||||
@ -4677,6 +4730,7 @@ internal static unsafe class Native
|
|||||||
//
|
//
|
||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern Result /*EResult*/ SteamAPI_ISteamInventory_GetResultStatus( IntPtr ISteamInventory, int resultHandle );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern Result /*EResult*/ SteamAPI_ISteamInventory_GetResultStatus( IntPtr ISteamInventory, int resultHandle );
|
||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetResultItems( IntPtr ISteamInventory, int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetResultItems( IntPtr ISteamInventory, int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize );
|
||||||
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetResultItemProperty( IntPtr ISteamInventory, int resultHandle, uint /*uint32*/ unItemIndex, string /*const char **/ pchPropertyName, System.Text.StringBuilder /*char **/ pchValueBuffer, out uint /*uint32 **/ punValueBufferSizeOut );
|
||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamInventory_GetResultTimestamp( IntPtr ISteamInventory, int resultHandle );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamInventory_GetResultTimestamp( IntPtr ISteamInventory, int resultHandle );
|
||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_CheckResultSteamID( IntPtr ISteamInventory, int resultHandle, ulong steamIDExpected );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_CheckResultSteamID( IntPtr ISteamInventory, int resultHandle, ulong steamIDExpected );
|
||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamInventory_DestroyResult( IntPtr ISteamInventory, int resultHandle );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamInventory_DestroyResult( IntPtr ISteamInventory, int resultHandle );
|
||||||
@ -4705,6 +4759,8 @@ internal static unsafe class Native
|
|||||||
//
|
//
|
||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamVideo_GetVideoURL( IntPtr ISteamVideo, uint unVideoAppID );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamVideo_GetVideoURL( IntPtr ISteamVideo, uint unVideoAppID );
|
||||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamVideo_IsBroadcasting( IntPtr ISteamVideo, IntPtr /*int **/ pnNumViewers );
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamVideo_IsBroadcasting( IntPtr ISteamVideo, IntPtr /*int **/ pnNumViewers );
|
||||||
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamVideo_GetOPFSettings( IntPtr ISteamVideo, uint unVideoAppID );
|
||||||
|
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamVideo_GetOPFStringForApp( IntPtr ISteamVideo, uint unVideoAppID, System.Text.StringBuilder /*char **/ pchBuffer, out int /*int32 **/ pnBufferSize );
|
||||||
|
|
||||||
//
|
//
|
||||||
// ISteamGameServer
|
// ISteamGameServer
|
||||||
|
@ -155,6 +155,20 @@ public bool GetItemsByID( ref SteamInventoryResult_t pResultHandle /*SteamInvent
|
|||||||
return platform.ISteamInventory_GetItemsByID( ref pResultHandle.Value, pInstanceIDs.Select( x => x.Value ).ToArray(), unCountInstanceIDs );
|
return platform.ISteamInventory_GetItemsByID( ref pResultHandle.Value, pInstanceIDs.Select( x => x.Value ).ToArray(), unCountInstanceIDs );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// bool
|
||||||
|
// with: Detect_StringFetch False
|
||||||
|
public bool GetResultItemProperty( SteamInventoryResult_t resultHandle /*SteamInventoryResult_t*/, uint unItemIndex /*uint32*/, string pchPropertyName /*const char **/, out string pchValueBuffer /*char **/ )
|
||||||
|
{
|
||||||
|
bool bSuccess = default( bool );
|
||||||
|
pchValueBuffer = string.Empty;
|
||||||
|
System.Text.StringBuilder pchValueBuffer_sb = Helpers.TakeStringBuilder();
|
||||||
|
uint punValueBufferSizeOut = 4096;
|
||||||
|
bSuccess = platform.ISteamInventory_GetResultItemProperty( resultHandle.Value, unItemIndex, pchPropertyName, pchValueBuffer_sb, out punValueBufferSizeOut );
|
||||||
|
if ( !bSuccess ) return bSuccess;
|
||||||
|
pchValueBuffer = pchValueBuffer_sb.ToString();
|
||||||
|
return bSuccess;
|
||||||
|
}
|
||||||
|
|
||||||
// bool
|
// bool
|
||||||
// using: Detect_MultiSizeArrayReturn
|
// using: Detect_MultiSizeArrayReturn
|
||||||
public SteamItemDetails_t[] GetResultItems( SteamInventoryResult_t resultHandle /*SteamInventoryResult_t*/ )
|
public SteamItemDetails_t[] GetResultItems( SteamInventoryResult_t resultHandle /*SteamInventoryResult_t*/ )
|
||||||
|
@ -43,6 +43,17 @@ public virtual void Dispose()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// SteamAPICall_t
|
||||||
|
public CallbackHandle AddDependency( PublishedFileId_t nParentPublishedFileID /*PublishedFileId_t*/, PublishedFileId_t nChildPublishedFileID /*PublishedFileId_t*/, Action<AddUGCDependencyResult_t, bool> CallbackFunction = null /*Action<AddUGCDependencyResult_t, bool>*/ )
|
||||||
|
{
|
||||||
|
SteamAPICall_t callback = 0;
|
||||||
|
callback = platform.ISteamUGC_AddDependency( nParentPublishedFileID.Value, nChildPublishedFileID.Value );
|
||||||
|
|
||||||
|
if ( CallbackFunction == null ) return null;
|
||||||
|
|
||||||
|
return AddUGCDependencyResult_t.CallResult( steamworks, callback, CallbackFunction );
|
||||||
|
}
|
||||||
|
|
||||||
// bool
|
// bool
|
||||||
public bool AddExcludedTag( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, string pTagName /*const char **/ )
|
public bool AddExcludedTag( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, string pTagName /*const char **/ )
|
||||||
{
|
{
|
||||||
@ -295,6 +306,17 @@ public bool ReleaseQueryUGCRequest( UGCQueryHandle_t handle /*UGCQueryHandle_t*/
|
|||||||
return platform.ISteamUGC_ReleaseQueryUGCRequest( handle.Value );
|
return platform.ISteamUGC_ReleaseQueryUGCRequest( handle.Value );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// SteamAPICall_t
|
||||||
|
public CallbackHandle RemoveDependency( PublishedFileId_t nParentPublishedFileID /*PublishedFileId_t*/, PublishedFileId_t nChildPublishedFileID /*PublishedFileId_t*/, Action<RemoveUGCDependencyResult_t, bool> CallbackFunction = null /*Action<RemoveUGCDependencyResult_t, bool>*/ )
|
||||||
|
{
|
||||||
|
SteamAPICall_t callback = 0;
|
||||||
|
callback = platform.ISteamUGC_RemoveDependency( nParentPublishedFileID.Value, nChildPublishedFileID.Value );
|
||||||
|
|
||||||
|
if ( CallbackFunction == null ) return null;
|
||||||
|
|
||||||
|
return RemoveUGCDependencyResult_t.CallResult( steamworks, callback, CallbackFunction );
|
||||||
|
}
|
||||||
|
|
||||||
// SteamAPICall_t
|
// SteamAPICall_t
|
||||||
public CallbackHandle RemoveItemFromFavorites( AppId_t nAppId /*AppId_t*/, PublishedFileId_t nPublishedFileID /*PublishedFileId_t*/, Action<UserFavoriteItemsListChanged_t, bool> CallbackFunction = null /*Action<UserFavoriteItemsListChanged_t, bool>*/ )
|
public CallbackHandle RemoveItemFromFavorites( AppId_t nAppId /*AppId_t*/, PublishedFileId_t nPublishedFileID /*PublishedFileId_t*/, Action<UserFavoriteItemsListChanged_t, bool> CallbackFunction = null /*Action<UserFavoriteItemsListChanged_t, bool>*/ )
|
||||||
{
|
{
|
||||||
@ -475,6 +497,12 @@ public bool SetReturnOnlyIDs( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, bool
|
|||||||
return platform.ISteamUGC_SetReturnOnlyIDs( handle.Value, bReturnOnlyIDs );
|
return platform.ISteamUGC_SetReturnOnlyIDs( handle.Value, bReturnOnlyIDs );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// bool
|
||||||
|
public bool SetReturnPlaytimeStats( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, uint unDays /*uint32*/ )
|
||||||
|
{
|
||||||
|
return platform.ISteamUGC_SetReturnPlaytimeStats( handle.Value, unDays );
|
||||||
|
}
|
||||||
|
|
||||||
// bool
|
// bool
|
||||||
public bool SetReturnTotalOnly( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, bool bReturnTotalOnly /*bool*/ )
|
public bool SetReturnTotalOnly( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, bool bReturnTotalOnly /*bool*/ )
|
||||||
{
|
{
|
||||||
|
@ -116,9 +116,9 @@ public HAuthTicket GetAuthSessionTicket( IntPtr pTicket /*void **/, int cbMaxTic
|
|||||||
}
|
}
|
||||||
|
|
||||||
// VoiceResult
|
// VoiceResult
|
||||||
public VoiceResult GetAvailableVoice( out uint pcbCompressed /*uint32 **/, out uint pcbUncompressed /*uint32 **/, uint nUncompressedVoiceDesiredSampleRate /*uint32*/ )
|
public VoiceResult GetAvailableVoice( out uint pcbCompressed /*uint32 **/, out uint pcbUncompressed_Deprecated /*uint32 **/, uint nUncompressedVoiceDesiredSampleRate_Deprecated /*uint32*/ )
|
||||||
{
|
{
|
||||||
return platform.ISteamUser_GetAvailableVoice( out pcbCompressed, out pcbUncompressed, nUncompressedVoiceDesiredSampleRate );
|
return platform.ISteamUser_GetAvailableVoice( out pcbCompressed, out pcbUncompressed_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated );
|
||||||
}
|
}
|
||||||
|
|
||||||
// bool
|
// bool
|
||||||
@ -164,9 +164,9 @@ public string GetUserDataFolder()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// VoiceResult
|
// VoiceResult
|
||||||
public VoiceResult GetVoice( bool bWantCompressed /*bool*/, IntPtr pDestBuffer /*void **/, uint cbDestBufferSize /*uint32*/, out uint nBytesWritten /*uint32 **/, bool bWantUncompressed /*bool*/, IntPtr pUncompressedDestBuffer /*void **/, uint cbUncompressedDestBufferSize /*uint32*/, out uint nUncompressBytesWritten /*uint32 **/, uint nUncompressedVoiceDesiredSampleRate /*uint32*/ )
|
public VoiceResult GetVoice( bool bWantCompressed /*bool*/, IntPtr pDestBuffer /*void **/, uint cbDestBufferSize /*uint32*/, out uint nBytesWritten /*uint32 **/, bool bWantUncompressed_Deprecated /*bool*/, IntPtr pUncompressedDestBuffer_Deprecated /*void **/, uint cbUncompressedDestBufferSize_Deprecated /*uint32*/, out uint nUncompressBytesWritten_Deprecated /*uint32 **/, uint nUncompressedVoiceDesiredSampleRate_Deprecated /*uint32*/ )
|
||||||
{
|
{
|
||||||
return platform.ISteamUser_GetVoice( bWantCompressed, (IntPtr) pDestBuffer, cbDestBufferSize, out nBytesWritten, bWantUncompressed, (IntPtr) pUncompressedDestBuffer, cbUncompressedDestBufferSize, out nUncompressBytesWritten, nUncompressedVoiceDesiredSampleRate );
|
return platform.ISteamUser_GetVoice( bWantCompressed, (IntPtr) pDestBuffer, cbDestBufferSize, out nBytesWritten, bWantUncompressed_Deprecated, (IntPtr) pUncompressedDestBuffer_Deprecated, cbUncompressedDestBufferSize_Deprecated, out nUncompressBytesWritten_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated );
|
||||||
}
|
}
|
||||||
|
|
||||||
// uint
|
// uint
|
||||||
|
@ -192,6 +192,12 @@ public bool IsSteamRunningInVR()
|
|||||||
return platform.ISteamUtils_IsSteamRunningInVR();
|
return platform.ISteamUtils_IsSteamRunningInVR();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// bool
|
||||||
|
public bool IsVRHeadsetStreamingEnabled()
|
||||||
|
{
|
||||||
|
return platform.ISteamUtils_IsVRHeadsetStreamingEnabled();
|
||||||
|
}
|
||||||
|
|
||||||
// void
|
// void
|
||||||
public void SetOverlayNotificationInset( int nHorizontalInset /*int*/, int nVerticalInset /*int*/ )
|
public void SetOverlayNotificationInset( int nHorizontalInset /*int*/, int nVerticalInset /*int*/ )
|
||||||
{
|
{
|
||||||
@ -204,6 +210,12 @@ public void SetOverlayNotificationPosition( NotificationPosition eNotificationPo
|
|||||||
platform.ISteamUtils_SetOverlayNotificationPosition( eNotificationPosition );
|
platform.ISteamUtils_SetOverlayNotificationPosition( eNotificationPosition );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// void
|
||||||
|
public void SetVRHeadsetStreamingEnabled( bool bEnabled /*bool*/ )
|
||||||
|
{
|
||||||
|
platform.ISteamUtils_SetVRHeadsetStreamingEnabled( bEnabled );
|
||||||
|
}
|
||||||
|
|
||||||
// void
|
// void
|
||||||
public void SetWarningMessageHook( IntPtr pFunction /*SteamAPIWarningMessageHook_t*/ )
|
public void SetWarningMessageHook( IntPtr pFunction /*SteamAPIWarningMessageHook_t*/ )
|
||||||
{
|
{
|
||||||
|
@ -43,6 +43,24 @@ public virtual void Dispose()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// void
|
||||||
|
public void GetOPFSettings( AppId_t unVideoAppID /*AppId_t*/ )
|
||||||
|
{
|
||||||
|
platform.ISteamVideo_GetOPFSettings( unVideoAppID.Value );
|
||||||
|
}
|
||||||
|
|
||||||
|
// bool
|
||||||
|
// with: Detect_StringFetch True
|
||||||
|
public string GetOPFStringForApp( AppId_t unVideoAppID /*AppId_t*/ )
|
||||||
|
{
|
||||||
|
bool bSuccess = default( bool );
|
||||||
|
System.Text.StringBuilder pchBuffer_sb = Helpers.TakeStringBuilder();
|
||||||
|
int pnBufferSize = 4096;
|
||||||
|
bSuccess = platform.ISteamVideo_GetOPFStringForApp( unVideoAppID.Value, pchBuffer_sb, out pnBufferSize );
|
||||||
|
if ( !bSuccess ) return null;
|
||||||
|
return pchBuffer_sb.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
// void
|
// void
|
||||||
public void GetVideoURL( AppId_t unVideoAppID /*AppId_t*/ )
|
public void GetVideoURL( AppId_t unVideoAppID /*AppId_t*/ )
|
||||||
{
|
{
|
||||||
|
@ -23821,6 +23821,568 @@ public static void RegisterCallback( Facepunch.Steamworks.BaseSteamworks steamwo
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[StructLayout( LayoutKind.Sequential, Pack = 8 )]
|
||||||
|
internal struct AddUGCDependencyResult_t
|
||||||
|
{
|
||||||
|
public const int CallbackId = CallbackIdentifiers.ClientUGC + 12;
|
||||||
|
public Result Result; // m_eResult enum EResult
|
||||||
|
public ulong PublishedFileId; // m_nPublishedFileId PublishedFileId_t
|
||||||
|
public ulong ChildPublishedFileId; // m_nChildPublishedFileId PublishedFileId_t
|
||||||
|
|
||||||
|
//
|
||||||
|
// Read this struct from a pointer, usually from Native. It will automatically do the awesome stuff.
|
||||||
|
//
|
||||||
|
public static AddUGCDependencyResult_t FromPointer( IntPtr p )
|
||||||
|
{
|
||||||
|
if ( Platform.PackSmall ) return (PackSmall) Marshal.PtrToStructure( p, typeof(PackSmall) );
|
||||||
|
return (AddUGCDependencyResult_t) Marshal.PtrToStructure( p, typeof(AddUGCDependencyResult_t) );
|
||||||
|
}
|
||||||
|
|
||||||
|
[StructLayout( LayoutKind.Sequential, Pack = 4 )]
|
||||||
|
internal struct PackSmall
|
||||||
|
{
|
||||||
|
public Result Result; // m_eResult enum EResult
|
||||||
|
public ulong PublishedFileId; // m_nPublishedFileId PublishedFileId_t
|
||||||
|
public ulong ChildPublishedFileId; // m_nChildPublishedFileId PublishedFileId_t
|
||||||
|
|
||||||
|
//
|
||||||
|
// Easily convert from PackSmall to AddUGCDependencyResult_t
|
||||||
|
//
|
||||||
|
public static implicit operator AddUGCDependencyResult_t ( AddUGCDependencyResult_t.PackSmall d )
|
||||||
|
{
|
||||||
|
return new AddUGCDependencyResult_t()
|
||||||
|
{
|
||||||
|
Result = d.Result,
|
||||||
|
PublishedFileId = d.PublishedFileId,
|
||||||
|
ChildPublishedFileId = d.ChildPublishedFileId,
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CallbackHandle CallResult( Facepunch.Steamworks.BaseSteamworks steamworks, SteamAPICall_t call, Action<AddUGCDependencyResult_t, bool> CallbackFunction )
|
||||||
|
{
|
||||||
|
var handle = new CallbackHandle();
|
||||||
|
handle.steamworks = steamworks;
|
||||||
|
handle.CallResultHandle = call;
|
||||||
|
handle.CallResult = true;
|
||||||
|
|
||||||
|
//
|
||||||
|
// Create the functions we need for the vtable
|
||||||
|
//
|
||||||
|
if ( Facepunch.Steamworks.Config.UseThisCall )
|
||||||
|
{
|
||||||
|
Callback.ThisCall.Result funcA = ( _, p ) => { handle.Dispose(); CallbackFunction( FromPointer( p ), false ); };
|
||||||
|
Callback.ThisCall.ResultWithInfo funcB = ( _, p, bIOFailure, hSteamAPICall ) =>
|
||||||
|
{
|
||||||
|
if ( hSteamAPICall != call ) return;
|
||||||
|
|
||||||
|
handle.CallResultHandle = 0;
|
||||||
|
handle.Dispose();
|
||||||
|
|
||||||
|
CallbackFunction( FromPointer( p ), bIOFailure );
|
||||||
|
};
|
||||||
|
Callback.ThisCall.GetSize funcC = ( _ ) => Marshal.SizeOf( typeof( AddUGCDependencyResult_t ) );
|
||||||
|
|
||||||
|
//
|
||||||
|
// If this platform is PackSmall, use PackSmall versions of everything instead
|
||||||
|
//
|
||||||
|
if ( Platform.PackSmall )
|
||||||
|
{
|
||||||
|
funcC = ( _ ) => Marshal.SizeOf( typeof( PackSmall ) );
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Allocate a handle to each function, so they don't get disposed
|
||||||
|
//
|
||||||
|
handle.FuncA = GCHandle.Alloc( funcA );
|
||||||
|
handle.FuncB = GCHandle.Alloc( funcB );
|
||||||
|
handle.FuncC = GCHandle.Alloc( funcC );
|
||||||
|
|
||||||
|
//
|
||||||
|
// Create the VTable by manually allocating the memory and copying across
|
||||||
|
//
|
||||||
|
handle.vTablePtr = Marshal.AllocHGlobal( Marshal.SizeOf( typeof( Callback.VTable ) ) );
|
||||||
|
var vTable = new Callback.VTable()
|
||||||
|
{
|
||||||
|
ResultA = Marshal.GetFunctionPointerForDelegate( funcA ),
|
||||||
|
ResultB = Marshal.GetFunctionPointerForDelegate( funcB ),
|
||||||
|
GetSize = Marshal.GetFunctionPointerForDelegate( funcC ),
|
||||||
|
};
|
||||||
|
//
|
||||||
|
// The order of these functions are swapped on Windows
|
||||||
|
//
|
||||||
|
if ( Platform.IsWindows )
|
||||||
|
{
|
||||||
|
vTable.ResultA = Marshal.GetFunctionPointerForDelegate( funcB );
|
||||||
|
vTable.ResultB = Marshal.GetFunctionPointerForDelegate( funcA );
|
||||||
|
}
|
||||||
|
Marshal.StructureToPtr( vTable, handle.vTablePtr, false );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Callback.StdCall.Result funcA = ( p ) => { handle.Dispose(); CallbackFunction( FromPointer( p ), false ); };
|
||||||
|
Callback.StdCall.ResultWithInfo funcB = ( p, bIOFailure, hSteamAPICall ) =>
|
||||||
|
{
|
||||||
|
if ( hSteamAPICall != call ) return;
|
||||||
|
|
||||||
|
handle.CallResultHandle = 0;
|
||||||
|
handle.Dispose();
|
||||||
|
|
||||||
|
CallbackFunction( FromPointer( p ), bIOFailure );
|
||||||
|
};
|
||||||
|
Callback.StdCall.GetSize funcC = ( ) => Marshal.SizeOf( typeof( AddUGCDependencyResult_t ) );
|
||||||
|
|
||||||
|
//
|
||||||
|
// If this platform is PackSmall, use PackSmall versions of everything instead
|
||||||
|
//
|
||||||
|
if ( Platform.PackSmall )
|
||||||
|
{
|
||||||
|
funcC = ( ) => Marshal.SizeOf( typeof( PackSmall ) );
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Allocate a handle to each function, so they don't get disposed
|
||||||
|
//
|
||||||
|
handle.FuncA = GCHandle.Alloc( funcA );
|
||||||
|
handle.FuncB = GCHandle.Alloc( funcB );
|
||||||
|
handle.FuncC = GCHandle.Alloc( funcC );
|
||||||
|
|
||||||
|
//
|
||||||
|
// Create the VTable by manually allocating the memory and copying across
|
||||||
|
//
|
||||||
|
handle.vTablePtr = Marshal.AllocHGlobal( Marshal.SizeOf( typeof( Callback.VTable ) ) );
|
||||||
|
var vTable = new Callback.VTable()
|
||||||
|
{
|
||||||
|
ResultA = Marshal.GetFunctionPointerForDelegate( funcA ),
|
||||||
|
ResultB = Marshal.GetFunctionPointerForDelegate( funcB ),
|
||||||
|
GetSize = Marshal.GetFunctionPointerForDelegate( funcC ),
|
||||||
|
};
|
||||||
|
//
|
||||||
|
// The order of these functions are swapped on Windows
|
||||||
|
//
|
||||||
|
if ( Platform.IsWindows )
|
||||||
|
{
|
||||||
|
vTable.ResultA = Marshal.GetFunctionPointerForDelegate( funcB );
|
||||||
|
vTable.ResultB = Marshal.GetFunctionPointerForDelegate( funcA );
|
||||||
|
}
|
||||||
|
Marshal.StructureToPtr( vTable, handle.vTablePtr, false );
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Create the callback object
|
||||||
|
//
|
||||||
|
var cb = new Callback();
|
||||||
|
cb.vTablePtr = handle.vTablePtr;
|
||||||
|
cb.CallbackFlags = steamworks.IsGameServer ? (byte) SteamNative.Callback.Flags.GameServer : (byte) 0;
|
||||||
|
cb.CallbackId = CallbackId;
|
||||||
|
|
||||||
|
//
|
||||||
|
// Pin the callback, so it doesn't get garbage collected and we can pass the pointer to native
|
||||||
|
//
|
||||||
|
handle.PinnedCallback = GCHandle.Alloc( cb, GCHandleType.Pinned );
|
||||||
|
|
||||||
|
//
|
||||||
|
// Register the callback with Steam
|
||||||
|
//
|
||||||
|
steamworks.native.api.SteamAPI_RegisterCallResult( handle.PinnedCallback.AddrOfPinnedObject(), call );
|
||||||
|
|
||||||
|
return handle;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void RegisterCallback( Facepunch.Steamworks.BaseSteamworks steamworks, Action<AddUGCDependencyResult_t, bool> CallbackFunction )
|
||||||
|
{
|
||||||
|
var handle = new CallbackHandle();
|
||||||
|
handle.steamworks = steamworks;
|
||||||
|
|
||||||
|
//
|
||||||
|
// Create the functions we need for the vtable
|
||||||
|
//
|
||||||
|
if ( Facepunch.Steamworks.Config.UseThisCall )
|
||||||
|
{
|
||||||
|
Callback.ThisCall.Result funcA = ( _, p ) => { CallbackFunction( FromPointer( p ), false ); };
|
||||||
|
Callback.ThisCall.ResultWithInfo funcB = ( _, p, bIOFailure, hSteamAPICall ) => { CallbackFunction( FromPointer( p ), bIOFailure ); };
|
||||||
|
Callback.ThisCall.GetSize funcC = ( _ ) => Marshal.SizeOf( typeof( AddUGCDependencyResult_t ) );
|
||||||
|
|
||||||
|
//
|
||||||
|
// If this platform is PackSmall, use PackSmall versions of everything instead
|
||||||
|
//
|
||||||
|
if ( Platform.PackSmall )
|
||||||
|
{
|
||||||
|
funcC = ( _ ) => Marshal.SizeOf( typeof( PackSmall ) );
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Allocate a handle to each function, so they don't get disposed
|
||||||
|
//
|
||||||
|
handle.FuncA = GCHandle.Alloc( funcA );
|
||||||
|
handle.FuncB = GCHandle.Alloc( funcB );
|
||||||
|
handle.FuncC = GCHandle.Alloc( funcC );
|
||||||
|
|
||||||
|
//
|
||||||
|
// Create the VTable by manually allocating the memory and copying across
|
||||||
|
//
|
||||||
|
handle.vTablePtr = Marshal.AllocHGlobal( Marshal.SizeOf( typeof( Callback.VTable ) ) );
|
||||||
|
var vTable = new Callback.VTable()
|
||||||
|
{
|
||||||
|
ResultA = Marshal.GetFunctionPointerForDelegate( funcA ),
|
||||||
|
ResultB = Marshal.GetFunctionPointerForDelegate( funcB ),
|
||||||
|
GetSize = Marshal.GetFunctionPointerForDelegate( funcC ),
|
||||||
|
};
|
||||||
|
//
|
||||||
|
// The order of these functions are swapped on Windows
|
||||||
|
//
|
||||||
|
if ( Platform.IsWindows )
|
||||||
|
{
|
||||||
|
vTable.ResultA = Marshal.GetFunctionPointerForDelegate( funcB );
|
||||||
|
vTable.ResultB = Marshal.GetFunctionPointerForDelegate( funcA );
|
||||||
|
}
|
||||||
|
Marshal.StructureToPtr( vTable, handle.vTablePtr, false );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Callback.StdCall.Result funcA = ( p ) => { CallbackFunction( FromPointer( p ), false ); };
|
||||||
|
Callback.StdCall.ResultWithInfo funcB = ( p, bIOFailure, hSteamAPICall ) => { CallbackFunction( FromPointer( p ), bIOFailure ); };
|
||||||
|
Callback.StdCall.GetSize funcC = ( ) => Marshal.SizeOf( typeof( AddUGCDependencyResult_t ) );
|
||||||
|
|
||||||
|
//
|
||||||
|
// If this platform is PackSmall, use PackSmall versions of everything instead
|
||||||
|
//
|
||||||
|
if ( Platform.PackSmall )
|
||||||
|
{
|
||||||
|
funcC = ( ) => Marshal.SizeOf( typeof( PackSmall ) );
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Allocate a handle to each function, so they don't get disposed
|
||||||
|
//
|
||||||
|
handle.FuncA = GCHandle.Alloc( funcA );
|
||||||
|
handle.FuncB = GCHandle.Alloc( funcB );
|
||||||
|
handle.FuncC = GCHandle.Alloc( funcC );
|
||||||
|
|
||||||
|
//
|
||||||
|
// Create the VTable by manually allocating the memory and copying across
|
||||||
|
//
|
||||||
|
handle.vTablePtr = Marshal.AllocHGlobal( Marshal.SizeOf( typeof( Callback.VTable ) ) );
|
||||||
|
var vTable = new Callback.VTable()
|
||||||
|
{
|
||||||
|
ResultA = Marshal.GetFunctionPointerForDelegate( funcA ),
|
||||||
|
ResultB = Marshal.GetFunctionPointerForDelegate( funcB ),
|
||||||
|
GetSize = Marshal.GetFunctionPointerForDelegate( funcC ),
|
||||||
|
};
|
||||||
|
//
|
||||||
|
// The order of these functions are swapped on Windows
|
||||||
|
//
|
||||||
|
if ( Platform.IsWindows )
|
||||||
|
{
|
||||||
|
vTable.ResultA = Marshal.GetFunctionPointerForDelegate( funcB );
|
||||||
|
vTable.ResultB = Marshal.GetFunctionPointerForDelegate( funcA );
|
||||||
|
}
|
||||||
|
Marshal.StructureToPtr( vTable, handle.vTablePtr, false );
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Create the callback object
|
||||||
|
//
|
||||||
|
var cb = new Callback();
|
||||||
|
cb.vTablePtr = handle.vTablePtr;
|
||||||
|
cb.CallbackFlags = steamworks.IsGameServer ? (byte) SteamNative.Callback.Flags.GameServer : (byte) 0;
|
||||||
|
cb.CallbackId = CallbackId;
|
||||||
|
|
||||||
|
//
|
||||||
|
// Pin the callback, so it doesn't get garbage collected and we can pass the pointer to native
|
||||||
|
//
|
||||||
|
handle.PinnedCallback = GCHandle.Alloc( cb, GCHandleType.Pinned );
|
||||||
|
|
||||||
|
//
|
||||||
|
// Register the callback with Steam
|
||||||
|
//
|
||||||
|
steamworks.native.api.SteamAPI_RegisterCallback( handle.PinnedCallback.AddrOfPinnedObject(), CallbackId );
|
||||||
|
|
||||||
|
steamworks.RegisterCallbackHandle( handle );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[StructLayout( LayoutKind.Sequential, Pack = 8 )]
|
||||||
|
internal struct RemoveUGCDependencyResult_t
|
||||||
|
{
|
||||||
|
public const int CallbackId = CallbackIdentifiers.ClientUGC + 13;
|
||||||
|
public Result Result; // m_eResult enum EResult
|
||||||
|
public ulong PublishedFileId; // m_nPublishedFileId PublishedFileId_t
|
||||||
|
public ulong ChildPublishedFileId; // m_nChildPublishedFileId PublishedFileId_t
|
||||||
|
|
||||||
|
//
|
||||||
|
// Read this struct from a pointer, usually from Native. It will automatically do the awesome stuff.
|
||||||
|
//
|
||||||
|
public static RemoveUGCDependencyResult_t FromPointer( IntPtr p )
|
||||||
|
{
|
||||||
|
if ( Platform.PackSmall ) return (PackSmall) Marshal.PtrToStructure( p, typeof(PackSmall) );
|
||||||
|
return (RemoveUGCDependencyResult_t) Marshal.PtrToStructure( p, typeof(RemoveUGCDependencyResult_t) );
|
||||||
|
}
|
||||||
|
|
||||||
|
[StructLayout( LayoutKind.Sequential, Pack = 4 )]
|
||||||
|
internal struct PackSmall
|
||||||
|
{
|
||||||
|
public Result Result; // m_eResult enum EResult
|
||||||
|
public ulong PublishedFileId; // m_nPublishedFileId PublishedFileId_t
|
||||||
|
public ulong ChildPublishedFileId; // m_nChildPublishedFileId PublishedFileId_t
|
||||||
|
|
||||||
|
//
|
||||||
|
// Easily convert from PackSmall to RemoveUGCDependencyResult_t
|
||||||
|
//
|
||||||
|
public static implicit operator RemoveUGCDependencyResult_t ( RemoveUGCDependencyResult_t.PackSmall d )
|
||||||
|
{
|
||||||
|
return new RemoveUGCDependencyResult_t()
|
||||||
|
{
|
||||||
|
Result = d.Result,
|
||||||
|
PublishedFileId = d.PublishedFileId,
|
||||||
|
ChildPublishedFileId = d.ChildPublishedFileId,
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CallbackHandle CallResult( Facepunch.Steamworks.BaseSteamworks steamworks, SteamAPICall_t call, Action<RemoveUGCDependencyResult_t, bool> CallbackFunction )
|
||||||
|
{
|
||||||
|
var handle = new CallbackHandle();
|
||||||
|
handle.steamworks = steamworks;
|
||||||
|
handle.CallResultHandle = call;
|
||||||
|
handle.CallResult = true;
|
||||||
|
|
||||||
|
//
|
||||||
|
// Create the functions we need for the vtable
|
||||||
|
//
|
||||||
|
if ( Facepunch.Steamworks.Config.UseThisCall )
|
||||||
|
{
|
||||||
|
Callback.ThisCall.Result funcA = ( _, p ) => { handle.Dispose(); CallbackFunction( FromPointer( p ), false ); };
|
||||||
|
Callback.ThisCall.ResultWithInfo funcB = ( _, p, bIOFailure, hSteamAPICall ) =>
|
||||||
|
{
|
||||||
|
if ( hSteamAPICall != call ) return;
|
||||||
|
|
||||||
|
handle.CallResultHandle = 0;
|
||||||
|
handle.Dispose();
|
||||||
|
|
||||||
|
CallbackFunction( FromPointer( p ), bIOFailure );
|
||||||
|
};
|
||||||
|
Callback.ThisCall.GetSize funcC = ( _ ) => Marshal.SizeOf( typeof( RemoveUGCDependencyResult_t ) );
|
||||||
|
|
||||||
|
//
|
||||||
|
// If this platform is PackSmall, use PackSmall versions of everything instead
|
||||||
|
//
|
||||||
|
if ( Platform.PackSmall )
|
||||||
|
{
|
||||||
|
funcC = ( _ ) => Marshal.SizeOf( typeof( PackSmall ) );
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Allocate a handle to each function, so they don't get disposed
|
||||||
|
//
|
||||||
|
handle.FuncA = GCHandle.Alloc( funcA );
|
||||||
|
handle.FuncB = GCHandle.Alloc( funcB );
|
||||||
|
handle.FuncC = GCHandle.Alloc( funcC );
|
||||||
|
|
||||||
|
//
|
||||||
|
// Create the VTable by manually allocating the memory and copying across
|
||||||
|
//
|
||||||
|
handle.vTablePtr = Marshal.AllocHGlobal( Marshal.SizeOf( typeof( Callback.VTable ) ) );
|
||||||
|
var vTable = new Callback.VTable()
|
||||||
|
{
|
||||||
|
ResultA = Marshal.GetFunctionPointerForDelegate( funcA ),
|
||||||
|
ResultB = Marshal.GetFunctionPointerForDelegate( funcB ),
|
||||||
|
GetSize = Marshal.GetFunctionPointerForDelegate( funcC ),
|
||||||
|
};
|
||||||
|
//
|
||||||
|
// The order of these functions are swapped on Windows
|
||||||
|
//
|
||||||
|
if ( Platform.IsWindows )
|
||||||
|
{
|
||||||
|
vTable.ResultA = Marshal.GetFunctionPointerForDelegate( funcB );
|
||||||
|
vTable.ResultB = Marshal.GetFunctionPointerForDelegate( funcA );
|
||||||
|
}
|
||||||
|
Marshal.StructureToPtr( vTable, handle.vTablePtr, false );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Callback.StdCall.Result funcA = ( p ) => { handle.Dispose(); CallbackFunction( FromPointer( p ), false ); };
|
||||||
|
Callback.StdCall.ResultWithInfo funcB = ( p, bIOFailure, hSteamAPICall ) =>
|
||||||
|
{
|
||||||
|
if ( hSteamAPICall != call ) return;
|
||||||
|
|
||||||
|
handle.CallResultHandle = 0;
|
||||||
|
handle.Dispose();
|
||||||
|
|
||||||
|
CallbackFunction( FromPointer( p ), bIOFailure );
|
||||||
|
};
|
||||||
|
Callback.StdCall.GetSize funcC = ( ) => Marshal.SizeOf( typeof( RemoveUGCDependencyResult_t ) );
|
||||||
|
|
||||||
|
//
|
||||||
|
// If this platform is PackSmall, use PackSmall versions of everything instead
|
||||||
|
//
|
||||||
|
if ( Platform.PackSmall )
|
||||||
|
{
|
||||||
|
funcC = ( ) => Marshal.SizeOf( typeof( PackSmall ) );
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Allocate a handle to each function, so they don't get disposed
|
||||||
|
//
|
||||||
|
handle.FuncA = GCHandle.Alloc( funcA );
|
||||||
|
handle.FuncB = GCHandle.Alloc( funcB );
|
||||||
|
handle.FuncC = GCHandle.Alloc( funcC );
|
||||||
|
|
||||||
|
//
|
||||||
|
// Create the VTable by manually allocating the memory and copying across
|
||||||
|
//
|
||||||
|
handle.vTablePtr = Marshal.AllocHGlobal( Marshal.SizeOf( typeof( Callback.VTable ) ) );
|
||||||
|
var vTable = new Callback.VTable()
|
||||||
|
{
|
||||||
|
ResultA = Marshal.GetFunctionPointerForDelegate( funcA ),
|
||||||
|
ResultB = Marshal.GetFunctionPointerForDelegate( funcB ),
|
||||||
|
GetSize = Marshal.GetFunctionPointerForDelegate( funcC ),
|
||||||
|
};
|
||||||
|
//
|
||||||
|
// The order of these functions are swapped on Windows
|
||||||
|
//
|
||||||
|
if ( Platform.IsWindows )
|
||||||
|
{
|
||||||
|
vTable.ResultA = Marshal.GetFunctionPointerForDelegate( funcB );
|
||||||
|
vTable.ResultB = Marshal.GetFunctionPointerForDelegate( funcA );
|
||||||
|
}
|
||||||
|
Marshal.StructureToPtr( vTable, handle.vTablePtr, false );
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Create the callback object
|
||||||
|
//
|
||||||
|
var cb = new Callback();
|
||||||
|
cb.vTablePtr = handle.vTablePtr;
|
||||||
|
cb.CallbackFlags = steamworks.IsGameServer ? (byte) SteamNative.Callback.Flags.GameServer : (byte) 0;
|
||||||
|
cb.CallbackId = CallbackId;
|
||||||
|
|
||||||
|
//
|
||||||
|
// Pin the callback, so it doesn't get garbage collected and we can pass the pointer to native
|
||||||
|
//
|
||||||
|
handle.PinnedCallback = GCHandle.Alloc( cb, GCHandleType.Pinned );
|
||||||
|
|
||||||
|
//
|
||||||
|
// Register the callback with Steam
|
||||||
|
//
|
||||||
|
steamworks.native.api.SteamAPI_RegisterCallResult( handle.PinnedCallback.AddrOfPinnedObject(), call );
|
||||||
|
|
||||||
|
return handle;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void RegisterCallback( Facepunch.Steamworks.BaseSteamworks steamworks, Action<RemoveUGCDependencyResult_t, bool> CallbackFunction )
|
||||||
|
{
|
||||||
|
var handle = new CallbackHandle();
|
||||||
|
handle.steamworks = steamworks;
|
||||||
|
|
||||||
|
//
|
||||||
|
// Create the functions we need for the vtable
|
||||||
|
//
|
||||||
|
if ( Facepunch.Steamworks.Config.UseThisCall )
|
||||||
|
{
|
||||||
|
Callback.ThisCall.Result funcA = ( _, p ) => { CallbackFunction( FromPointer( p ), false ); };
|
||||||
|
Callback.ThisCall.ResultWithInfo funcB = ( _, p, bIOFailure, hSteamAPICall ) => { CallbackFunction( FromPointer( p ), bIOFailure ); };
|
||||||
|
Callback.ThisCall.GetSize funcC = ( _ ) => Marshal.SizeOf( typeof( RemoveUGCDependencyResult_t ) );
|
||||||
|
|
||||||
|
//
|
||||||
|
// If this platform is PackSmall, use PackSmall versions of everything instead
|
||||||
|
//
|
||||||
|
if ( Platform.PackSmall )
|
||||||
|
{
|
||||||
|
funcC = ( _ ) => Marshal.SizeOf( typeof( PackSmall ) );
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Allocate a handle to each function, so they don't get disposed
|
||||||
|
//
|
||||||
|
handle.FuncA = GCHandle.Alloc( funcA );
|
||||||
|
handle.FuncB = GCHandle.Alloc( funcB );
|
||||||
|
handle.FuncC = GCHandle.Alloc( funcC );
|
||||||
|
|
||||||
|
//
|
||||||
|
// Create the VTable by manually allocating the memory and copying across
|
||||||
|
//
|
||||||
|
handle.vTablePtr = Marshal.AllocHGlobal( Marshal.SizeOf( typeof( Callback.VTable ) ) );
|
||||||
|
var vTable = new Callback.VTable()
|
||||||
|
{
|
||||||
|
ResultA = Marshal.GetFunctionPointerForDelegate( funcA ),
|
||||||
|
ResultB = Marshal.GetFunctionPointerForDelegate( funcB ),
|
||||||
|
GetSize = Marshal.GetFunctionPointerForDelegate( funcC ),
|
||||||
|
};
|
||||||
|
//
|
||||||
|
// The order of these functions are swapped on Windows
|
||||||
|
//
|
||||||
|
if ( Platform.IsWindows )
|
||||||
|
{
|
||||||
|
vTable.ResultA = Marshal.GetFunctionPointerForDelegate( funcB );
|
||||||
|
vTable.ResultB = Marshal.GetFunctionPointerForDelegate( funcA );
|
||||||
|
}
|
||||||
|
Marshal.StructureToPtr( vTable, handle.vTablePtr, false );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Callback.StdCall.Result funcA = ( p ) => { CallbackFunction( FromPointer( p ), false ); };
|
||||||
|
Callback.StdCall.ResultWithInfo funcB = ( p, bIOFailure, hSteamAPICall ) => { CallbackFunction( FromPointer( p ), bIOFailure ); };
|
||||||
|
Callback.StdCall.GetSize funcC = ( ) => Marshal.SizeOf( typeof( RemoveUGCDependencyResult_t ) );
|
||||||
|
|
||||||
|
//
|
||||||
|
// If this platform is PackSmall, use PackSmall versions of everything instead
|
||||||
|
//
|
||||||
|
if ( Platform.PackSmall )
|
||||||
|
{
|
||||||
|
funcC = ( ) => Marshal.SizeOf( typeof( PackSmall ) );
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Allocate a handle to each function, so they don't get disposed
|
||||||
|
//
|
||||||
|
handle.FuncA = GCHandle.Alloc( funcA );
|
||||||
|
handle.FuncB = GCHandle.Alloc( funcB );
|
||||||
|
handle.FuncC = GCHandle.Alloc( funcC );
|
||||||
|
|
||||||
|
//
|
||||||
|
// Create the VTable by manually allocating the memory and copying across
|
||||||
|
//
|
||||||
|
handle.vTablePtr = Marshal.AllocHGlobal( Marshal.SizeOf( typeof( Callback.VTable ) ) );
|
||||||
|
var vTable = new Callback.VTable()
|
||||||
|
{
|
||||||
|
ResultA = Marshal.GetFunctionPointerForDelegate( funcA ),
|
||||||
|
ResultB = Marshal.GetFunctionPointerForDelegate( funcB ),
|
||||||
|
GetSize = Marshal.GetFunctionPointerForDelegate( funcC ),
|
||||||
|
};
|
||||||
|
//
|
||||||
|
// The order of these functions are swapped on Windows
|
||||||
|
//
|
||||||
|
if ( Platform.IsWindows )
|
||||||
|
{
|
||||||
|
vTable.ResultA = Marshal.GetFunctionPointerForDelegate( funcB );
|
||||||
|
vTable.ResultB = Marshal.GetFunctionPointerForDelegate( funcA );
|
||||||
|
}
|
||||||
|
Marshal.StructureToPtr( vTable, handle.vTablePtr, false );
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Create the callback object
|
||||||
|
//
|
||||||
|
var cb = new Callback();
|
||||||
|
cb.vTablePtr = handle.vTablePtr;
|
||||||
|
cb.CallbackFlags = steamworks.IsGameServer ? (byte) SteamNative.Callback.Flags.GameServer : (byte) 0;
|
||||||
|
cb.CallbackId = CallbackId;
|
||||||
|
|
||||||
|
//
|
||||||
|
// Pin the callback, so it doesn't get garbage collected and we can pass the pointer to native
|
||||||
|
//
|
||||||
|
handle.PinnedCallback = GCHandle.Alloc( cb, GCHandleType.Pinned );
|
||||||
|
|
||||||
|
//
|
||||||
|
// Register the callback with Steam
|
||||||
|
//
|
||||||
|
steamworks.native.api.SteamAPI_RegisterCallback( handle.PinnedCallback.AddrOfPinnedObject(), CallbackId );
|
||||||
|
|
||||||
|
steamworks.RegisterCallbackHandle( handle );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[StructLayout( LayoutKind.Sequential, Pack = 8 )]
|
[StructLayout( LayoutKind.Sequential, Pack = 8 )]
|
||||||
internal struct SteamAppInstalled_t
|
internal struct SteamAppInstalled_t
|
||||||
{
|
{
|
||||||
@ -28199,6 +28761,154 @@ public static void RegisterCallback( Facepunch.Steamworks.BaseSteamworks steamwo
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[StructLayout( LayoutKind.Sequential, Pack = 8 )]
|
||||||
|
internal struct GetOPFSettingsResult_t
|
||||||
|
{
|
||||||
|
public const int CallbackId = CallbackIdentifiers.ClientVideo + 24;
|
||||||
|
public Result Result; // m_eResult enum EResult
|
||||||
|
public uint VideoAppID; // m_unVideoAppID AppId_t
|
||||||
|
|
||||||
|
//
|
||||||
|
// Read this struct from a pointer, usually from Native. It will automatically do the awesome stuff.
|
||||||
|
//
|
||||||
|
public static GetOPFSettingsResult_t FromPointer( IntPtr p )
|
||||||
|
{
|
||||||
|
if ( Platform.PackSmall ) return (PackSmall) Marshal.PtrToStructure( p, typeof(PackSmall) );
|
||||||
|
return (GetOPFSettingsResult_t) Marshal.PtrToStructure( p, typeof(GetOPFSettingsResult_t) );
|
||||||
|
}
|
||||||
|
|
||||||
|
[StructLayout( LayoutKind.Sequential, Pack = 4 )]
|
||||||
|
internal struct PackSmall
|
||||||
|
{
|
||||||
|
public Result Result; // m_eResult enum EResult
|
||||||
|
public uint VideoAppID; // m_unVideoAppID AppId_t
|
||||||
|
|
||||||
|
//
|
||||||
|
// Easily convert from PackSmall to GetOPFSettingsResult_t
|
||||||
|
//
|
||||||
|
public static implicit operator GetOPFSettingsResult_t ( GetOPFSettingsResult_t.PackSmall d )
|
||||||
|
{
|
||||||
|
return new GetOPFSettingsResult_t()
|
||||||
|
{
|
||||||
|
Result = d.Result,
|
||||||
|
VideoAppID = d.VideoAppID,
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void RegisterCallback( Facepunch.Steamworks.BaseSteamworks steamworks, Action<GetOPFSettingsResult_t, bool> CallbackFunction )
|
||||||
|
{
|
||||||
|
var handle = new CallbackHandle();
|
||||||
|
handle.steamworks = steamworks;
|
||||||
|
|
||||||
|
//
|
||||||
|
// Create the functions we need for the vtable
|
||||||
|
//
|
||||||
|
if ( Facepunch.Steamworks.Config.UseThisCall )
|
||||||
|
{
|
||||||
|
Callback.ThisCall.Result funcA = ( _, p ) => { CallbackFunction( FromPointer( p ), false ); };
|
||||||
|
Callback.ThisCall.ResultWithInfo funcB = ( _, p, bIOFailure, hSteamAPICall ) => { CallbackFunction( FromPointer( p ), bIOFailure ); };
|
||||||
|
Callback.ThisCall.GetSize funcC = ( _ ) => Marshal.SizeOf( typeof( GetOPFSettingsResult_t ) );
|
||||||
|
|
||||||
|
//
|
||||||
|
// If this platform is PackSmall, use PackSmall versions of everything instead
|
||||||
|
//
|
||||||
|
if ( Platform.PackSmall )
|
||||||
|
{
|
||||||
|
funcC = ( _ ) => Marshal.SizeOf( typeof( PackSmall ) );
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Allocate a handle to each function, so they don't get disposed
|
||||||
|
//
|
||||||
|
handle.FuncA = GCHandle.Alloc( funcA );
|
||||||
|
handle.FuncB = GCHandle.Alloc( funcB );
|
||||||
|
handle.FuncC = GCHandle.Alloc( funcC );
|
||||||
|
|
||||||
|
//
|
||||||
|
// Create the VTable by manually allocating the memory and copying across
|
||||||
|
//
|
||||||
|
handle.vTablePtr = Marshal.AllocHGlobal( Marshal.SizeOf( typeof( Callback.VTable ) ) );
|
||||||
|
var vTable = new Callback.VTable()
|
||||||
|
{
|
||||||
|
ResultA = Marshal.GetFunctionPointerForDelegate( funcA ),
|
||||||
|
ResultB = Marshal.GetFunctionPointerForDelegate( funcB ),
|
||||||
|
GetSize = Marshal.GetFunctionPointerForDelegate( funcC ),
|
||||||
|
};
|
||||||
|
//
|
||||||
|
// The order of these functions are swapped on Windows
|
||||||
|
//
|
||||||
|
if ( Platform.IsWindows )
|
||||||
|
{
|
||||||
|
vTable.ResultA = Marshal.GetFunctionPointerForDelegate( funcB );
|
||||||
|
vTable.ResultB = Marshal.GetFunctionPointerForDelegate( funcA );
|
||||||
|
}
|
||||||
|
Marshal.StructureToPtr( vTable, handle.vTablePtr, false );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Callback.StdCall.Result funcA = ( p ) => { CallbackFunction( FromPointer( p ), false ); };
|
||||||
|
Callback.StdCall.ResultWithInfo funcB = ( p, bIOFailure, hSteamAPICall ) => { CallbackFunction( FromPointer( p ), bIOFailure ); };
|
||||||
|
Callback.StdCall.GetSize funcC = ( ) => Marshal.SizeOf( typeof( GetOPFSettingsResult_t ) );
|
||||||
|
|
||||||
|
//
|
||||||
|
// If this platform is PackSmall, use PackSmall versions of everything instead
|
||||||
|
//
|
||||||
|
if ( Platform.PackSmall )
|
||||||
|
{
|
||||||
|
funcC = ( ) => Marshal.SizeOf( typeof( PackSmall ) );
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Allocate a handle to each function, so they don't get disposed
|
||||||
|
//
|
||||||
|
handle.FuncA = GCHandle.Alloc( funcA );
|
||||||
|
handle.FuncB = GCHandle.Alloc( funcB );
|
||||||
|
handle.FuncC = GCHandle.Alloc( funcC );
|
||||||
|
|
||||||
|
//
|
||||||
|
// Create the VTable by manually allocating the memory and copying across
|
||||||
|
//
|
||||||
|
handle.vTablePtr = Marshal.AllocHGlobal( Marshal.SizeOf( typeof( Callback.VTable ) ) );
|
||||||
|
var vTable = new Callback.VTable()
|
||||||
|
{
|
||||||
|
ResultA = Marshal.GetFunctionPointerForDelegate( funcA ),
|
||||||
|
ResultB = Marshal.GetFunctionPointerForDelegate( funcB ),
|
||||||
|
GetSize = Marshal.GetFunctionPointerForDelegate( funcC ),
|
||||||
|
};
|
||||||
|
//
|
||||||
|
// The order of these functions are swapped on Windows
|
||||||
|
//
|
||||||
|
if ( Platform.IsWindows )
|
||||||
|
{
|
||||||
|
vTable.ResultA = Marshal.GetFunctionPointerForDelegate( funcB );
|
||||||
|
vTable.ResultB = Marshal.GetFunctionPointerForDelegate( funcA );
|
||||||
|
}
|
||||||
|
Marshal.StructureToPtr( vTable, handle.vTablePtr, false );
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Create the callback object
|
||||||
|
//
|
||||||
|
var cb = new Callback();
|
||||||
|
cb.vTablePtr = handle.vTablePtr;
|
||||||
|
cb.CallbackFlags = steamworks.IsGameServer ? (byte) SteamNative.Callback.Flags.GameServer : (byte) 0;
|
||||||
|
cb.CallbackId = CallbackId;
|
||||||
|
|
||||||
|
//
|
||||||
|
// Pin the callback, so it doesn't get garbage collected and we can pass the pointer to native
|
||||||
|
//
|
||||||
|
handle.PinnedCallback = GCHandle.Alloc( cb, GCHandleType.Pinned );
|
||||||
|
|
||||||
|
//
|
||||||
|
// Register the callback with Steam
|
||||||
|
//
|
||||||
|
steamworks.native.api.SteamAPI_RegisterCallback( handle.PinnedCallback.AddrOfPinnedObject(), CallbackId );
|
||||||
|
|
||||||
|
steamworks.RegisterCallbackHandle( handle );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[StructLayout( LayoutKind.Sequential, Pack = 4 )]
|
[StructLayout( LayoutKind.Sequential, Pack = 4 )]
|
||||||
internal struct GSClientApprove_t
|
internal struct GSClientApprove_t
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user