mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 06:05:46 +03:00
SteamAPI_ISteamMatchmakingServers_ServerRules port is short, not char
This commit is contained in:
parent
22cfc740b1
commit
14b426b48a
@ -456,7 +456,7 @@ internal class NativeEntrypoints
|
||||
[DllImportAttribute( "FacepunchSteamworksApi", CallingConvention = CallingConvention.Cdecl, EntryPoint = "SteamAPI_ISteamMatchmakingServers_PlayerDetails" )]
|
||||
internal static extern uint SteamAPI_ISteamMatchmakingServers_PlayerDetails( IntPtr instancePtr, uint unIP, char usPort, IntPtr pRequestServersResponse );
|
||||
[DllImportAttribute( "FacepunchSteamworksApi", CallingConvention = CallingConvention.Cdecl, EntryPoint = "SteamAPI_ISteamMatchmakingServers_ServerRules" )]
|
||||
internal static extern uint SteamAPI_ISteamMatchmakingServers_ServerRules( IntPtr instancePtr, uint unIP, char usPort, IntPtr pRequestServersResponse );
|
||||
internal static extern uint SteamAPI_ISteamMatchmakingServers_ServerRules( IntPtr instancePtr, uint unIP, short usPort, IntPtr pRequestServersResponse );
|
||||
[DllImportAttribute( "FacepunchSteamworksApi", CallingConvention = CallingConvention.Cdecl, EntryPoint = "SteamAPI_ISteamMatchmakingServers_CancelServerQuery" )]
|
||||
internal static extern void SteamAPI_ISteamMatchmakingServers_CancelServerQuery( IntPtr instancePtr, uint hServerQuery );
|
||||
[DllImportAttribute( "FacepunchSteamworksApi", CallingConvention = CallingConvention.Cdecl, EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWrite" )]
|
||||
@ -3864,7 +3864,7 @@ internal override uint PlayerDetails( uint unIP, char usPort, ISteamMatchmakingP
|
||||
internal override uint ServerRules( uint unIP, char usPort, ISteamMatchmakingRulesResponse pRequestServersResponse )
|
||||
{
|
||||
CheckIfUsable();
|
||||
uint result = NativeEntrypoints.SteamAPI_ISteamMatchmakingServers_ServerRules(m_pSteamMatchmakingServers,unIP,usPort,pRequestServersResponse.GetIntPtr());
|
||||
uint result = NativeEntrypoints.SteamAPI_ISteamMatchmakingServers_ServerRules(m_pSteamMatchmakingServers,unIP, (short)usPort,pRequestServersResponse.GetIntPtr());
|
||||
return result;
|
||||
}
|
||||
internal override void CancelServerQuery( uint hServerQuery )
|
||||
|
Loading…
Reference in New Issue
Block a user