291 lines
17 KiB
C#
291 lines
17 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace Steamworks
|
|
{
|
|
// Token: 0x02001828 RID: 6184
|
|
[Token(Token = "0x2001828")]
|
|
public static class SteamNetworking
|
|
{
|
|
// Token: 0x06008DCD RID: 36301 RVA: 0x001D5634 File Offset: 0x001D3834
|
|
[Token(Token = "0x6008DCD")]
|
|
[Address(RVA = "0x1A96260", Offset = "0x1A95060", VA = "0x181A96260")]
|
|
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: 0x06008DCE RID: 36302 RVA: 0x001D5654 File Offset: 0x001D3854
|
|
[Token(Token = "0x6008DCE")]
|
|
[Address(RVA = "0x1A95FC0", Offset = "0x1A94DC0", VA = "0x181A95FC0")]
|
|
public static bool IsP2PPacketAvailable(out uint pcubMsgSize, int nChannel = 0)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamNetworking_IsP2PPacketAvailable(CSteamAPIContext.m_pSteamNetworking, out pcubMsgSize, nChannel);
|
|
}
|
|
|
|
// Token: 0x06008DCF RID: 36303 RVA: 0x001D5674 File Offset: 0x001D3874
|
|
[Token(Token = "0x6008DCF")]
|
|
[Address(RVA = "0x1A96020", Offset = "0x1A94E20", VA = "0x181A96020")]
|
|
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: 0x06008DD0 RID: 36304 RVA: 0x001D5690 File Offset: 0x001D3890
|
|
[Token(Token = "0x6008DD0")]
|
|
[Address(RVA = "0x1A95900", Offset = "0x1A94700", VA = "0x181A95900")]
|
|
public static bool AcceptP2PSessionWithUser(CSteamID steamIDRemote)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamNetworking_AcceptP2PSessionWithUser(CSteamAPIContext.m_pSteamNetworking, steamIDRemote);
|
|
}
|
|
|
|
// Token: 0x06008DD1 RID: 36305 RVA: 0x001D56B0 File Offset: 0x001D38B0
|
|
[Token(Token = "0x6008DD1")]
|
|
[Address(RVA = "0x1A95A00", Offset = "0x1A94800", VA = "0x181A95A00")]
|
|
public static bool CloseP2PSessionWithUser(CSteamID steamIDRemote)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamNetworking_CloseP2PSessionWithUser(CSteamAPIContext.m_pSteamNetworking, steamIDRemote);
|
|
}
|
|
|
|
// Token: 0x06008DD2 RID: 36306 RVA: 0x001D56D0 File Offset: 0x001D38D0
|
|
[Token(Token = "0x6008DD2")]
|
|
[Address(RVA = "0x1A959A0", Offset = "0x1A947A0", VA = "0x181A959A0")]
|
|
public static bool CloseP2PChannelWithUser(CSteamID steamIDRemote, int nChannel)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamNetworking_CloseP2PChannelWithUser(CSteamAPIContext.m_pSteamNetworking, steamIDRemote, nChannel);
|
|
}
|
|
|
|
// Token: 0x06008DD3 RID: 36307 RVA: 0x001D56F0 File Offset: 0x001D38F0
|
|
[Token(Token = "0x6008DD3")]
|
|
[Address(RVA = "0x1A95DA0", Offset = "0x1A94BA0", VA = "0x181A95DA0")]
|
|
public static bool GetP2PSessionState(CSteamID steamIDRemote, out P2PSessionState_t pConnectionState)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamNetworking_GetP2PSessionState(CSteamAPIContext.m_pSteamNetworking, steamIDRemote, out pConnectionState);
|
|
}
|
|
|
|
// Token: 0x06008DD4 RID: 36308 RVA: 0x001D5710 File Offset: 0x001D3910
|
|
[Token(Token = "0x6008DD4")]
|
|
[Address(RVA = "0x1A95950", Offset = "0x1A94750", VA = "0x181A95950")]
|
|
public static bool AllowP2PPacketRelay(bool bAllow)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamNetworking_AllowP2PPacketRelay(CSteamAPIContext.m_pSteamNetworking, bAllow);
|
|
}
|
|
|
|
// Token: 0x06008DD5 RID: 36309 RVA: 0x001D5730 File Offset: 0x001D3930
|
|
[Token(Token = "0x6008DD5")]
|
|
[Address(RVA = "0x1A95AE0", Offset = "0x1A948E0", VA = "0x181A95AE0")]
|
|
public static SNetListenSocket_t CreateListenSocket(int nVirtualP2PPort, SteamIPAddress_t nIP, ushort nPort, bool bAllowUseOfPacketRelay)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06008DD5)
|
|
|
|
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: 0x06008DD6 RID: 36310 RVA: 0x001D5750 File Offset: 0x001D3950
|
|
[Token(Token = "0x6008DD6")]
|
|
[Address(RVA = "0x1A95B80", Offset = "0x1A94980", VA = "0x181A95B80")]
|
|
public static SNetSocket_t CreateP2PConnectionSocket(CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06008DD6)
|
|
|
|
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: 0x06008DD7 RID: 36311 RVA: 0x001D5774 File Offset: 0x001D3974
|
|
[Token(Token = "0x6008DD7")]
|
|
[Address(RVA = "0x1A95A50", Offset = "0x1A94850", VA = "0x181A95A50")]
|
|
public static SNetSocket_t CreateConnectionSocket(SteamIPAddress_t nIP, ushort nPort, int nTimeoutSec)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06008DD7)
|
|
|
|
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: 0x06008DD8 RID: 36312 RVA: 0x001D5794 File Offset: 0x001D3994
|
|
[Token(Token = "0x6008DD8")]
|
|
[Address(RVA = "0x1A95C70", Offset = "0x1A94A70", VA = "0x181A95C70")]
|
|
public static bool DestroySocket(SNetSocket_t hSocket, bool bNotifyRemoteEnd)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamNetworking = CSteamAPIContext.m_pSteamNetworking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06008DD9 RID: 36313 RVA: 0x001D57B0 File Offset: 0x001D39B0
|
|
[Token(Token = "0x6008DD9")]
|
|
[Address(RVA = "0x1A95C10", Offset = "0x1A94A10", VA = "0x181A95C10")]
|
|
public static bool DestroyListenSocket(SNetListenSocket_t hSocket, bool bNotifyRemoteEnd)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamNetworking = CSteamAPIContext.m_pSteamNetworking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06008DDA RID: 36314 RVA: 0x001D57CC File Offset: 0x001D39CC
|
|
[Token(Token = "0x6008DDA")]
|
|
[Address(RVA = "0x1A961D0", Offset = "0x1A94FD0", VA = "0x181A961D0")]
|
|
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: 0x06008DDB RID: 36315 RVA: 0x001D57E8 File Offset: 0x001D39E8
|
|
[Token(Token = "0x6008DDB")]
|
|
[Address(RVA = "0x1A95EE0", Offset = "0x1A94CE0", VA = "0x181A95EE0")]
|
|
public static bool IsDataAvailableOnSocket(SNetSocket_t hSocket, out uint pcubMsgSize)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamNetworking = CSteamAPIContext.m_pSteamNetworking;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06008DDC RID: 36316 RVA: 0x001D5804 File Offset: 0x001D3A04
|
|
[Token(Token = "0x6008DDC")]
|
|
[Address(RVA = "0x1A960B0", Offset = "0x1A94EB0", VA = "0x181A960B0")]
|
|
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: 0x06008DDD RID: 36317 RVA: 0x001D5820 File Offset: 0x001D3A20
|
|
[Token(Token = "0x6008DDD")]
|
|
[Address(RVA = "0x1A95F40", Offset = "0x1A94D40", VA = "0x181A95F40")]
|
|
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: 0x06008DDE RID: 36318 RVA: 0x001D583C File Offset: 0x001D3A3C
|
|
[Token(Token = "0x6008DDE")]
|
|
[Address(RVA = "0x1A96140", Offset = "0x1A94F40", VA = "0x181A96140")]
|
|
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: 0x06008DDF RID: 36319 RVA: 0x001D5858 File Offset: 0x001D3A58
|
|
[Token(Token = "0x6008DDF")]
|
|
[Address(RVA = "0x1A95E50", Offset = "0x1A94C50", VA = "0x181A95E50")]
|
|
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: 0x06008DE0 RID: 36320 RVA: 0x001D5874 File Offset: 0x001D3A74
|
|
[Token(Token = "0x6008DE0")]
|
|
[Address(RVA = "0x1A95CD0", Offset = "0x1A94AD0", VA = "0x181A95CD0")]
|
|
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: 0x06008DE1 RID: 36321 RVA: 0x001D5890 File Offset: 0x001D3A90
|
|
[Token(Token = "0x6008DE1")]
|
|
[Address(RVA = "0x1A95E00", Offset = "0x1A94C00", VA = "0x181A95E00")]
|
|
public static ESNetSocketConnectionType GetSocketConnectionType(SNetSocket_t hSocket)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamNetworking = CSteamAPIContext.m_pSteamNetworking;
|
|
ESNetSocketConnectionType esnetSocketConnectionType;
|
|
return esnetSocketConnectionType;
|
|
}
|
|
|
|
// Token: 0x06008DE2 RID: 36322 RVA: 0x001D58AC File Offset: 0x001D3AAC
|
|
[Token(Token = "0x6008DE2")]
|
|
[Address(RVA = "0x1A95D50", Offset = "0x1A94B50", VA = "0x181A95D50")]
|
|
public static int GetMaxPacketSize(SNetSocket_t hSocket)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamNetworking = CSteamAPIContext.m_pSteamNetworking;
|
|
int num;
|
|
return num;
|
|
}
|
|
}
|
|
}
|