293 lines
17 KiB
C#
293 lines
17 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace Steamworks
|
|
{
|
|
// Token: 0x02001209 RID: 4617
|
|
[Token(Token = "0x2001209")]
|
|
[StructLayout(3)]
|
|
public static class SteamNetworking
|
|
{
|
|
// Token: 0x06006E54 RID: 28244 RVA: 0x00174014 File Offset: 0x00172214
|
|
[Token(Token = "0x6006E54")]
|
|
[Address(RVA = "0x2A966A0", Offset = "0x2A950A0", VA = "0x182A966A0")]
|
|
public static bool SendP2PPacket(CSteamID steamIDRemote, byte[] pubData, uint cubData, EP2PSend eP2PSendType, int nChannel = 0)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamNetworking = CSteamAPIContext.m_pSteamNetworking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006E55 RID: 28245 RVA: 0x00174034 File Offset: 0x00172234
|
|
[Token(Token = "0x6006E55")]
|
|
[Address(RVA = "0x2A96400", Offset = "0x2A94E00", VA = "0x182A96400")]
|
|
public static bool IsP2PPacketAvailable(out uint pcubMsgSize, int nChannel = 0)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamNetworking_IsP2PPacketAvailable(CSteamAPIContext.m_pSteamNetworking, out pcubMsgSize, nChannel);
|
|
}
|
|
|
|
// Token: 0x06006E56 RID: 28246 RVA: 0x00174054 File Offset: 0x00172254
|
|
[Token(Token = "0x6006E56")]
|
|
[Address(RVA = "0x2A96460", Offset = "0x2A94E60", VA = "0x182A96460")]
|
|
public static bool ReadP2PPacket(byte[] pubDest, uint cubDest, out uint pcubMsgSize, out CSteamID psteamIDRemote, int nChannel = 0)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamNetworking = CSteamAPIContext.m_pSteamNetworking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006E57 RID: 28247 RVA: 0x00174070 File Offset: 0x00172270
|
|
[Token(Token = "0x6006E57")]
|
|
[Address(RVA = "0x2A95D40", Offset = "0x2A94740", VA = "0x182A95D40")]
|
|
public static bool AcceptP2PSessionWithUser(CSteamID steamIDRemote)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamNetworking_AcceptP2PSessionWithUser(CSteamAPIContext.m_pSteamNetworking, steamIDRemote);
|
|
}
|
|
|
|
// Token: 0x06006E58 RID: 28248 RVA: 0x00174090 File Offset: 0x00172290
|
|
[Token(Token = "0x6006E58")]
|
|
[Address(RVA = "0x2A95E40", Offset = "0x2A94840", VA = "0x182A95E40")]
|
|
public static bool CloseP2PSessionWithUser(CSteamID steamIDRemote)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamNetworking_CloseP2PSessionWithUser(CSteamAPIContext.m_pSteamNetworking, steamIDRemote);
|
|
}
|
|
|
|
// Token: 0x06006E59 RID: 28249 RVA: 0x001740B0 File Offset: 0x001722B0
|
|
[Token(Token = "0x6006E59")]
|
|
[Address(RVA = "0x2A95DE0", Offset = "0x2A947E0", VA = "0x182A95DE0")]
|
|
public static bool CloseP2PChannelWithUser(CSteamID steamIDRemote, int nChannel)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamNetworking_CloseP2PChannelWithUser(CSteamAPIContext.m_pSteamNetworking, steamIDRemote, nChannel);
|
|
}
|
|
|
|
// Token: 0x06006E5A RID: 28250 RVA: 0x001740D0 File Offset: 0x001722D0
|
|
[Token(Token = "0x6006E5A")]
|
|
[Address(RVA = "0x2A961E0", Offset = "0x2A94BE0", VA = "0x182A961E0")]
|
|
public static bool GetP2PSessionState(CSteamID steamIDRemote, out P2PSessionState_t pConnectionState)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamNetworking_GetP2PSessionState(CSteamAPIContext.m_pSteamNetworking, steamIDRemote, out pConnectionState);
|
|
}
|
|
|
|
// Token: 0x06006E5B RID: 28251 RVA: 0x001740F0 File Offset: 0x001722F0
|
|
[Token(Token = "0x6006E5B")]
|
|
[Address(RVA = "0x2A95D90", Offset = "0x2A94790", VA = "0x182A95D90")]
|
|
public static bool AllowP2PPacketRelay(bool bAllow)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamNetworking_AllowP2PPacketRelay(CSteamAPIContext.m_pSteamNetworking, bAllow);
|
|
}
|
|
|
|
// Token: 0x06006E5C RID: 28252 RVA: 0x00174110 File Offset: 0x00172310
|
|
[Token(Token = "0x6006E5C")]
|
|
[Address(RVA = "0x2A95F20", Offset = "0x2A94920", VA = "0x182A95F20")]
|
|
public static SNetListenSocket_t CreateListenSocket(int nVirtualP2PPort, SteamIPAddress_t nIP, ushort nPort, bool bAllowUseOfPacketRelay)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006E5C)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SNetListenSocket_t Steamworks.SteamNetworking::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::TestIfAvailableClient)
|
|
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(CSteamAPIContext::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: 0x06006E5D RID: 28253 RVA: 0x00174130 File Offset: 0x00172330
|
|
[Token(Token = "0x6006E5D")]
|
|
[Address(RVA = "0x2A95FC0", Offset = "0x2A949C0", VA = "0x182A95FC0")]
|
|
public static SNetSocket_t CreateP2PConnectionSocket(CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006E5D)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SNetSocket_t Steamworks.SteamNetworking::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::TestIfAvailableClient)
|
|
stloc:uint32(var_2_15, call:uint32(NativeMethods::ISteamNetworking_CreateP2PConnectionSocket, ldsfld:native int(CSteamAPIContext::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: 0x06006E5E RID: 28254 RVA: 0x00174154 File Offset: 0x00172354
|
|
[Token(Token = "0x6006E5E")]
|
|
[Address(RVA = "0x2A95E90", Offset = "0x2A94890", VA = "0x182A95E90")]
|
|
public static SNetSocket_t CreateConnectionSocket(SteamIPAddress_t nIP, ushort nPort, int nTimeoutSec)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006E5E)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SNetSocket_t Steamworks.SteamNetworking::CreateConnectionSocket(Steamworks.SteamIPAddress_t,System.UInt16,System.Int32)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableClient)
|
|
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(CSteamAPIContext::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: 0x06006E5F RID: 28255 RVA: 0x00174174 File Offset: 0x00172374
|
|
[Token(Token = "0x6006E5F")]
|
|
[Address(RVA = "0x2A960B0", Offset = "0x2A94AB0", VA = "0x182A960B0")]
|
|
public static bool DestroySocket(SNetSocket_t hSocket, bool bNotifyRemoteEnd)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamNetworking = CSteamAPIContext.m_pSteamNetworking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006E60 RID: 28256 RVA: 0x00174190 File Offset: 0x00172390
|
|
[Token(Token = "0x6006E60")]
|
|
[Address(RVA = "0x2A96050", Offset = "0x2A94A50", VA = "0x182A96050")]
|
|
public static bool DestroyListenSocket(SNetListenSocket_t hSocket, bool bNotifyRemoteEnd)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamNetworking = CSteamAPIContext.m_pSteamNetworking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006E61 RID: 28257 RVA: 0x001741AC File Offset: 0x001723AC
|
|
[Token(Token = "0x6006E61")]
|
|
[Address(RVA = "0x2A96610", Offset = "0x2A95010", VA = "0x182A96610")]
|
|
public static bool SendDataOnSocket(SNetSocket_t hSocket, byte[] pubData, uint cubData, bool bReliable)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamNetworking = CSteamAPIContext.m_pSteamNetworking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006E62 RID: 28258 RVA: 0x001741C8 File Offset: 0x001723C8
|
|
[Token(Token = "0x6006E62")]
|
|
[Address(RVA = "0x2A96320", Offset = "0x2A94D20", VA = "0x182A96320")]
|
|
public static bool IsDataAvailableOnSocket(SNetSocket_t hSocket, out uint pcubMsgSize)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamNetworking = CSteamAPIContext.m_pSteamNetworking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006E63 RID: 28259 RVA: 0x001741E4 File Offset: 0x001723E4
|
|
[Token(Token = "0x6006E63")]
|
|
[Address(RVA = "0x2A964F0", Offset = "0x2A94EF0", VA = "0x182A964F0")]
|
|
public static bool RetrieveDataFromSocket(SNetSocket_t hSocket, byte[] pubDest, uint cubDest, out uint pcubMsgSize)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamNetworking = CSteamAPIContext.m_pSteamNetworking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006E64 RID: 28260 RVA: 0x00174200 File Offset: 0x00172400
|
|
[Token(Token = "0x6006E64")]
|
|
[Address(RVA = "0x2A96380", Offset = "0x2A94D80", VA = "0x182A96380")]
|
|
public static bool IsDataAvailable(SNetListenSocket_t hListenSocket, out uint pcubMsgSize, out SNetSocket_t phSocket)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamNetworking = CSteamAPIContext.m_pSteamNetworking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006E65 RID: 28261 RVA: 0x0017421C File Offset: 0x0017241C
|
|
[Token(Token = "0x6006E65")]
|
|
[Address(RVA = "0x2A96580", Offset = "0x2A94F80", VA = "0x182A96580")]
|
|
public static bool RetrieveData(SNetListenSocket_t hListenSocket, byte[] pubDest, uint cubDest, out uint pcubMsgSize, out SNetSocket_t phSocket)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamNetworking = CSteamAPIContext.m_pSteamNetworking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006E66 RID: 28262 RVA: 0x00174238 File Offset: 0x00172438
|
|
[Token(Token = "0x6006E66")]
|
|
[Address(RVA = "0x2A96290", Offset = "0x2A94C90", VA = "0x182A96290")]
|
|
public static bool GetSocketInfo(SNetSocket_t hSocket, out CSteamID pSteamIDRemote, out int peSocketStatus, out SteamIPAddress_t punIPRemote, out ushort punPortRemote)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamNetworking = CSteamAPIContext.m_pSteamNetworking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006E67 RID: 28263 RVA: 0x00174254 File Offset: 0x00172454
|
|
[Token(Token = "0x6006E67")]
|
|
[Address(RVA = "0x2A96110", Offset = "0x2A94B10", VA = "0x182A96110")]
|
|
public static bool GetListenSocketInfo(SNetListenSocket_t hListenSocket, out SteamIPAddress_t pnIP, out ushort pnPort)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamNetworking = CSteamAPIContext.m_pSteamNetworking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006E68 RID: 28264 RVA: 0x00174270 File Offset: 0x00172470
|
|
[Token(Token = "0x6006E68")]
|
|
[Address(RVA = "0x2A96240", Offset = "0x2A94C40", VA = "0x182A96240")]
|
|
public static ESNetSocketConnectionType GetSocketConnectionType(SNetSocket_t hSocket)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamNetworking = CSteamAPIContext.m_pSteamNetworking;
|
|
ESNetSocketConnectionType esnetSocketConnectionType;
|
|
return esnetSocketConnectionType;
|
|
}
|
|
|
|
// Token: 0x06006E69 RID: 28265 RVA: 0x0017428C File Offset: 0x0017248C
|
|
[Token(Token = "0x6006E69")]
|
|
[Address(RVA = "0x2A96190", Offset = "0x2A94B90", VA = "0x182A96190")]
|
|
public static int GetMaxPacketSize(SNetSocket_t hSocket)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamNetworking = CSteamAPIContext.m_pSteamNetworking;
|
|
int num;
|
|
return num;
|
|
}
|
|
}
|
|
}
|