293 lines
18 KiB
C#
293 lines
18 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace Steamworks
|
|
{
|
|
// Token: 0x020011FB RID: 4603
|
|
[Token(Token = "0x20011FB")]
|
|
[StructLayout(3)]
|
|
public static class SteamGameServerNetworking
|
|
{
|
|
// Token: 0x06006CC4 RID: 27844 RVA: 0x0017035C File Offset: 0x0016E55C
|
|
[Token(Token = "0x6006CC4")]
|
|
[Address(RVA = "0x2A27050", Offset = "0x2A25A50", VA = "0x182A27050")]
|
|
public static bool SendP2PPacket(CSteamID steamIDRemote, byte[] pubData, uint cubData, EP2PSend eP2PSendType, int nChannel = 0)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamNetworking = CSteamGameServerAPIContext.m_pSteamNetworking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006CC5 RID: 27845 RVA: 0x0017037C File Offset: 0x0016E57C
|
|
[Token(Token = "0x6006CC5")]
|
|
[Address(RVA = "0x2A26DB0", Offset = "0x2A257B0", VA = "0x182A26DB0")]
|
|
public static bool IsP2PPacketAvailable(out uint pcubMsgSize, int nChannel = 0)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamNetworking_IsP2PPacketAvailable(CSteamGameServerAPIContext.m_pSteamNetworking, out pcubMsgSize, nChannel);
|
|
}
|
|
|
|
// Token: 0x06006CC6 RID: 27846 RVA: 0x0017039C File Offset: 0x0016E59C
|
|
[Token(Token = "0x6006CC6")]
|
|
[Address(RVA = "0x2A26E10", Offset = "0x2A25810", VA = "0x182A26E10")]
|
|
public static bool ReadP2PPacket(byte[] pubDest, uint cubDest, out uint pcubMsgSize, out CSteamID psteamIDRemote, int nChannel = 0)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamNetworking = CSteamGameServerAPIContext.m_pSteamNetworking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006CC7 RID: 27847 RVA: 0x001703B8 File Offset: 0x0016E5B8
|
|
[Token(Token = "0x6006CC7")]
|
|
[Address(RVA = "0x2A266F0", Offset = "0x2A250F0", VA = "0x182A266F0")]
|
|
public static bool AcceptP2PSessionWithUser(CSteamID steamIDRemote)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamNetworking_AcceptP2PSessionWithUser(CSteamGameServerAPIContext.m_pSteamNetworking, steamIDRemote);
|
|
}
|
|
|
|
// Token: 0x06006CC8 RID: 27848 RVA: 0x001703D8 File Offset: 0x0016E5D8
|
|
[Token(Token = "0x6006CC8")]
|
|
[Address(RVA = "0x2A267F0", Offset = "0x2A251F0", VA = "0x182A267F0")]
|
|
public static bool CloseP2PSessionWithUser(CSteamID steamIDRemote)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamNetworking_CloseP2PSessionWithUser(CSteamGameServerAPIContext.m_pSteamNetworking, steamIDRemote);
|
|
}
|
|
|
|
// Token: 0x06006CC9 RID: 27849 RVA: 0x001703F8 File Offset: 0x0016E5F8
|
|
[Token(Token = "0x6006CC9")]
|
|
[Address(RVA = "0x2A26790", Offset = "0x2A25190", VA = "0x182A26790")]
|
|
public static bool CloseP2PChannelWithUser(CSteamID steamIDRemote, int nChannel)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamNetworking_CloseP2PChannelWithUser(CSteamGameServerAPIContext.m_pSteamNetworking, steamIDRemote, nChannel);
|
|
}
|
|
|
|
// Token: 0x06006CCA RID: 27850 RVA: 0x00170418 File Offset: 0x0016E618
|
|
[Token(Token = "0x6006CCA")]
|
|
[Address(RVA = "0x2A26B90", Offset = "0x2A25590", VA = "0x182A26B90")]
|
|
public static bool GetP2PSessionState(CSteamID steamIDRemote, out P2PSessionState_t pConnectionState)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamNetworking_GetP2PSessionState(CSteamGameServerAPIContext.m_pSteamNetworking, steamIDRemote, out pConnectionState);
|
|
}
|
|
|
|
// Token: 0x06006CCB RID: 27851 RVA: 0x00170438 File Offset: 0x0016E638
|
|
[Token(Token = "0x6006CCB")]
|
|
[Address(RVA = "0x2A26740", Offset = "0x2A25140", VA = "0x182A26740")]
|
|
public static bool AllowP2PPacketRelay(bool bAllow)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamNetworking_AllowP2PPacketRelay(CSteamGameServerAPIContext.m_pSteamNetworking, bAllow);
|
|
}
|
|
|
|
// Token: 0x06006CCC RID: 27852 RVA: 0x00170458 File Offset: 0x0016E658
|
|
[Token(Token = "0x6006CCC")]
|
|
[Address(RVA = "0x2A268D0", Offset = "0x2A252D0", VA = "0x182A268D0")]
|
|
public static SNetListenSocket_t CreateListenSocket(int nVirtualP2PPort, SteamIPAddress_t nIP, ushort nPort, bool bAllowUseOfPacketRelay)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006CCC)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SNetListenSocket_t Steamworks.SteamGameServerNetworking::CreateListenSocket(System.Int32,Steamworks.SteamIPAddress_t,System.UInt16,System.Boolean)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:ESteamIPType(var_2_0D, ldfld:ESteamIPType(SteamIPAddress_t::m_eType, ldloc:SteamIPAddress_t[exp:valuetype Steamworks.SteamIPAddress_t&](nIP)))
|
|
stloc:native int(var_3_13, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamNetworking))
|
|
}
|
|
|
|
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: 0x06006CCD RID: 27853 RVA: 0x00170478 File Offset: 0x0016E678
|
|
[Token(Token = "0x6006CCD")]
|
|
[Address(RVA = "0x2A26970", Offset = "0x2A25370", VA = "0x182A26970")]
|
|
public static SNetSocket_t CreateP2PConnectionSocket(CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006CCD)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SNetSocket_t Steamworks.SteamGameServerNetworking::CreateP2PConnectionSocket(Steamworks.CSteamID,System.Int32,System.Int32,System.Boolean)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:uint32(var_2_15, call:uint32(NativeMethods::ISteamNetworking_CreateP2PConnectionSocket, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamNetworking), ldloc:CSteamID(steamIDTarget), ldloc:int32(nTimeoutSec), ldloc:int32(nTimeoutSec), ldloc:bool(bAllowUseOfPacketRelay)))
|
|
}
|
|
|
|
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: 0x06006CCE RID: 27854 RVA: 0x0017049C File Offset: 0x0016E69C
|
|
[Token(Token = "0x6006CCE")]
|
|
[Address(RVA = "0x2A26840", Offset = "0x2A25240", VA = "0x182A26840")]
|
|
public static SNetSocket_t CreateConnectionSocket(SteamIPAddress_t nIP, ushort nPort, int nTimeoutSec)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006CCE)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SNetSocket_t Steamworks.SteamGameServerNetworking::CreateConnectionSocket(Steamworks.SteamIPAddress_t,System.UInt16,System.Int32)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:ESteamIPType(var_2_0D, ldfld:ESteamIPType(SteamIPAddress_t::m_eType, ldloc:SteamIPAddress_t[exp:valuetype Steamworks.SteamIPAddress_t&](nIP)))
|
|
stloc:native int(var_3_13, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamNetworking))
|
|
}
|
|
|
|
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: 0x06006CCF RID: 27855 RVA: 0x001704BC File Offset: 0x0016E6BC
|
|
[Token(Token = "0x6006CCF")]
|
|
[Address(RVA = "0x2A26A60", Offset = "0x2A25460", VA = "0x182A26A60")]
|
|
public static bool DestroySocket(SNetSocket_t hSocket, bool bNotifyRemoteEnd)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamNetworking = CSteamGameServerAPIContext.m_pSteamNetworking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006CD0 RID: 27856 RVA: 0x001704D8 File Offset: 0x0016E6D8
|
|
[Token(Token = "0x6006CD0")]
|
|
[Address(RVA = "0x2A26A00", Offset = "0x2A25400", VA = "0x182A26A00")]
|
|
public static bool DestroyListenSocket(SNetListenSocket_t hSocket, bool bNotifyRemoteEnd)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamNetworking = CSteamGameServerAPIContext.m_pSteamNetworking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006CD1 RID: 27857 RVA: 0x001704F4 File Offset: 0x0016E6F4
|
|
[Token(Token = "0x6006CD1")]
|
|
[Address(RVA = "0x2A26FC0", Offset = "0x2A259C0", VA = "0x182A26FC0")]
|
|
public static bool SendDataOnSocket(SNetSocket_t hSocket, byte[] pubData, uint cubData, bool bReliable)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamNetworking = CSteamGameServerAPIContext.m_pSteamNetworking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006CD2 RID: 27858 RVA: 0x00170510 File Offset: 0x0016E710
|
|
[Token(Token = "0x6006CD2")]
|
|
[Address(RVA = "0x2A26CD0", Offset = "0x2A256D0", VA = "0x182A26CD0")]
|
|
public static bool IsDataAvailableOnSocket(SNetSocket_t hSocket, out uint pcubMsgSize)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamNetworking = CSteamGameServerAPIContext.m_pSteamNetworking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006CD3 RID: 27859 RVA: 0x0017052C File Offset: 0x0016E72C
|
|
[Token(Token = "0x6006CD3")]
|
|
[Address(RVA = "0x2A26EA0", Offset = "0x2A258A0", VA = "0x182A26EA0")]
|
|
public static bool RetrieveDataFromSocket(SNetSocket_t hSocket, byte[] pubDest, uint cubDest, out uint pcubMsgSize)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamNetworking = CSteamGameServerAPIContext.m_pSteamNetworking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006CD4 RID: 27860 RVA: 0x00170548 File Offset: 0x0016E748
|
|
[Token(Token = "0x6006CD4")]
|
|
[Address(RVA = "0x2A26D30", Offset = "0x2A25730", VA = "0x182A26D30")]
|
|
public static bool IsDataAvailable(SNetListenSocket_t hListenSocket, out uint pcubMsgSize, out SNetSocket_t phSocket)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamNetworking = CSteamGameServerAPIContext.m_pSteamNetworking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006CD5 RID: 27861 RVA: 0x00170564 File Offset: 0x0016E764
|
|
[Token(Token = "0x6006CD5")]
|
|
[Address(RVA = "0x2A26F30", Offset = "0x2A25930", VA = "0x182A26F30")]
|
|
public static bool RetrieveData(SNetListenSocket_t hListenSocket, byte[] pubDest, uint cubDest, out uint pcubMsgSize, out SNetSocket_t phSocket)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamNetworking = CSteamGameServerAPIContext.m_pSteamNetworking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006CD6 RID: 27862 RVA: 0x00170580 File Offset: 0x0016E780
|
|
[Token(Token = "0x6006CD6")]
|
|
[Address(RVA = "0x2A26C40", Offset = "0x2A25640", VA = "0x182A26C40")]
|
|
public static bool GetSocketInfo(SNetSocket_t hSocket, out CSteamID pSteamIDRemote, out int peSocketStatus, out SteamIPAddress_t punIPRemote, out ushort punPortRemote)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamNetworking = CSteamGameServerAPIContext.m_pSteamNetworking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006CD7 RID: 27863 RVA: 0x0017059C File Offset: 0x0016E79C
|
|
[Token(Token = "0x6006CD7")]
|
|
[Address(RVA = "0x2A26AC0", Offset = "0x2A254C0", VA = "0x182A26AC0")]
|
|
public static bool GetListenSocketInfo(SNetListenSocket_t hListenSocket, out SteamIPAddress_t pnIP, out ushort pnPort)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamNetworking = CSteamGameServerAPIContext.m_pSteamNetworking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006CD8 RID: 27864 RVA: 0x001705B8 File Offset: 0x0016E7B8
|
|
[Token(Token = "0x6006CD8")]
|
|
[Address(RVA = "0x2A26BF0", Offset = "0x2A255F0", VA = "0x182A26BF0")]
|
|
public static ESNetSocketConnectionType GetSocketConnectionType(SNetSocket_t hSocket)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamNetworking = CSteamGameServerAPIContext.m_pSteamNetworking;
|
|
ESNetSocketConnectionType esnetSocketConnectionType;
|
|
return esnetSocketConnectionType;
|
|
}
|
|
|
|
// Token: 0x06006CD9 RID: 27865 RVA: 0x001705D4 File Offset: 0x0016E7D4
|
|
[Token(Token = "0x6006CD9")]
|
|
[Address(RVA = "0x2A26B40", Offset = "0x2A25540", VA = "0x182A26B40")]
|
|
public static int GetMaxPacketSize(SNetSocket_t hSocket)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamNetworking = CSteamGameServerAPIContext.m_pSteamNetworking;
|
|
int num;
|
|
return num;
|
|
}
|
|
}
|
|
}
|