Release 1.9.7.0 - Summer Update 2025
This commit is contained in:
+5
-5
@@ -7,9 +7,8 @@ using Steamworks.Data;
|
||||
|
||||
namespace Steamworks
|
||||
{
|
||||
internal unsafe class ISteamMatchmakingPlayersResponse : SteamInterface
|
||||
internal unsafe partial class ISteamMatchmakingPlayersResponse : SteamInterface
|
||||
{
|
||||
|
||||
internal ISteamMatchmakingPlayersResponse( bool IsGameServer )
|
||||
{
|
||||
SetupInterface( IsGameServer );
|
||||
@@ -17,12 +16,13 @@ namespace Steamworks
|
||||
|
||||
#region FunctionMeta
|
||||
[DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_ISteamMatchmakingPlayersResponse_AddPlayerToList", CallingConvention = Platform.CC)]
|
||||
private static extern void _AddPlayerToList( IntPtr self, [MarshalAs( UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof( Utf8StringToNative ) )] string pchName, int nScore, float flTimePlayed );
|
||||
private static extern void _AddPlayerToList( IntPtr self, IntPtr pchName, int nScore, float flTimePlayed );
|
||||
|
||||
#endregion
|
||||
internal void AddPlayerToList( [MarshalAs( UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof( Utf8StringToNative ) )] string pchName, int nScore, float flTimePlayed )
|
||||
internal void AddPlayerToList( string pchName, int nScore, float flTimePlayed )
|
||||
{
|
||||
_AddPlayerToList( Self, pchName, nScore, flTimePlayed );
|
||||
using var str__pchName = new Utf8StringToNative( pchName );
|
||||
_AddPlayerToList( Self, str__pchName.Pointer, nScore, flTimePlayed );
|
||||
}
|
||||
|
||||
#region FunctionMeta
|
||||
|
||||
Reference in New Issue
Block a user