oh dear
This commit is contained in:
@@ -0,0 +1,214 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace Steamworks
|
||||
{
|
||||
// Token: 0x02001825 RID: 6181
|
||||
[Token(Token = "0x2001825")]
|
||||
public static class SteamParties
|
||||
{
|
||||
// Token: 0x06008D98 RID: 36248 RVA: 0x001D4ED4 File Offset: 0x001D30D4
|
||||
[Token(Token = "0x6008D98")]
|
||||
[Address(RVA = "0x1A96B70", Offset = "0x1A95970", VA = "0x181A96B70")]
|
||||
public static uint GetNumActiveBeacons()
|
||||
{
|
||||
InteropHelp.TestIfAvailableClient();
|
||||
return NativeMethods.ISteamParties_GetNumActiveBeacons(CSteamAPIContext.m_pSteamParties);
|
||||
}
|
||||
|
||||
// Token: 0x06008D99 RID: 36249 RVA: 0x001D4EF4 File Offset: 0x001D30F4
|
||||
[Token(Token = "0x6008D99")]
|
||||
[Address(RVA = "0x1A96870", Offset = "0x1A95670", VA = "0x181A96870")]
|
||||
public static PartyBeaconID_t GetBeaconByIndex(uint unIndex)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06008D99)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.PartyBeaconID_t Steamworks.SteamParties::GetBeaconByIndex(System.UInt32)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
call:void(InteropHelp::TestIfAvailableClient)
|
||||
stloc:TimeSpan(var_1_17, call:TimeSpan(TimeSpan::FromTicks, call:uint64[exp:int64](NativeMethods::ISteamParties_GetBeaconByIndex, ldsfld:native int(CSteamAPIContext::m_pSteamParties), ldloc:uint32(unIndex))))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06008D9A RID: 36250 RVA: 0x001D4F18 File Offset: 0x001D3118
|
||||
[Token(Token = "0x6008D9A")]
|
||||
[Address(RVA = "0x1A96910", Offset = "0x1A95710", VA = "0x181A96910")]
|
||||
public static bool GetBeaconDetails(PartyBeaconID_t ulBeaconID, out CSteamID pSteamIDBeaconOwner, out SteamPartyBeaconLocation_t pLocation, out string pchMetadata, int cchMetadata)
|
||||
{
|
||||
InteropHelp.TestIfAvailableClient();
|
||||
IntPtr intPtr = CSteamAPIContext.m_pSteamParties;
|
||||
bool flag;
|
||||
IntPtr intPtr2;
|
||||
if (flag)
|
||||
{
|
||||
intPtr = intPtr2;
|
||||
string text = InteropHelp.PtrToStringUTF8(intPtr);
|
||||
}
|
||||
Marshal.FreeHGlobal(intPtr2);
|
||||
return flag;
|
||||
}
|
||||
|
||||
// Token: 0x06008D9B RID: 36251 RVA: 0x001D4F4C File Offset: 0x001D314C
|
||||
[Token(Token = "0x6008D9B")]
|
||||
[Address(RVA = "0x1A96C10", Offset = "0x1A95A10", VA = "0x181A96C10")]
|
||||
public static SteamAPICall_t JoinParty(PartyBeaconID_t ulBeaconID)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06008D9B)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamParties::JoinParty(Steamworks.PartyBeaconID_t)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
call:void(InteropHelp::TestIfAvailableClient)
|
||||
stloc:TimeSpan(var_1_17, call:TimeSpan(TimeSpan::FromTicks, call:uint64[exp:int64](NativeMethods::ISteamParties_JoinParty, ldsfld:native int(CSteamAPIContext::m_pSteamParties), ldloc:PartyBeaconID_t(ulBeaconID))))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06008D9C RID: 36252 RVA: 0x001D4F70 File Offset: 0x001D3170
|
||||
[Token(Token = "0x6008D9C")]
|
||||
[Address(RVA = "0x1A96BC0", Offset = "0x1A959C0", VA = "0x181A96BC0")]
|
||||
public static bool GetNumAvailableBeaconLocations(out uint puNumLocations)
|
||||
{
|
||||
InteropHelp.TestIfAvailableClient();
|
||||
return NativeMethods.ISteamParties_GetNumAvailableBeaconLocations(CSteamAPIContext.m_pSteamParties, out puNumLocations);
|
||||
}
|
||||
|
||||
// Token: 0x06008D9D RID: 36253 RVA: 0x001D4F90 File Offset: 0x001D3190
|
||||
[Token(Token = "0x6008D9D")]
|
||||
[Address(RVA = "0x1A96810", Offset = "0x1A95610", VA = "0x181A96810")]
|
||||
public static bool GetAvailableBeaconLocations(SteamPartyBeaconLocation_t[] pLocationList, uint uMaxNumLocations)
|
||||
{
|
||||
InteropHelp.TestIfAvailableClient();
|
||||
return NativeMethods.ISteamParties_GetAvailableBeaconLocations(CSteamAPIContext.m_pSteamParties, pLocationList, uMaxNumLocations);
|
||||
}
|
||||
|
||||
// Token: 0x06008D9E RID: 36254 RVA: 0x001D4FB0 File Offset: 0x001D31B0
|
||||
[Token(Token = "0x6008D9E")]
|
||||
[Address(RVA = "0x1A965E0", Offset = "0x1A953E0", VA = "0x181A965E0")]
|
||||
public static SteamAPICall_t CreateBeacon(uint unOpenSlots, ref SteamPartyBeaconLocation_t pBeaconLocation, string pchConnectString, string pchMetadata)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06008D9E)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamParties::CreateBeacon(System.UInt32,Steamworks.SteamPartyBeaconLocation_t&,System.String,System.String)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_37:
|
||||
brtrue(IL_00, cne:bool(ldloc:int32(var_0_01), ldc.i4:int32(0)))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06008D9F RID: 36255 RVA: 0x001D4FF8 File Offset: 0x001D31F8
|
||||
[Token(Token = "0x6008D9F")]
|
||||
[Address(RVA = "0x1A96CB0", Offset = "0x1A95AB0", VA = "0x181A96CB0")]
|
||||
public static void OnReservationCompleted(PartyBeaconID_t ulBeacon, CSteamID steamIDUser)
|
||||
{
|
||||
InteropHelp.TestIfAvailableClient();
|
||||
NativeMethods.ISteamParties_OnReservationCompleted(CSteamAPIContext.m_pSteamParties, ulBeacon, steamIDUser);
|
||||
}
|
||||
|
||||
// Token: 0x06008DA0 RID: 36256 RVA: 0x001D5018 File Offset: 0x001D3218
|
||||
[Token(Token = "0x6008DA0")]
|
||||
[Address(RVA = "0x1A964D0", Offset = "0x1A952D0", VA = "0x181A964D0")]
|
||||
public static void CancelReservation(PartyBeaconID_t ulBeacon, CSteamID steamIDUser)
|
||||
{
|
||||
InteropHelp.TestIfAvailableClient();
|
||||
NativeMethods.ISteamParties_CancelReservation(CSteamAPIContext.m_pSteamParties, ulBeacon, steamIDUser);
|
||||
}
|
||||
|
||||
// Token: 0x06008DA1 RID: 36257 RVA: 0x001D5038 File Offset: 0x001D3238
|
||||
[Token(Token = "0x6008DA1")]
|
||||
[Address(RVA = "0x1A96530", Offset = "0x1A95330", VA = "0x181A96530")]
|
||||
public static SteamAPICall_t ChangeNumOpenSlots(PartyBeaconID_t ulBeacon, uint unOpenSlots)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06008DA1)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamParties::ChangeNumOpenSlots(Steamworks.PartyBeaconID_t,System.UInt32)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
call:void(InteropHelp::TestIfAvailableClient)
|
||||
stloc:uint64(var_1_13, call:uint64(NativeMethods::ISteamParties_ChangeNumOpenSlots, ldsfld:native int(CSteamAPIContext::m_pSteamParties), ldloc:PartyBeaconID_t(ulBeacon), ldloc:uint32(unOpenSlots)))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06008DA2 RID: 36258 RVA: 0x001D5058 File Offset: 0x001D3258
|
||||
[Token(Token = "0x6008DA2")]
|
||||
[Address(RVA = "0x1A967C0", Offset = "0x1A955C0", VA = "0x181A967C0")]
|
||||
public static bool DestroyBeacon(PartyBeaconID_t ulBeacon)
|
||||
{
|
||||
InteropHelp.TestIfAvailableClient();
|
||||
return NativeMethods.ISteamParties_DestroyBeacon(CSteamAPIContext.m_pSteamParties, ulBeacon);
|
||||
}
|
||||
|
||||
// Token: 0x06008DA3 RID: 36259 RVA: 0x001D5078 File Offset: 0x001D3278
|
||||
[Token(Token = "0x6008DA3")]
|
||||
[Address(RVA = "0x1A96A40", Offset = "0x1A95840", VA = "0x181A96A40")]
|
||||
public static bool GetBeaconLocationData(SteamPartyBeaconLocation_t BeaconLocation, ESteamPartyBeaconLocationData eData, out string pchDataStringOut, int cchDataStringOut)
|
||||
{
|
||||
InteropHelp.TestIfAvailableClient();
|
||||
IntPtr intPtr = Marshal.AllocHGlobal(cchDataStringOut);
|
||||
IntPtr intPtr2 = CSteamAPIContext.m_pSteamParties;
|
||||
bool flag;
|
||||
if (flag)
|
||||
{
|
||||
intPtr2 = intPtr;
|
||||
string text = InteropHelp.PtrToStringUTF8(intPtr2);
|
||||
}
|
||||
Marshal.FreeHGlobal(intPtr);
|
||||
return flag;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user