m
This commit is contained in:
@@ -0,0 +1,405 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace Steamworks
|
||||
{
|
||||
// Token: 0x020018FD RID: 6397
|
||||
[Token(Token = "0x20018FD")]
|
||||
public static class SteamGameServerUtils
|
||||
{
|
||||
// Token: 0x0600907A RID: 36986 RVA: 0x001DBCB8 File Offset: 0x001D9EB8
|
||||
[Token(Token = "0x600907A")]
|
||||
[Address(RVA = "0xF6B160", Offset = "0xF6A160", VA = "0x180F6B160")]
|
||||
public static uint GetSecondsSinceAppActive()
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
return NativeMethods.ISteamUtils_GetSecondsSinceAppActive(CSteamGameServerAPIContext.m_pSteamUtils);
|
||||
}
|
||||
|
||||
// Token: 0x0600907B RID: 36987 RVA: 0x001DBCD8 File Offset: 0x001D9ED8
|
||||
[Token(Token = "0x600907B")]
|
||||
[Address(RVA = "0xF6B1B0", Offset = "0xF6A1B0", VA = "0x180F6B1B0")]
|
||||
public static uint GetSecondsSinceComputerActive()
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
return NativeMethods.ISteamUtils_GetSecondsSinceComputerActive(CSteamGameServerAPIContext.m_pSteamUtils);
|
||||
}
|
||||
|
||||
// Token: 0x0600907C RID: 36988 RVA: 0x001DBCF8 File Offset: 0x001D9EF8
|
||||
[Token(Token = "0x600907C")]
|
||||
[Address(RVA = "0xF6AD90", Offset = "0xF69D90", VA = "0x180F6AD90")]
|
||||
public static EUniverse GetConnectedUniverse()
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
return NativeMethods.ISteamUtils_GetConnectedUniverse(CSteamGameServerAPIContext.m_pSteamUtils);
|
||||
}
|
||||
|
||||
// Token: 0x0600907D RID: 36989 RVA: 0x001DBD18 File Offset: 0x001D9F18
|
||||
[Token(Token = "0x600907D")]
|
||||
[Address(RVA = "0xF6B200", Offset = "0xF6A200", VA = "0x180F6B200")]
|
||||
public static uint GetServerRealTime()
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
return NativeMethods.ISteamUtils_GetServerRealTime(CSteamGameServerAPIContext.m_pSteamUtils);
|
||||
}
|
||||
|
||||
// Token: 0x0600907E RID: 36990 RVA: 0x001DBD38 File Offset: 0x001D9F38
|
||||
[Token(Token = "0x600907E")]
|
||||
[Address(RVA = "0xF6AFC0", Offset = "0xF69FC0", VA = "0x180F6AFC0")]
|
||||
public static string GetIPCountry()
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
IntPtr intPtr = CSteamGameServerAPIContext.m_pSteamUtils;
|
||||
intPtr = NativeMethods.ISteamUtils_GetIPCountry(intPtr);
|
||||
return InteropHelp.PtrToStringUTF8(intPtr);
|
||||
}
|
||||
|
||||
// Token: 0x0600907F RID: 36991 RVA: 0x001DBD60 File Offset: 0x001D9F60
|
||||
[Token(Token = "0x600907F")]
|
||||
[Address(RVA = "0xF6B0E0", Offset = "0xF6A0E0", VA = "0x180F6B0E0")]
|
||||
public static bool GetImageSize(int iImage, out uint pnWidth, out uint pnHeight)
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
return NativeMethods.ISteamUtils_GetImageSize(CSteamGameServerAPIContext.m_pSteamUtils, iImage, out pnWidth, out pnHeight);
|
||||
}
|
||||
|
||||
// Token: 0x06009080 RID: 36992 RVA: 0x001DBD84 File Offset: 0x001D9F84
|
||||
[Token(Token = "0x6009080")]
|
||||
[Address(RVA = "0xF6B060", Offset = "0xF6A060", VA = "0x180F6B060")]
|
||||
public static bool GetImageRGBA(int iImage, byte[] pubDest, int nDestBufferSize)
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
return NativeMethods.ISteamUtils_GetImageRGBA(CSteamGameServerAPIContext.m_pSteamUtils, iImage, pubDest, nDestBufferSize);
|
||||
}
|
||||
|
||||
// Token: 0x06009081 RID: 36993 RVA: 0x001DBDA8 File Offset: 0x001D9FA8
|
||||
[Token(Token = "0x6009081")]
|
||||
[Address(RVA = "0xF6AD30", Offset = "0xF69D30", VA = "0x180F6AD30")]
|
||||
public static bool GetCSERIPPort(out uint unIP, out ushort usPort)
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
return NativeMethods.ISteamUtils_GetCSERIPPort(CSteamGameServerAPIContext.m_pSteamUtils, out unIP, out usPort);
|
||||
}
|
||||
|
||||
// Token: 0x06009082 RID: 36994 RVA: 0x001DBDC8 File Offset: 0x001D9FC8
|
||||
[Token(Token = "0x6009082")]
|
||||
[Address(RVA = "0xF6ADE0", Offset = "0xF69DE0", VA = "0x180F6ADE0")]
|
||||
public static byte GetCurrentBatteryPower()
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
return NativeMethods.ISteamUtils_GetCurrentBatteryPower(CSteamGameServerAPIContext.m_pSteamUtils);
|
||||
}
|
||||
|
||||
// Token: 0x06009083 RID: 36995 RVA: 0x001DBDE8 File Offset: 0x001D9FE8
|
||||
[Token(Token = "0x6009083")]
|
||||
[Address(RVA = "0xF6ACA0", Offset = "0xF69CA0", VA = "0x180F6ACA0")]
|
||||
public static AppId_t GetAppID()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009083)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.AppId_t Steamworks.SteamGameServerUtils::GetAppID()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
call:void(InteropHelp::TestIfAvailableGameServer)
|
||||
stloc:int64(var_1_16, call:int64(Convert::ToInt64, call:uint32(NativeMethods::ISteamUtils_GetAppID, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamUtils))))
|
||||
}
|
||||
|
||||
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: 0x06009084 RID: 36996 RVA: 0x001DBE0C File Offset: 0x001DA00C
|
||||
[Token(Token = "0x6009084")]
|
||||
[Address(RVA = "0xF6B540", Offset = "0xF6A540", VA = "0x180F6B540")]
|
||||
public static void SetOverlayNotificationPosition(ENotificationPosition eNotificationPosition)
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
IntPtr pSteamUtils = CSteamGameServerAPIContext.m_pSteamUtils;
|
||||
}
|
||||
|
||||
// Token: 0x06009085 RID: 36997 RVA: 0x001DBE28 File Offset: 0x001DA028
|
||||
[Token(Token = "0x6009085")]
|
||||
[Address(RVA = "0xF6B2F0", Offset = "0xF6A2F0", VA = "0x180F6B2F0")]
|
||||
public static bool IsAPICallCompleted(SteamAPICall_t hSteamAPICall, out bool pbFailed)
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
return NativeMethods.ISteamUtils_IsAPICallCompleted(CSteamGameServerAPIContext.m_pSteamUtils, hSteamAPICall, out pbFailed);
|
||||
}
|
||||
|
||||
// Token: 0x06009086 RID: 36998 RVA: 0x001DBE48 File Offset: 0x001DA048
|
||||
[Token(Token = "0x6009086")]
|
||||
[Address(RVA = "0xF6ABC0", Offset = "0xF69BC0", VA = "0x180F6ABC0")]
|
||||
public static ESteamAPICallFailure GetAPICallFailureReason(SteamAPICall_t hSteamAPICall)
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
return NativeMethods.ISteamUtils_GetAPICallFailureReason(CSteamGameServerAPIContext.m_pSteamUtils, hSteamAPICall);
|
||||
}
|
||||
|
||||
// Token: 0x06009087 RID: 36999 RVA: 0x001DBE68 File Offset: 0x001DA068
|
||||
[Token(Token = "0x6009087")]
|
||||
[Address(RVA = "0xF6AC10", Offset = "0xF69C10", VA = "0x180F6AC10")]
|
||||
public static bool GetAPICallResult(SteamAPICall_t hSteamAPICall, IntPtr pCallback, int cubCallback, int iCallbackExpected, out bool pbFailed)
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
IntPtr pSteamUtils = CSteamGameServerAPIContext.m_pSteamUtils;
|
||||
bool flag;
|
||||
return flag;
|
||||
}
|
||||
|
||||
// Token: 0x06009088 RID: 37000 RVA: 0x001DBE84 File Offset: 0x001DA084
|
||||
[Token(Token = "0x6009088")]
|
||||
[Address(RVA = "0xF6AF70", Offset = "0xF69F70", VA = "0x180F6AF70")]
|
||||
public static uint GetIPCCallCount()
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
return NativeMethods.ISteamUtils_GetIPCCallCount(CSteamGameServerAPIContext.m_pSteamUtils);
|
||||
}
|
||||
|
||||
// Token: 0x06009089 RID: 37001 RVA: 0x001DBEA4 File Offset: 0x001DA0A4
|
||||
[Token(Token = "0x6009089")]
|
||||
[Address(RVA = "0xF6B5E0", Offset = "0xF6A5E0", VA = "0x180F6B5E0")]
|
||||
public static void SetWarningMessageHook(SteamAPIWarningMessageHook_t pFunction)
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
NativeMethods.ISteamUtils_SetWarningMessageHook(CSteamGameServerAPIContext.m_pSteamUtils, pFunction);
|
||||
}
|
||||
|
||||
// Token: 0x0600908A RID: 37002 RVA: 0x001DBEC4 File Offset: 0x001DA0C4
|
||||
[Token(Token = "0x600908A")]
|
||||
[Address(RVA = "0xF6B350", Offset = "0xF6A350", VA = "0x180F6B350")]
|
||||
public static bool IsOverlayEnabled()
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
return NativeMethods.ISteamUtils_IsOverlayEnabled(CSteamGameServerAPIContext.m_pSteamUtils);
|
||||
}
|
||||
|
||||
// Token: 0x0600908B RID: 37003 RVA: 0x001DBEE4 File Offset: 0x001DA0E4
|
||||
[Token(Token = "0x600908B")]
|
||||
[Address(RVA = "0xF6A8C0", Offset = "0xF698C0", VA = "0x180F6A8C0")]
|
||||
public static bool BOverlayNeedsPresent()
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
return NativeMethods.ISteamUtils_BOverlayNeedsPresent(CSteamGameServerAPIContext.m_pSteamUtils);
|
||||
}
|
||||
|
||||
// Token: 0x0600908C RID: 37004 RVA: 0x001DBF04 File Offset: 0x001DA104
|
||||
[Token(Token = "0x600908C")]
|
||||
[Address(RVA = "0xF6A910", Offset = "0xF69910", VA = "0x180F6A910")]
|
||||
public static SteamAPICall_t CheckFileSignature(string szFileName)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600908C)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamGameServerUtils::CheckFileSignature(System.String)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_20:
|
||||
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: 0x0600908D RID: 37005 RVA: 0x001DBF34 File Offset: 0x001DA134
|
||||
[Token(Token = "0x600908D")]
|
||||
[Address(RVA = "0xF6B630", Offset = "0xF6A630", VA = "0x180F6B630")]
|
||||
public static bool ShowGamepadTextInput(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, string pchDescription, uint unCharMax, string pchExistingText)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600908D)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Steamworks.SteamGameServerUtils::ShowGamepadTextInput(Steamworks.EGamepadTextInputMode,Steamworks.EGamepadTextInputLineMode,System.String,System.UInt32,System.String)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_2E:
|
||||
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: 0x0600908E RID: 37006 RVA: 0x001DBF74 File Offset: 0x001DA174
|
||||
[Token(Token = "0x600908E")]
|
||||
[Address(RVA = "0xF6AF20", Offset = "0xF69F20", VA = "0x180F6AF20")]
|
||||
public static uint GetEnteredGamepadTextLength()
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
return NativeMethods.ISteamUtils_GetEnteredGamepadTextLength(CSteamGameServerAPIContext.m_pSteamUtils);
|
||||
}
|
||||
|
||||
// Token: 0x0600908F RID: 37007 RVA: 0x001DBF94 File Offset: 0x001DA194
|
||||
[Token(Token = "0x600908F")]
|
||||
[Address(RVA = "0xF6AE30", Offset = "0xF69E30", VA = "0x180F6AE30")]
|
||||
public static bool GetEnteredGamepadTextInput(out string pchText, uint cchText)
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
IntPtr intPtr = Marshal.AllocHGlobal((int)cchText);
|
||||
IntPtr intPtr2 = CSteamGameServerAPIContext.m_pSteamUtils;
|
||||
bool flag = NativeMethods.ISteamUtils_GetEnteredGamepadTextInput(intPtr2, intPtr, cchText);
|
||||
if (flag)
|
||||
{
|
||||
intPtr2 = intPtr;
|
||||
string text = InteropHelp.PtrToStringUTF8(intPtr2);
|
||||
}
|
||||
Marshal.FreeHGlobal(intPtr);
|
||||
return flag;
|
||||
}
|
||||
|
||||
// Token: 0x06009090 RID: 37008 RVA: 0x001DBFD8 File Offset: 0x001DA1D8
|
||||
[Token(Token = "0x6009090")]
|
||||
[Address(RVA = "0xF6B250", Offset = "0xF6A250", VA = "0x180F6B250")]
|
||||
public static string GetSteamUILanguage()
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
IntPtr intPtr = CSteamGameServerAPIContext.m_pSteamUtils;
|
||||
intPtr = NativeMethods.ISteamUtils_GetSteamUILanguage(intPtr);
|
||||
return InteropHelp.PtrToStringUTF8(intPtr);
|
||||
}
|
||||
|
||||
// Token: 0x06009091 RID: 37009 RVA: 0x001DC000 File Offset: 0x001DA200
|
||||
[Token(Token = "0x6009091")]
|
||||
[Address(RVA = "0xF6B440", Offset = "0xF6A440", VA = "0x180F6B440")]
|
||||
public static bool IsSteamRunningInVR()
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
return NativeMethods.ISteamUtils_IsSteamRunningInVR(CSteamGameServerAPIContext.m_pSteamUtils);
|
||||
}
|
||||
|
||||
// Token: 0x06009092 RID: 37010 RVA: 0x001DC020 File Offset: 0x001DA220
|
||||
[Token(Token = "0x6009092")]
|
||||
[Address(RVA = "0xF6B4E0", Offset = "0xF6A4E0", VA = "0x180F6B4E0")]
|
||||
public static void SetOverlayNotificationInset(int nHorizontalInset, int nVerticalInset)
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
NativeMethods.ISteamUtils_SetOverlayNotificationInset(CSteamGameServerAPIContext.m_pSteamUtils, nVerticalInset, nVerticalInset);
|
||||
}
|
||||
|
||||
// Token: 0x06009093 RID: 37011 RVA: 0x001DC040 File Offset: 0x001DA240
|
||||
[Token(Token = "0x6009093")]
|
||||
[Address(RVA = "0xF6B3F0", Offset = "0xF6A3F0", VA = "0x180F6B3F0")]
|
||||
public static bool IsSteamInBigPictureMode()
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
return NativeMethods.ISteamUtils_IsSteamInBigPictureMode(CSteamGameServerAPIContext.m_pSteamUtils);
|
||||
}
|
||||
|
||||
// Token: 0x06009094 RID: 37012 RVA: 0x001DC060 File Offset: 0x001DA260
|
||||
[Token(Token = "0x6009094")]
|
||||
[Address(RVA = "0xF6B800", Offset = "0xF6A800", VA = "0x180F6B800")]
|
||||
public static void StartVRDashboard()
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
NativeMethods.ISteamUtils_StartVRDashboard(CSteamGameServerAPIContext.m_pSteamUtils);
|
||||
}
|
||||
|
||||
// Token: 0x06009095 RID: 37013 RVA: 0x001DC080 File Offset: 0x001DA280
|
||||
[Token(Token = "0x6009095")]
|
||||
[Address(RVA = "0xF6B490", Offset = "0xF6A490", VA = "0x180F6B490")]
|
||||
public static bool IsVRHeadsetStreamingEnabled()
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
return NativeMethods.ISteamUtils_IsVRHeadsetStreamingEnabled(CSteamGameServerAPIContext.m_pSteamUtils);
|
||||
}
|
||||
|
||||
// Token: 0x06009096 RID: 37014 RVA: 0x001DC0A0 File Offset: 0x001DA2A0
|
||||
[Token(Token = "0x6009096")]
|
||||
[Address(RVA = "0xF6B590", Offset = "0xF6A590", VA = "0x180F6B590")]
|
||||
public static void SetVRHeadsetStreamingEnabled(bool bEnabled)
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
NativeMethods.ISteamUtils_SetVRHeadsetStreamingEnabled(CSteamGameServerAPIContext.m_pSteamUtils, bEnabled);
|
||||
}
|
||||
|
||||
// Token: 0x06009097 RID: 37015 RVA: 0x001DC0C0 File Offset: 0x001DA2C0
|
||||
[Token(Token = "0x6009097")]
|
||||
[Address(RVA = "0xF6B3A0", Offset = "0xF6A3A0", VA = "0x180F6B3A0")]
|
||||
public static bool IsSteamChinaLauncher()
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
return NativeMethods.ISteamUtils_IsSteamChinaLauncher(CSteamGameServerAPIContext.m_pSteamUtils);
|
||||
}
|
||||
|
||||
// Token: 0x06009098 RID: 37016 RVA: 0x001DC0E0 File Offset: 0x001DA2E0
|
||||
[Token(Token = "0x6009098")]
|
||||
[Address(RVA = "0xF6B2A0", Offset = "0xF6A2A0", VA = "0x180F6B2A0")]
|
||||
public static bool InitFilterText()
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
return NativeMethods.ISteamUtils_InitFilterText(CSteamGameServerAPIContext.m_pSteamUtils);
|
||||
}
|
||||
|
||||
// Token: 0x06009099 RID: 37017 RVA: 0x001DC100 File Offset: 0x001DA300
|
||||
[Token(Token = "0x6009099")]
|
||||
[Address(RVA = "0xF6AA30", Offset = "0xF69A30", VA = "0x180F6AA30")]
|
||||
public static int FilterText(out string pchOutFilteredText, uint nByteSizeOutFilteredText, string pchInputMessage, bool bLegalOnly)
|
||||
{
|
||||
int num;
|
||||
int num2;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
IntPtr intPtr = Marshal.AllocHGlobal((int)nByteSizeOutFilteredText);
|
||||
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchInputMessage);
|
||||
IntPtr intPtr2 = CSteamGameServerAPIContext.m_pSteamUtils;
|
||||
if (num2 != -1)
|
||||
{
|
||||
intPtr2 = intPtr;
|
||||
string text = InteropHelp.PtrToStringUTF8(intPtr2);
|
||||
}
|
||||
Marshal.FreeHGlobal(intPtr);
|
||||
if (utf8StringHandle != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
return num2;
|
||||
}
|
||||
|
||||
// Token: 0x0600909A RID: 37018 RVA: 0x001DC14C File Offset: 0x001DA34C
|
||||
[Token(Token = "0x600909A")]
|
||||
[Address(RVA = "0xF6B010", Offset = "0xF6A010", VA = "0x180F6B010")]
|
||||
public static ESteamIPv6ConnectivityState GetIPv6ConnectivityState(ESteamIPv6ConnectivityProtocol eProtocol)
|
||||
{
|
||||
InteropHelp.TestIfAvailableGameServer();
|
||||
IntPtr pSteamUtils = CSteamGameServerAPIContext.m_pSteamUtils;
|
||||
ESteamIPv6ConnectivityState esteamIPv6ConnectivityState;
|
||||
return esteamIPv6ConnectivityState;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user