1131 lines
76 KiB
C#
1131 lines
76 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace Steamworks
|
|
{
|
|
// Token: 0x020011F5 RID: 4597
|
|
[Token(Token = "0x20011F5")]
|
|
[StructLayout(3)]
|
|
public static class SteamFriends
|
|
{
|
|
// Token: 0x06006BD1 RID: 27601 RVA: 0x0016DD94 File Offset: 0x0016BF94
|
|
[Token(Token = "0x6006BD1")]
|
|
[Address(RVA = "0x2A1EE60", Offset = "0x2A1D860", VA = "0x182A1EE60")]
|
|
public static string GetPersonaName()
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr intPtr = CSteamAPIContext.m_pSteamFriends;
|
|
intPtr = NativeMethods.ISteamFriends_GetPersonaName(intPtr);
|
|
return InteropHelp.PtrToStringUTF8(intPtr);
|
|
}
|
|
|
|
// Token: 0x06006BD2 RID: 27602 RVA: 0x0016DDBC File Offset: 0x0016BFBC
|
|
[Token(Token = "0x6006BD2")]
|
|
[Address(RVA = "0x2A1F980", Offset = "0x2A1E380", VA = "0x182A1F980")]
|
|
public static SteamAPICall_t SetPersonaName(string pchPersonaName)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006BD2)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamFriends::SetPersonaName(System.String)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_24:
|
|
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.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: 0x06006BD3 RID: 27603 RVA: 0x0016DDF0 File Offset: 0x0016BFF0
|
|
[Token(Token = "0x6006BD3")]
|
|
[Address(RVA = "0x2A1EEB0", Offset = "0x2A1D8B0", VA = "0x182A1EEB0")]
|
|
public static EPersonaState GetPersonaState()
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_GetPersonaState(CSteamAPIContext.m_pSteamFriends);
|
|
}
|
|
|
|
// Token: 0x06006BD4 RID: 27604 RVA: 0x0016DE10 File Offset: 0x0016C010
|
|
[Token(Token = "0x6006BD4")]
|
|
[Address(RVA = "0x2A1E510", Offset = "0x2A1CF10", VA = "0x182A1E510")]
|
|
public static int GetFriendCount(EFriendFlags iFriendFlags)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamFriends = CSteamAPIContext.m_pSteamFriends;
|
|
int num;
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06006BD5 RID: 27605 RVA: 0x0016DE2C File Offset: 0x0016C02C
|
|
[Token(Token = "0x6006BD5")]
|
|
[Address(RVA = "0x2A1E330", Offset = "0x2A1CD30", VA = "0x182A1E330")]
|
|
public static CSteamID GetFriendByIndex(int iFriend, EFriendFlags iFriendFlags)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006BD5)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.CSteamID Steamworks.SteamFriends::GetFriendByIndex(System.Int32,Steamworks.EFriendFlags)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableClient)
|
|
stloc:native int(var_1_0C, ldsfld:native int(CSteamAPIContext::m_pSteamFriends))
|
|
}
|
|
|
|
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: 0x06006BD6 RID: 27606 RVA: 0x0016DE48 File Offset: 0x0016C048
|
|
[Token(Token = "0x6006BD6")]
|
|
[Address(RVA = "0x2A1E8B0", Offset = "0x2A1D2B0", VA = "0x182A1E8B0")]
|
|
public static EFriendRelationship GetFriendRelationship(CSteamID steamIDFriend)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_GetFriendRelationship(CSteamAPIContext.m_pSteamFriends, steamIDFriend);
|
|
}
|
|
|
|
// Token: 0x06006BD7 RID: 27607 RVA: 0x0016DE68 File Offset: 0x0016C068
|
|
[Token(Token = "0x6006BD7")]
|
|
[Address(RVA = "0x2A1E860", Offset = "0x2A1D260", VA = "0x182A1E860")]
|
|
public static EPersonaState GetFriendPersonaState(CSteamID steamIDFriend)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_GetFriendPersonaState(CSteamAPIContext.m_pSteamFriends, steamIDFriend);
|
|
}
|
|
|
|
// Token: 0x06006BD8 RID: 27608 RVA: 0x0016DE88 File Offset: 0x0016C088
|
|
[Token(Token = "0x6006BD8")]
|
|
[Address(RVA = "0x2A1E800", Offset = "0x2A1D200", VA = "0x182A1E800")]
|
|
public static string GetFriendPersonaName(CSteamID steamIDFriend)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr intPtr = CSteamAPIContext.m_pSteamFriends;
|
|
intPtr = NativeMethods.ISteamFriends_GetFriendPersonaName(intPtr, steamIDFriend);
|
|
return InteropHelp.PtrToStringUTF8(intPtr);
|
|
}
|
|
|
|
// Token: 0x06006BD9 RID: 27609 RVA: 0x0016DEB0 File Offset: 0x0016C0B0
|
|
[Token(Token = "0x6006BD9")]
|
|
[Address(RVA = "0x2A1E610", Offset = "0x2A1D010", VA = "0x182A1E610")]
|
|
public static bool GetFriendGamePlayed(CSteamID steamIDFriend, out FriendGameInfo_t pFriendGameInfo)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_GetFriendGamePlayed(CSteamAPIContext.m_pSteamFriends, steamIDFriend, out pFriendGameInfo);
|
|
}
|
|
|
|
// Token: 0x06006BDA RID: 27610 RVA: 0x0016DED0 File Offset: 0x0016C0D0
|
|
[Token(Token = "0x6006BDA")]
|
|
[Address(RVA = "0x2A1E790", Offset = "0x2A1D190", VA = "0x182A1E790")]
|
|
public static string GetFriendPersonaNameHistory(CSteamID steamIDFriend, int iPersonaName)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr intPtr = CSteamAPIContext.m_pSteamFriends;
|
|
intPtr = NativeMethods.ISteamFriends_GetFriendPersonaNameHistory(intPtr, steamIDFriend, iPersonaName);
|
|
return InteropHelp.PtrToStringUTF8(intPtr);
|
|
}
|
|
|
|
// Token: 0x06006BDB RID: 27611 RVA: 0x0016DEFC File Offset: 0x0016C0FC
|
|
[Token(Token = "0x6006BDB")]
|
|
[Address(RVA = "0x2A1EB00", Offset = "0x2A1D500", VA = "0x182A1EB00")]
|
|
public static int GetFriendSteamLevel(CSteamID steamIDFriend)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_GetFriendSteamLevel(CSteamAPIContext.m_pSteamFriends, steamIDFriend);
|
|
}
|
|
|
|
// Token: 0x06006BDC RID: 27612 RVA: 0x0016DF1C File Offset: 0x0016C11C
|
|
[Token(Token = "0x6006BDC")]
|
|
[Address(RVA = "0x2A1EF00", Offset = "0x2A1D900", VA = "0x182A1EF00")]
|
|
public static string GetPlayerNickname(CSteamID steamIDPlayer)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr intPtr = CSteamAPIContext.m_pSteamFriends;
|
|
intPtr = NativeMethods.ISteamFriends_GetPlayerNickname(intPtr, steamIDPlayer);
|
|
return InteropHelp.PtrToStringUTF8(intPtr);
|
|
}
|
|
|
|
// Token: 0x06006BDD RID: 27613 RVA: 0x0016DF44 File Offset: 0x0016C144
|
|
[Token(Token = "0x6006BDD")]
|
|
[Address(RVA = "0x2A1EB50", Offset = "0x2A1D550", VA = "0x182A1EB50")]
|
|
public static int GetFriendsGroupCount()
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_GetFriendsGroupCount(CSteamAPIContext.m_pSteamFriends);
|
|
}
|
|
|
|
// Token: 0x06006BDE RID: 27614 RVA: 0x0016DF64 File Offset: 0x0016C164
|
|
[Token(Token = "0x6006BDE")]
|
|
[Address(RVA = "0x2A1EBA0", Offset = "0x2A1D5A0", VA = "0x182A1EBA0")]
|
|
public static FriendsGroupID_t GetFriendsGroupIDByIndex(int iFG)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006BDE)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.FriendsGroupID_t Steamworks.SteamFriends::GetFriendsGroupIDByIndex(System.Int32)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableClient)
|
|
stloc:char(var_1_17, call:char(Convert::ToChar, call:int16[exp:uint16](NativeMethods::ISteamFriends_GetFriendsGroupIDByIndex, ldsfld:native int(CSteamAPIContext::m_pSteamFriends), ldloc:int32(iFG))))
|
|
}
|
|
|
|
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: 0x06006BDF RID: 27615 RVA: 0x0016DF88 File Offset: 0x0016C188
|
|
[Token(Token = "0x6006BDF")]
|
|
[Address(RVA = "0x2A1ED10", Offset = "0x2A1D710", VA = "0x182A1ED10")]
|
|
public static string GetFriendsGroupName(FriendsGroupID_t friendsGroupID)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr intPtr = CSteamAPIContext.m_pSteamFriends;
|
|
intPtr = NativeMethods.ISteamFriends_GetFriendsGroupName(intPtr, friendsGroupID);
|
|
return InteropHelp.PtrToStringUTF8(intPtr);
|
|
}
|
|
|
|
// Token: 0x06006BE0 RID: 27616 RVA: 0x0016DFB0 File Offset: 0x0016C1B0
|
|
[Token(Token = "0x6006BE0")]
|
|
[Address(RVA = "0x2A1EC40", Offset = "0x2A1D640", VA = "0x182A1EC40")]
|
|
public static int GetFriendsGroupMembersCount(FriendsGroupID_t friendsGroupID)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_GetFriendsGroupMembersCount(CSteamAPIContext.m_pSteamFriends, friendsGroupID);
|
|
}
|
|
|
|
// Token: 0x06006BE1 RID: 27617 RVA: 0x0016DFD0 File Offset: 0x0016C1D0
|
|
[Token(Token = "0x6006BE1")]
|
|
[Address(RVA = "0x2A1EC90", Offset = "0x2A1D690", VA = "0x182A1EC90")]
|
|
public static void GetFriendsGroupMembersList(FriendsGroupID_t friendsGroupID, CSteamID[] pOutSteamIDMembers, int nMembersCount)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
NativeMethods.ISteamFriends_GetFriendsGroupMembersList(CSteamAPIContext.m_pSteamFriends, friendsGroupID, pOutSteamIDMembers, nMembersCount);
|
|
}
|
|
|
|
// Token: 0x06006BE2 RID: 27618 RVA: 0x0016DFF4 File Offset: 0x0016C1F4
|
|
[Token(Token = "0x6006BE2")]
|
|
[Address(RVA = "0x2A1F000", Offset = "0x2A1DA00", VA = "0x182A1F000")]
|
|
public static bool HasFriend(CSteamID steamIDFriend, EFriendFlags iFriendFlags)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamFriends = CSteamAPIContext.m_pSteamFriends;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006BE3 RID: 27619 RVA: 0x0016E010 File Offset: 0x0016C210
|
|
[Token(Token = "0x6006BE3")]
|
|
[Address(RVA = "0x2A1DF00", Offset = "0x2A1C900", VA = "0x182A1DF00")]
|
|
public static int GetClanCount()
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_GetClanCount(CSteamAPIContext.m_pSteamFriends);
|
|
}
|
|
|
|
// Token: 0x06006BE4 RID: 27620 RVA: 0x0016E030 File Offset: 0x0016C230
|
|
[Token(Token = "0x6006BE4")]
|
|
[Address(RVA = "0x2A1DCE0", Offset = "0x2A1C6E0", VA = "0x182A1DCE0")]
|
|
public static CSteamID GetClanByIndex(int iClan)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006BE4)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.CSteamID Steamworks.SteamFriends::GetClanByIndex(System.Int32)
|
|
|
|
---> 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::ISteamFriends_GetClanByIndex, ldsfld:native int(CSteamAPIContext::m_pSteamFriends), ldloc:int32(iClan))))
|
|
}
|
|
|
|
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: 0x06006BE5 RID: 27621 RVA: 0x0016E054 File Offset: 0x0016C254
|
|
[Token(Token = "0x6006BE5")]
|
|
[Address(RVA = "0x2A1DF50", Offset = "0x2A1C950", VA = "0x182A1DF50")]
|
|
public static string GetClanName(CSteamID steamIDClan)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr intPtr = CSteamAPIContext.m_pSteamFriends;
|
|
intPtr = NativeMethods.ISteamFriends_GetClanName(intPtr, steamIDClan);
|
|
return InteropHelp.PtrToStringUTF8(intPtr);
|
|
}
|
|
|
|
// Token: 0x06006BE6 RID: 27622 RVA: 0x0016E07C File Offset: 0x0016C27C
|
|
[Token(Token = "0x6006BE6")]
|
|
[Address(RVA = "0x2A1E150", Offset = "0x2A1CB50", VA = "0x182A1E150")]
|
|
public static string GetClanTag(CSteamID steamIDClan)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr intPtr = CSteamAPIContext.m_pSteamFriends;
|
|
intPtr = NativeMethods.ISteamFriends_GetClanTag(intPtr, steamIDClan);
|
|
return InteropHelp.PtrToStringUTF8(intPtr);
|
|
}
|
|
|
|
// Token: 0x06006BE7 RID: 27623 RVA: 0x0016E0A4 File Offset: 0x0016C2A4
|
|
[Token(Token = "0x6006BE7")]
|
|
[Address(RVA = "0x2A1DC50", Offset = "0x2A1C650", VA = "0x182A1DC50")]
|
|
public static bool GetClanActivityCounts(CSteamID steamIDClan, out int pnOnline, out int pnInGame, out int pnChatting)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_GetClanActivityCounts(CSteamAPIContext.m_pSteamFriends, steamIDClan, out pnOnline, out pnInGame, out pnChatting);
|
|
}
|
|
|
|
// Token: 0x06006BE8 RID: 27624 RVA: 0x0016E0C8 File Offset: 0x0016C2C8
|
|
[Token(Token = "0x6006BE8")]
|
|
[Address(RVA = "0x2A1DA70", Offset = "0x2A1C470", VA = "0x182A1DA70")]
|
|
public static SteamAPICall_t DownloadClanActivityCounts(CSteamID[] psteamIDClans, int cClansToRequest)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006BE8)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamFriends::DownloadClanActivityCounts(Steamworks.CSteamID[],System.Int32)
|
|
|
|
---> 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::ISteamFriends_DownloadClanActivityCounts, ldsfld:native int(CSteamAPIContext::m_pSteamFriends), ldloc:valuetype Steamworks.CSteamID[](psteamIDClans), ldloc:int32(cClansToRequest)))
|
|
}
|
|
|
|
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: 0x06006BE9 RID: 27625 RVA: 0x0016E0E8 File Offset: 0x0016C2E8
|
|
[Token(Token = "0x6006BE9")]
|
|
[Address(RVA = "0x2A1E4C0", Offset = "0x2A1CEC0", VA = "0x182A1E4C0")]
|
|
public static int GetFriendCountFromSource(CSteamID steamIDSource)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_GetFriendCountFromSource(CSteamAPIContext.m_pSteamFriends, steamIDSource);
|
|
}
|
|
|
|
// Token: 0x06006BEA RID: 27626 RVA: 0x0016E108 File Offset: 0x0016C308
|
|
[Token(Token = "0x6006BEA")]
|
|
[Address(RVA = "0x2A1E560", Offset = "0x2A1CF60", VA = "0x182A1E560")]
|
|
public static CSteamID GetFriendFromSourceByIndex(CSteamID steamIDSource, int iFriend)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006BEA)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.CSteamID Steamworks.SteamFriends::GetFriendFromSourceByIndex(Steamworks.CSteamID,System.Int32)
|
|
|
|
---> 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::ISteamFriends_GetFriendFromSourceByIndex, ldsfld:native int(CSteamAPIContext::m_pSteamFriends), ldloc:CSteamID(steamIDSource), ldloc:int32(iFriend)))
|
|
}
|
|
|
|
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: 0x06006BEB RID: 27627 RVA: 0x0016E128 File Offset: 0x0016C328
|
|
[Token(Token = "0x6006BEB")]
|
|
[Address(RVA = "0x2A1F380", Offset = "0x2A1DD80", VA = "0x182A1F380")]
|
|
public static bool IsUserInSource(CSteamID steamIDUser, CSteamID steamIDSource)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_IsUserInSource(CSteamAPIContext.m_pSteamFriends, steamIDUser, steamIDSource);
|
|
}
|
|
|
|
// Token: 0x06006BEC RID: 27628 RVA: 0x0016E148 File Offset: 0x0016C348
|
|
[Token(Token = "0x6006BEC")]
|
|
[Address(RVA = "0x2A1F8D0", Offset = "0x2A1E2D0", VA = "0x182A1F8D0")]
|
|
public static void SetInGameVoiceSpeaking(CSteamID steamIDUser, bool bSpeaking)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
NativeMethods.ISteamFriends_SetInGameVoiceSpeaking(CSteamAPIContext.m_pSteamFriends, steamIDUser, bSpeaking);
|
|
}
|
|
|
|
// Token: 0x06006BED RID: 27629 RVA: 0x0016E168 File Offset: 0x0016C368
|
|
[Token(Token = "0x6006BED")]
|
|
[Address(RVA = "0x2A1D8C0", Offset = "0x2A1C2C0", VA = "0x182A1D8C0")]
|
|
public static void ActivateGameOverlay(string pchDialog)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableClient();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchDialog);
|
|
NativeMethods.ISteamFriends_ActivateGameOverlay(CSteamAPIContext.m_pSteamFriends, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06006BEE RID: 27630 RVA: 0x0016E19C File Offset: 0x0016C39C
|
|
[Token(Token = "0x6006BEE")]
|
|
[Address(RVA = "0x2A1D680", Offset = "0x2A1C080", VA = "0x182A1D680")]
|
|
public static void ActivateGameOverlayToUser(string pchDialog, CSteamID steamID)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableClient();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchDialog);
|
|
NativeMethods.ISteamFriends_ActivateGameOverlayToUser(CSteamAPIContext.m_pSteamFriends, utf8StringHandle, steamID);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06006BEF RID: 27631 RVA: 0x0016E1D4 File Offset: 0x0016C3D4
|
|
[Token(Token = "0x6006BEF")]
|
|
[Address(RVA = "0x2A1D7A0", Offset = "0x2A1C1A0", VA = "0x182A1D7A0")]
|
|
public static void ActivateGameOverlayToWebPage(string pchURL, EActivateGameOverlayToWebPageMode eMode = EActivateGameOverlayToWebPageMode.k_EActivateGameOverlayToWebPageMode_Default)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableClient();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchURL);
|
|
IntPtr pSteamFriends = CSteamAPIContext.m_pSteamFriends;
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06006BF0 RID: 27632 RVA: 0x0016E204 File Offset: 0x0016C404
|
|
[Token(Token = "0x6006BF0")]
|
|
[Address(RVA = "0x2A1D620", Offset = "0x2A1C020", VA = "0x182A1D620")]
|
|
public static void ActivateGameOverlayToStore(AppId_t nAppID, EOverlayToStoreFlag eFlag)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamFriends = CSteamAPIContext.m_pSteamFriends;
|
|
}
|
|
|
|
// Token: 0x06006BF1 RID: 27633 RVA: 0x0016E220 File Offset: 0x0016C420
|
|
[Token(Token = "0x6006BF1")]
|
|
[Address(RVA = "0x2A1FAD0", Offset = "0x2A1E4D0", VA = "0x182A1FAD0")]
|
|
public static void SetPlayedWith(CSteamID steamIDUserPlayedWith)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
NativeMethods.ISteamFriends_SetPlayedWith(CSteamAPIContext.m_pSteamFriends, steamIDUserPlayedWith);
|
|
}
|
|
|
|
// Token: 0x06006BF2 RID: 27634 RVA: 0x0016E240 File Offset: 0x0016C440
|
|
[Token(Token = "0x6006BF2")]
|
|
[Address(RVA = "0x2A1D580", Offset = "0x2A1BF80", VA = "0x182A1D580")]
|
|
public static void ActivateGameOverlayInviteDialog(CSteamID steamIDLobby)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
NativeMethods.ISteamFriends_ActivateGameOverlayInviteDialog(CSteamAPIContext.m_pSteamFriends, steamIDLobby);
|
|
}
|
|
|
|
// Token: 0x06006BF3 RID: 27635 RVA: 0x0016E260 File Offset: 0x0016C460
|
|
[Token(Token = "0x6006BF3")]
|
|
[Address(RVA = "0x2A1EF60", Offset = "0x2A1D960", VA = "0x182A1EF60")]
|
|
public static int GetSmallFriendAvatar(CSteamID steamIDFriend)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_GetSmallFriendAvatar(CSteamAPIContext.m_pSteamFriends, steamIDFriend);
|
|
}
|
|
|
|
// Token: 0x06006BF4 RID: 27636 RVA: 0x0016E280 File Offset: 0x0016C480
|
|
[Token(Token = "0x6006BF4")]
|
|
[Address(RVA = "0x2A1EDC0", Offset = "0x2A1D7C0", VA = "0x182A1EDC0")]
|
|
public static int GetMediumFriendAvatar(CSteamID steamIDFriend)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_GetMediumFriendAvatar(CSteamAPIContext.m_pSteamFriends, steamIDFriend);
|
|
}
|
|
|
|
// Token: 0x06006BF5 RID: 27637 RVA: 0x0016E2A0 File Offset: 0x0016C4A0
|
|
[Token(Token = "0x6006BF5")]
|
|
[Address(RVA = "0x2A1ED70", Offset = "0x2A1D770", VA = "0x182A1ED70")]
|
|
public static int GetLargeFriendAvatar(CSteamID steamIDFriend)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_GetLargeFriendAvatar(CSteamAPIContext.m_pSteamFriends, steamIDFriend);
|
|
}
|
|
|
|
// Token: 0x06006BF6 RID: 27638 RVA: 0x0016E2C0 File Offset: 0x0016C4C0
|
|
[Token(Token = "0x6006BF6")]
|
|
[Address(RVA = "0x2A1F730", Offset = "0x2A1E130", VA = "0x182A1F730")]
|
|
public static bool RequestUserInformation(CSteamID steamIDUser, bool bRequireNameOnly)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_RequestUserInformation(CSteamAPIContext.m_pSteamFriends, steamIDUser, bRequireNameOnly);
|
|
}
|
|
|
|
// Token: 0x06006BF7 RID: 27639 RVA: 0x0016E2E0 File Offset: 0x0016C4E0
|
|
[Token(Token = "0x6006BF7")]
|
|
[Address(RVA = "0x2A1F650", Offset = "0x2A1E050", VA = "0x182A1F650")]
|
|
public static SteamAPICall_t RequestClanOfficerList(CSteamID steamIDClan)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006BF7)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamFriends::RequestClanOfficerList(Steamworks.CSteamID)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableClient)
|
|
stloc:uint64(var_1_12, call:uint64(NativeMethods::ISteamFriends_RequestClanOfficerList, ldsfld:native int(CSteamAPIContext::m_pSteamFriends), ldloc:CSteamID(steamIDClan)))
|
|
}
|
|
|
|
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: 0x06006BF8 RID: 27640 RVA: 0x0016E300 File Offset: 0x0016C500
|
|
[Token(Token = "0x6006BF8")]
|
|
[Address(RVA = "0x2A1E0B0", Offset = "0x2A1CAB0", VA = "0x182A1E0B0")]
|
|
public static CSteamID GetClanOwner(CSteamID steamIDClan)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006BF8)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.CSteamID Steamworks.SteamFriends::GetClanOwner(Steamworks.CSteamID)
|
|
|
|
---> 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::ISteamFriends_GetClanOwner, ldsfld:native int(CSteamAPIContext::m_pSteamFriends), ldloc:CSteamID(steamIDClan))))
|
|
}
|
|
|
|
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: 0x06006BF9 RID: 27641 RVA: 0x0016E324 File Offset: 0x0016C524
|
|
[Token(Token = "0x6006BF9")]
|
|
[Address(RVA = "0x2A1E060", Offset = "0x2A1CA60", VA = "0x182A1E060")]
|
|
public static int GetClanOfficerCount(CSteamID steamIDClan)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_GetClanOfficerCount(CSteamAPIContext.m_pSteamFriends, steamIDClan);
|
|
}
|
|
|
|
// Token: 0x06006BFA RID: 27642 RVA: 0x0016E344 File Offset: 0x0016C544
|
|
[Token(Token = "0x6006BFA")]
|
|
[Address(RVA = "0x2A1DFB0", Offset = "0x2A1C9B0", VA = "0x182A1DFB0")]
|
|
public static CSteamID GetClanOfficerByIndex(CSteamID steamIDClan, int iOfficer)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006BFA)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.CSteamID Steamworks.SteamFriends::GetClanOfficerByIndex(Steamworks.CSteamID,System.Int32)
|
|
|
|
---> 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::ISteamFriends_GetClanOfficerByIndex, ldsfld:native int(CSteamAPIContext::m_pSteamFriends), ldloc:CSteamID(steamIDClan), ldloc:int32(iOfficer)))
|
|
}
|
|
|
|
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: 0x06006BFB RID: 27643 RVA: 0x0016E364 File Offset: 0x0016C564
|
|
[Token(Token = "0x6006BFB")]
|
|
[Address(RVA = "0x2A1EFB0", Offset = "0x2A1D9B0", VA = "0x182A1EFB0")]
|
|
public static uint GetUserRestrictions()
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_GetUserRestrictions(CSteamAPIContext.m_pSteamFriends);
|
|
}
|
|
|
|
// Token: 0x06006BFC RID: 27644 RVA: 0x0016E384 File Offset: 0x0016C584
|
|
[Token(Token = "0x6006BFC")]
|
|
[Address(RVA = "0x2A1FB20", Offset = "0x2A1E520", VA = "0x182A1FB20")]
|
|
public static bool SetRichPresence(string pchKey, string pchValue)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006BFC)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Steamworks.SteamFriends::SetRichPresence(System.String,System.String)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_39:
|
|
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: 0x06006BFD RID: 27645 RVA: 0x0016E3D0 File Offset: 0x0016C5D0
|
|
[Token(Token = "0x6006BFD")]
|
|
[Address(RVA = "0x2A1D9D0", Offset = "0x2A1C3D0", VA = "0x182A1D9D0")]
|
|
public static void ClearRichPresence()
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
NativeMethods.ISteamFriends_ClearRichPresence(CSteamAPIContext.m_pSteamFriends);
|
|
}
|
|
|
|
// Token: 0x06006BFE RID: 27646 RVA: 0x0016E3F0 File Offset: 0x0016C5F0
|
|
[Token(Token = "0x6006BFE")]
|
|
[Address(RVA = "0x2A1E9C0", Offset = "0x2A1D3C0", VA = "0x182A1E9C0")]
|
|
public static string GetFriendRichPresence(CSteamID steamIDFriend, string pchKey)
|
|
{
|
|
int num;
|
|
string text;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableClient();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchKey);
|
|
IntPtr intPtr = CSteamAPIContext.m_pSteamFriends;
|
|
intPtr = NativeMethods.ISteamFriends_GetFriendRichPresence(intPtr, steamIDFriend, utf8StringHandle);
|
|
text = InteropHelp.PtrToStringUTF8(intPtr);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return text;
|
|
}
|
|
|
|
// Token: 0x06006BFF RID: 27647 RVA: 0x0016E434 File Offset: 0x0016C634
|
|
[Token(Token = "0x6006BFF")]
|
|
[Address(RVA = "0x2A1E970", Offset = "0x2A1D370", VA = "0x182A1E970")]
|
|
public static int GetFriendRichPresenceKeyCount(CSteamID steamIDFriend)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_GetFriendRichPresenceKeyCount(CSteamAPIContext.m_pSteamFriends, steamIDFriend);
|
|
}
|
|
|
|
// Token: 0x06006C00 RID: 27648 RVA: 0x0016E454 File Offset: 0x0016C654
|
|
[Token(Token = "0x6006C00")]
|
|
[Address(RVA = "0x2A1E900", Offset = "0x2A1D300", VA = "0x182A1E900")]
|
|
public static string GetFriendRichPresenceKeyByIndex(CSteamID steamIDFriend, int iKey)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr intPtr = CSteamAPIContext.m_pSteamFriends;
|
|
intPtr = NativeMethods.ISteamFriends_GetFriendRichPresenceKeyByIndex(intPtr, steamIDFriend, iKey);
|
|
return InteropHelp.PtrToStringUTF8(intPtr);
|
|
}
|
|
|
|
// Token: 0x06006C01 RID: 27649 RVA: 0x0016E480 File Offset: 0x0016C680
|
|
[Token(Token = "0x6006C01")]
|
|
[Address(RVA = "0x2A1F6E0", Offset = "0x2A1E0E0", VA = "0x182A1F6E0")]
|
|
public static void RequestFriendRichPresence(CSteamID steamIDFriend)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
NativeMethods.ISteamFriends_RequestFriendRichPresence(CSteamAPIContext.m_pSteamFriends, steamIDFriend);
|
|
}
|
|
|
|
// Token: 0x06006C02 RID: 27650 RVA: 0x0016E4A0 File Offset: 0x0016C6A0
|
|
[Token(Token = "0x6006C02")]
|
|
[Address(RVA = "0x2A1F060", Offset = "0x2A1DA60", VA = "0x182A1F060")]
|
|
public static bool InviteUserToGame(CSteamID steamIDFriend, string pchConnectString)
|
|
{
|
|
int num;
|
|
bool flag;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableClient();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchConnectString);
|
|
flag = NativeMethods.ISteamFriends_InviteUserToGame(CSteamAPIContext.m_pSteamFriends, steamIDFriend, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006C03 RID: 27651 RVA: 0x0016E4D8 File Offset: 0x0016C6D8
|
|
[Token(Token = "0x6006C03")]
|
|
[Address(RVA = "0x2A1E1B0", Offset = "0x2A1CBB0", VA = "0x182A1E1B0")]
|
|
public static int GetCoplayFriendCount()
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_GetCoplayFriendCount(CSteamAPIContext.m_pSteamFriends);
|
|
}
|
|
|
|
// Token: 0x06006C04 RID: 27652 RVA: 0x0016E4F8 File Offset: 0x0016C6F8
|
|
[Token(Token = "0x6006C04")]
|
|
[Address(RVA = "0x2A1E200", Offset = "0x2A1CC00", VA = "0x182A1E200")]
|
|
public static CSteamID GetCoplayFriend(int iCoplayFriend)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006C04)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.CSteamID Steamworks.SteamFriends::GetCoplayFriend(System.Int32)
|
|
|
|
---> 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::ISteamFriends_GetCoplayFriend, ldsfld:native int(CSteamAPIContext::m_pSteamFriends), ldloc:int32(iCoplayFriend))))
|
|
}
|
|
|
|
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: 0x06006C05 RID: 27653 RVA: 0x0016E51C File Offset: 0x0016C71C
|
|
[Token(Token = "0x6006C05")]
|
|
[Address(RVA = "0x2A1E470", Offset = "0x2A1CE70", VA = "0x182A1E470")]
|
|
public static int GetFriendCoplayTime(CSteamID steamIDFriend)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_GetFriendCoplayTime(CSteamAPIContext.m_pSteamFriends, steamIDFriend);
|
|
}
|
|
|
|
// Token: 0x06006C06 RID: 27654 RVA: 0x0016E53C File Offset: 0x0016C73C
|
|
[Token(Token = "0x6006C06")]
|
|
[Address(RVA = "0x2A1E3D0", Offset = "0x2A1CDD0", VA = "0x182A1E3D0")]
|
|
public static AppId_t GetFriendCoplayGame(CSteamID steamIDFriend)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006C06)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.AppId_t Steamworks.SteamFriends::GetFriendCoplayGame(Steamworks.CSteamID)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableClient)
|
|
stloc:int64(var_1_17, call:int64(Convert::ToInt64, call:uint32(NativeMethods::ISteamFriends_GetFriendCoplayGame, ldsfld:native int(CSteamAPIContext::m_pSteamFriends), ldloc:CSteamID(steamIDFriend))))
|
|
}
|
|
|
|
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: 0x06006C07 RID: 27655 RVA: 0x0016E560 File Offset: 0x0016C760
|
|
[Token(Token = "0x6006C07")]
|
|
[Address(RVA = "0x2A1F3E0", Offset = "0x2A1DDE0", VA = "0x182A1F3E0")]
|
|
public static SteamAPICall_t JoinClanChatRoom(CSteamID steamIDClan)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006C07)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamFriends::JoinClanChatRoom(Steamworks.CSteamID)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableClient)
|
|
stloc:uint64(var_1_12, call:uint64(NativeMethods::ISteamFriends_JoinClanChatRoom, ldsfld:native int(CSteamAPIContext::m_pSteamFriends), ldloc:CSteamID(steamIDClan)))
|
|
}
|
|
|
|
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: 0x06006C08 RID: 27656 RVA: 0x0016E580 File Offset: 0x0016C780
|
|
[Token(Token = "0x6006C08")]
|
|
[Address(RVA = "0x2A1F470", Offset = "0x2A1DE70", VA = "0x182A1F470")]
|
|
public static bool LeaveClanChatRoom(CSteamID steamIDClan)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_LeaveClanChatRoom(CSteamAPIContext.m_pSteamFriends, steamIDClan);
|
|
}
|
|
|
|
// Token: 0x06006C09 RID: 27657 RVA: 0x0016E5A0 File Offset: 0x0016C7A0
|
|
[Token(Token = "0x6006C09")]
|
|
[Address(RVA = "0x2A1DD80", Offset = "0x2A1C780", VA = "0x182A1DD80")]
|
|
public static int GetClanChatMemberCount(CSteamID steamIDClan)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_GetClanChatMemberCount(CSteamAPIContext.m_pSteamFriends, steamIDClan);
|
|
}
|
|
|
|
// Token: 0x06006C0A RID: 27658 RVA: 0x0016E5C0 File Offset: 0x0016C7C0
|
|
[Token(Token = "0x6006C0A")]
|
|
[Address(RVA = "0x2A1DBA0", Offset = "0x2A1C5A0", VA = "0x182A1DBA0")]
|
|
public static CSteamID GetChatMemberByIndex(CSteamID steamIDClan, int iUser)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006C0A)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.CSteamID Steamworks.SteamFriends::GetChatMemberByIndex(Steamworks.CSteamID,System.Int32)
|
|
|
|
---> 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::ISteamFriends_GetChatMemberByIndex, ldsfld:native int(CSteamAPIContext::m_pSteamFriends), ldloc:CSteamID(steamIDClan), ldloc:int32(iUser)))
|
|
}
|
|
|
|
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: 0x06006C0B RID: 27659 RVA: 0x0016E5E0 File Offset: 0x0016C7E0
|
|
[Token(Token = "0x6006C0B")]
|
|
[Address(RVA = "0x2A1F790", Offset = "0x2A1E190", VA = "0x182A1F790")]
|
|
public static bool SendClanChatMessage(CSteamID steamIDClanChat, string pchText)
|
|
{
|
|
int num;
|
|
bool flag;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableClient();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchText);
|
|
flag = NativeMethods.ISteamFriends_SendClanChatMessage(CSteamAPIContext.m_pSteamFriends, steamIDClanChat, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006C0C RID: 27660 RVA: 0x0016E618 File Offset: 0x0016C818
|
|
[Token(Token = "0x6006C0C")]
|
|
[Address(RVA = "0x2A1DDD0", Offset = "0x2A1C7D0", VA = "0x182A1DDD0")]
|
|
public static int GetClanChatMessage(CSteamID steamIDClanChat, int iMessage, out string prgchText, int cchTextMax, out EChatEntryType peChatEntryType, out CSteamID psteamidChatter)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr intPtr = Marshal.AllocHGlobal(cchTextMax);
|
|
IntPtr intPtr2 = CSteamAPIContext.m_pSteamFriends;
|
|
int num;
|
|
if (num != 0)
|
|
{
|
|
intPtr2 = intPtr;
|
|
string text = InteropHelp.PtrToStringUTF8(intPtr2);
|
|
}
|
|
Marshal.FreeHGlobal(intPtr);
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06006C0D RID: 27661 RVA: 0x0016E654 File Offset: 0x0016C854
|
|
[Token(Token = "0x6006C0D")]
|
|
[Address(RVA = "0x2A1F1A0", Offset = "0x2A1DBA0", VA = "0x182A1F1A0")]
|
|
public static bool IsClanChatAdmin(CSteamID steamIDClanChat, CSteamID steamIDUser)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_IsClanChatAdmin(CSteamAPIContext.m_pSteamFriends, steamIDClanChat, steamIDUser);
|
|
}
|
|
|
|
// Token: 0x06006C0E RID: 27662 RVA: 0x0016E674 File Offset: 0x0016C874
|
|
[Token(Token = "0x6006C0E")]
|
|
[Address(RVA = "0x2A1F200", Offset = "0x2A1DC00", VA = "0x182A1F200")]
|
|
public static bool IsClanChatWindowOpenInSteam(CSteamID steamIDClanChat)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_IsClanChatWindowOpenInSteam(CSteamAPIContext.m_pSteamFriends, steamIDClanChat);
|
|
}
|
|
|
|
// Token: 0x06006C0F RID: 27663 RVA: 0x0016E694 File Offset: 0x0016C894
|
|
[Token(Token = "0x6006C0F")]
|
|
[Address(RVA = "0x2A1F4C0", Offset = "0x2A1DEC0", VA = "0x182A1F4C0")]
|
|
public static bool OpenClanChatWindowInSteam(CSteamID steamIDClanChat)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_OpenClanChatWindowInSteam(CSteamAPIContext.m_pSteamFriends, steamIDClanChat);
|
|
}
|
|
|
|
// Token: 0x06006C10 RID: 27664 RVA: 0x0016E6B4 File Offset: 0x0016C8B4
|
|
[Token(Token = "0x6006C10")]
|
|
[Address(RVA = "0x2A1DA20", Offset = "0x2A1C420", VA = "0x182A1DA20")]
|
|
public static bool CloseClanChatWindowInSteam(CSteamID steamIDClanChat)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_CloseClanChatWindowInSteam(CSteamAPIContext.m_pSteamFriends, steamIDClanChat);
|
|
}
|
|
|
|
// Token: 0x06006C11 RID: 27665 RVA: 0x0016E6D4 File Offset: 0x0016C8D4
|
|
[Token(Token = "0x6006C11")]
|
|
[Address(RVA = "0x2A1F930", Offset = "0x2A1E330", VA = "0x182A1F930")]
|
|
public static bool SetListenForFriendsMessages(bool bInterceptEnabled)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_SetListenForFriendsMessages(CSteamAPIContext.m_pSteamFriends, bInterceptEnabled);
|
|
}
|
|
|
|
// Token: 0x06006C12 RID: 27666 RVA: 0x0016E6F4 File Offset: 0x0016C8F4
|
|
[Token(Token = "0x6006C12")]
|
|
[Address(RVA = "0x2A1F510", Offset = "0x2A1DF10", VA = "0x182A1F510")]
|
|
public static bool ReplyToFriendMessage(CSteamID steamIDFriend, string pchMsgToSend)
|
|
{
|
|
int num;
|
|
bool flag;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableClient();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchMsgToSend);
|
|
flag = NativeMethods.ISteamFriends_ReplyToFriendMessage(CSteamAPIContext.m_pSteamFriends, steamIDFriend, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006C13 RID: 27667 RVA: 0x0016E72C File Offset: 0x0016C92C
|
|
[Token(Token = "0x6006C13")]
|
|
[Address(RVA = "0x2A1E670", Offset = "0x2A1D070", VA = "0x182A1E670")]
|
|
public static int GetFriendMessage(CSteamID steamIDFriend, int iMessageID, out string pvData, int cubData, out EChatEntryType peChatEntryType)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr intPtr = Marshal.AllocHGlobal(cubData);
|
|
IntPtr intPtr2 = CSteamAPIContext.m_pSteamFriends;
|
|
int num;
|
|
if (num != 0)
|
|
{
|
|
intPtr2 = intPtr;
|
|
string text = InteropHelp.PtrToStringUTF8(intPtr2);
|
|
}
|
|
Marshal.FreeHGlobal(intPtr);
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06006C14 RID: 27668 RVA: 0x0016E768 File Offset: 0x0016C968
|
|
[Token(Token = "0x6006C14")]
|
|
[Address(RVA = "0x2A1E2A0", Offset = "0x2A1CCA0", VA = "0x182A1E2A0")]
|
|
public static SteamAPICall_t GetFollowerCount(CSteamID steamID)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006C14)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamFriends::GetFollowerCount(Steamworks.CSteamID)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableClient)
|
|
stloc:uint64(var_1_12, call:uint64(NativeMethods::ISteamFriends_GetFollowerCount, ldsfld:native int(CSteamAPIContext::m_pSteamFriends), ldloc:CSteamID(steamID)))
|
|
}
|
|
|
|
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: 0x06006C15 RID: 27669 RVA: 0x0016E788 File Offset: 0x0016C988
|
|
[Token(Token = "0x6006C15")]
|
|
[Address(RVA = "0x2A1F2F0", Offset = "0x2A1DCF0", VA = "0x182A1F2F0")]
|
|
public static SteamAPICall_t IsFollowing(CSteamID steamID)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006C15)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamFriends::IsFollowing(Steamworks.CSteamID)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableClient)
|
|
stloc:uint64(var_1_12, call:uint64(NativeMethods::ISteamFriends_IsFollowing, ldsfld:native int(CSteamAPIContext::m_pSteamFriends), ldloc:CSteamID(steamID)))
|
|
}
|
|
|
|
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: 0x06006C16 RID: 27670 RVA: 0x0016E7A8 File Offset: 0x0016C9A8
|
|
[Token(Token = "0x6006C16")]
|
|
[Address(RVA = "0x2A1DB10", Offset = "0x2A1C510", VA = "0x182A1DB10")]
|
|
public static SteamAPICall_t EnumerateFollowingList(uint unStartIndex)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006C16)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamFriends::EnumerateFollowingList(System.UInt32)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableClient)
|
|
stloc:uint64(var_1_12, call:uint64(NativeMethods::ISteamFriends_EnumerateFollowingList, ldsfld:native int(CSteamAPIContext::m_pSteamFriends), ldloc:uint32(unStartIndex)))
|
|
}
|
|
|
|
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: 0x06006C17 RID: 27671 RVA: 0x0016E7C8 File Offset: 0x0016C9C8
|
|
[Token(Token = "0x6006C17")]
|
|
[Address(RVA = "0x2A1F2A0", Offset = "0x2A1DCA0", VA = "0x182A1F2A0")]
|
|
public static bool IsClanPublic(CSteamID steamIDClan)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_IsClanPublic(CSteamAPIContext.m_pSteamFriends, steamIDClan);
|
|
}
|
|
|
|
// Token: 0x06006C18 RID: 27672 RVA: 0x0016E7E8 File Offset: 0x0016C9E8
|
|
[Token(Token = "0x6006C18")]
|
|
[Address(RVA = "0x2A1F250", Offset = "0x2A1DC50", VA = "0x182A1F250")]
|
|
public static bool IsClanOfficialGameGroup(CSteamID steamIDClan)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_IsClanOfficialGameGroup(CSteamAPIContext.m_pSteamFriends, steamIDClan);
|
|
}
|
|
|
|
// Token: 0x06006C19 RID: 27673 RVA: 0x0016E808 File Offset: 0x0016CA08
|
|
[Token(Token = "0x6006C19")]
|
|
[Address(RVA = "0x2A1EE10", Offset = "0x2A1D810", VA = "0x182A1EE10")]
|
|
public static int GetNumChatsWithUnreadPriorityMessages()
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamFriends_GetNumChatsWithUnreadPriorityMessages(CSteamAPIContext.m_pSteamFriends);
|
|
}
|
|
|
|
// Token: 0x06006C1A RID: 27674 RVA: 0x0016E828 File Offset: 0x0016CA28
|
|
[Token(Token = "0x6006C1A")]
|
|
[Address(RVA = "0x2A1D5D0", Offset = "0x2A1BFD0", VA = "0x182A1D5D0")]
|
|
public static void ActivateGameOverlayRemotePlayTogetherInviteDialog(CSteamID steamIDLobby)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
NativeMethods.ISteamFriends_ActivateGameOverlayRemotePlayTogetherInviteDialog(CSteamAPIContext.m_pSteamFriends, steamIDLobby);
|
|
}
|
|
}
|
|
}
|