mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-27 23:25:55 +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 uint GameIP; // m_unGameIP uint32
|
||||||
internal ulong SteamIDLobby; // m_steamIDLobby class CSteamID
|
internal ulong SteamIDLobby; // m_steamIDLobby class CSteamID
|
||||||
|
|
||||||
public int GamePort;
|
public int ConnectionPort;
|
||||||
public int QueryPort;
|
public int QueryPort;
|
||||||
|
|
||||||
|
public uint IpAddressRaw => GameIP;
|
||||||
public System.Net.IPAddress IpAddress => Utility.Int32ToIp( GameIP );
|
public System.Net.IPAddress IpAddress => Utility.Int32ToIp( GameIP );
|
||||||
|
|
||||||
public Lobby? Lobby
|
public Lobby? Lobby
|
||||||
@ -138,7 +139,7 @@ internal static FriendGameInfo From( FriendGameInfo_t i )
|
|||||||
{
|
{
|
||||||
GameID = i.GameID,
|
GameID = i.GameID,
|
||||||
GameIP = i.GameIP,
|
GameIP = i.GameIP,
|
||||||
GamePort = i.GamePort,
|
ConnectionPort = i.GamePort,
|
||||||
QueryPort = i.QueryPort,
|
QueryPort = i.QueryPort,
|
||||||
SteamIDLobby = i.SteamIDLobby,
|
SteamIDLobby = i.SteamIDLobby,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user