mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-27 07:05:50 +03:00
Changed FriendGameInfo GamePort to ConnectionPort to match ServerInfo
This commit is contained in:
parent
91e9e162f3
commit
ffb0c7a830
@ -118,9 +118,10 @@ public struct FriendGameInfo
|
||||
internal uint GameIP; // m_unGameIP uint32
|
||||
internal ulong SteamIDLobby; // m_steamIDLobby class CSteamID
|
||||
|
||||
public int GamePort;
|
||||
public int ConnectionPort;
|
||||
public int QueryPort;
|
||||
|
||||
public uint IpAddressRaw => GameIP;
|
||||
public System.Net.IPAddress IpAddress => Utility.Int32ToIp( GameIP );
|
||||
|
||||
public Lobby? Lobby
|
||||
@ -138,7 +139,7 @@ internal static FriendGameInfo From( FriendGameInfo_t i )
|
||||
{
|
||||
GameID = i.GameID,
|
||||
GameIP = i.GameIP,
|
||||
GamePort = i.GamePort,
|
||||
ConnectionPort = i.GamePort,
|
||||
QueryPort = i.QueryPort,
|
||||
SteamIDLobby = i.SteamIDLobby,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user