mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 12:38:24 +01:00
21 lines
462 B
C#
21 lines
462 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace Brutal.RakNetApi
|
|
{
|
|
[StructLayout(LayoutKind.Explicit)]
|
|
public unsafe partial struct RakNetSocket2
|
|
{
|
|
[FieldOffset(8)]
|
|
public RNS2EventHandler* EventHandler;
|
|
|
|
[FieldOffset(16)]
|
|
public RNS2Type SocketType;
|
|
|
|
[FieldOffset(20)]
|
|
public SystemAddress BoundAddress;
|
|
|
|
[FieldOffset(40)]
|
|
public uint UserConnectionSocketIndex;
|
|
}
|
|
}
|