(9d6a3f0b3) Parse Server Map as UTF8
This commit is contained in:
Binary file not shown.
@@ -55,7 +55,7 @@ namespace Facepunch.Steamworks
|
|||||||
Name = Encoding.UTF8.GetString(item.ServerName),
|
Name = Encoding.UTF8.GetString(item.ServerName),
|
||||||
Ping = item.Ping,
|
Ping = item.Ping,
|
||||||
GameDir = item.GameDir,
|
GameDir = item.GameDir,
|
||||||
Map = item.Map,
|
Map = Encoding.UTF8.GetString(item.Map),
|
||||||
Description = item.GameDescription,
|
Description = item.GameDescription,
|
||||||
AppId = item.AppID,
|
AppId = item.AppID,
|
||||||
Players = item.Players,
|
Players = item.Players,
|
||||||
|
|||||||
@@ -5658,8 +5658,8 @@ namespace SteamNative
|
|||||||
internal bool DoNotRefresh; // m_bDoNotRefresh _Bool
|
internal bool DoNotRefresh; // m_bDoNotRefresh _Bool
|
||||||
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)]
|
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)]
|
||||||
internal string GameDir; // m_szGameDir char [32]
|
internal string GameDir; // m_szGameDir char [32]
|
||||||
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)]
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 32)]
|
||||||
internal string Map; // m_szMap char [32]
|
internal byte[] Map; // m_szMap char [32]
|
||||||
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 64)]
|
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 64)]
|
||||||
internal string GameDescription; // m_szGameDescription char [64]
|
internal string GameDescription; // m_szGameDescription char [64]
|
||||||
internal uint AppID; // m_nAppID uint32
|
internal uint AppID; // m_nAppID uint32
|
||||||
@@ -5707,8 +5707,8 @@ namespace SteamNative
|
|||||||
internal bool DoNotRefresh; // m_bDoNotRefresh _Bool
|
internal bool DoNotRefresh; // m_bDoNotRefresh _Bool
|
||||||
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)]
|
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)]
|
||||||
internal string GameDir; // m_szGameDir char [32]
|
internal string GameDir; // m_szGameDir char [32]
|
||||||
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)]
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 32)]
|
||||||
internal string Map; // m_szMap char [32]
|
internal byte[] Map; // m_szMap char [32]
|
||||||
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 64)]
|
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 64)]
|
||||||
internal string GameDescription; // m_szGameDescription char [64]
|
internal string GameDescription; // m_szGameDescription char [64]
|
||||||
internal uint AppID; // m_nAppID uint32
|
internal uint AppID; // m_nAppID uint32
|
||||||
@@ -5739,7 +5739,7 @@ namespace SteamNative
|
|||||||
HadSuccessfulResponse = d.HadSuccessfulResponse,
|
HadSuccessfulResponse = d.HadSuccessfulResponse,
|
||||||
DoNotRefresh = d.DoNotRefresh,
|
DoNotRefresh = d.DoNotRefresh,
|
||||||
GameDir = d.GameDir,
|
GameDir = d.GameDir,
|
||||||
Map = d.Map,
|
Map = (byte[])d.Map.Clone(),
|
||||||
GameDescription = d.GameDescription,
|
GameDescription = d.GameDescription,
|
||||||
AppID = d.AppID,
|
AppID = d.AppID,
|
||||||
Players = d.Players,
|
Players = d.Players,
|
||||||
|
|||||||
Reference in New Issue
Block a user