Unstable 1.1.14.0

This commit is contained in:
Markus Isberg
2023-10-02 16:43:54 +03:00
parent 94f5a93a0c
commit cf8f0de659
606 changed files with 21906 additions and 11456 deletions
@@ -7,7 +7,7 @@ using Steamworks.Data;
namespace Steamworks
{
internal class ISteamMatchmaking : SteamInterface
internal unsafe class ISteamMatchmaking : SteamInterface
{
internal ISteamMatchmaking( bool IsGameServer )
@@ -266,10 +266,8 @@ namespace Steamworks
#endregion
internal bool GetLobbyDataByIndex( SteamId steamIDLobby, int iLobbyData, out string pchKey, out string pchValue )
{
using var memoryKey = Helpers.TakeMemory();
using var memoryValue = Helpers.TakeMemory();
IntPtr mempchKey = memoryKey;
IntPtr mempchValue = memoryValue;
using var mempchKey = Helpers.TakeMemory();
using var mempchValue = Helpers.TakeMemory();
var returnValue = _GetLobbyDataByIndex( Self, steamIDLobby, iLobbyData, mempchKey, (1024 * 32), mempchValue, (1024 * 32) );
pchKey = Helpers.MemoryToString( mempchKey );
pchValue = Helpers.MemoryToString( mempchValue );