Class NetWrapper
Assembly: SlipeServer.Net.dll
Syntax
public class NetWrapper : IDisposable, INetWrapper
Constructors
|
Edit this page
View Source
NetWrapper(string, string, string, ushort)
Declaration
public NetWrapper(string directory, string netDllPath, string host, ushort port)
Parameters
Methods
|
Edit this page
View Source
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
|
Edit this page
View Source
GetClientSerialExtraAndVersion(ulong)
Declaration
public Tuple<string, string, string> GetClientSerialExtraAndVersion(ulong binaryAddress)
Parameters
Type |
Name |
Description |
ulong |
binaryAddress |
|
Returns
|
Edit this page
View Source
GetPlayerIp(ulong)
Declaration
public IPAddress GetPlayerIp(ulong binaryAddress)
Parameters
Type |
Name |
Description |
ulong |
binaryAddress |
|
Returns
|
Edit this page
View Source
PacketInterceptor(byte, ulong, nint, uint, bool, uint)
Declaration
protected virtual void PacketInterceptor(byte packetId, ulong binaryAddress, nint payload, uint payloadSize, bool hasPing, uint ping)
Parameters
|
Edit this page
View Source
ResendModPackets(ulong)
Declaration
public void ResendModPackets(ulong binaryAddress)
Parameters
Type |
Name |
Description |
ulong |
binaryAddress |
|
|
Edit this page
View Source
ResendPlayerACInfo(ulong)
Declaration
public void ResendPlayerACInfo(ulong binaryAddress)
Parameters
Type |
Name |
Description |
ulong |
binaryAddress |
|
|
Edit this page
View Source
SendPacket(ulong, PacketId, ushort, byte[], PacketPriority, PacketReliability)
Declaration
public void SendPacket(ulong binaryAddress, PacketId packetId, ushort bitStreamVersion, byte[] data, PacketPriority priority = PacketPriority.High, PacketReliability reliability = PacketReliability.ReliableSequenced)
Parameters
|
Edit this page
View Source
SendPacket(ulong, byte, ushort, byte[], PacketPriority, PacketReliability)
Declaration
protected virtual void SendPacket(ulong binaryAddress, byte packetId, ushort bitStreamVersion, byte[] payload, PacketPriority priority, PacketReliability reliability)
Parameters
|
Edit this page
View Source
SendPacket(ulong, ushort, Packet)
Declaration
public void SendPacket(ulong binaryAddress, ushort bitStreamVersion, Packet packet)
Parameters
|
Edit this page
View Source
SetAntiCheatConfig(IEnumerable<AntiCheat>, bool, AllowGta3ImgMods, IEnumerable<SpecialDetection>, DataFile)
Declaration
public void SetAntiCheatConfig(IEnumerable<AntiCheat> disabledAntiCheats, bool hideAntiCheatFromClient, AllowGta3ImgMods allowGta3ImgMods, IEnumerable<SpecialDetection> enabledSpecialDetections, DataFile disallowedDataFiles)
Parameters
|
Edit this page
View Source
SetVersion(ulong, ushort)
Declaration
public void SetVersion(ulong binaryAddress, ushort version)
Parameters
Type |
Name |
Description |
ulong |
binaryAddress |
|
ushort |
version |
|
|
Edit this page
View Source
Start()
Declaration
|
Edit this page
View Source
Stop()
Declaration
Events
|
Edit this page
View Source
PacketReceived
Declaration
public event Action<INetWrapper, ulong, PacketId, byte[], uint?>? PacketReceived
Event Type
Implements