mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-02-27 05:51:13 +03:00
Network struct packing fixes
This commit is contained in:
parent
6be5826f31
commit
ea0f19ff8e
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace Steamworks.Data
|
namespace Steamworks.Data
|
||||||
{
|
{
|
||||||
[StructLayout( LayoutKind.Sequential, Pack = 0 )]
|
[StructLayout( LayoutKind.Sequential, Size = 696 )]
|
||||||
public struct ConnectionInfo
|
public struct ConnectionInfo
|
||||||
{
|
{
|
||||||
internal NetworkIdentity identity;
|
internal NetworkIdentity identity;
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace Steamworks.Data
|
namespace Steamworks.Data
|
||||||
{
|
{
|
||||||
[StructLayout( LayoutKind.Explicit, Size = 18 )]
|
[StructLayout( LayoutKind.Explicit, Size = 18, Pack = 1 )]
|
||||||
public struct NetworkAddress
|
public struct NetworkAddress
|
||||||
{
|
{
|
||||||
[FieldOffset( 0 )]
|
[FieldOffset( 0 )]
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace Steamworks.Data
|
namespace Steamworks.Data
|
||||||
{
|
{
|
||||||
[StructLayout( LayoutKind.Explicit, Size = 136, Pack = 8 )]
|
[StructLayout( LayoutKind.Explicit, Size = 136, Pack = 1 )]
|
||||||
public struct NetworkIdentity
|
public struct NetworkIdentity
|
||||||
{
|
{
|
||||||
[FieldOffset( 0 )]
|
[FieldOffset( 0 )]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user