lsteamclient: Fix SteamIPAddress_t size

CW-Bug-Id: #19598
This commit is contained in:
Andrew Eikum 2021-11-02 10:54:21 -05:00 committed by Arkadiusz Hiler
parent 2165c3ff81
commit b3c6c677bc
8 changed files with 9 additions and 11 deletions

View file

@ -121,9 +121,7 @@ typedef struct ControllerAnalogActionData_t { unsigned char a[13]; } ControllerA
typedef struct ControllerDigitalActionData_t { unsigned char a[2]; } ControllerDigitalActionData_t; typedef struct ControllerDigitalActionData_t { unsigned char a[2]; } ControllerDigitalActionData_t;
typedef struct ControllerMotionData_t { unsigned char a[40]; } ControllerMotionData_t; typedef struct ControllerMotionData_t { unsigned char a[40]; } ControllerMotionData_t;
typedef struct SteamNetworkPingLocation_t { uint8 m_data[ 512 ]; } SteamNetworkPingLocation_t; typedef struct SteamNetworkPingLocation_t { uint8 m_data[ 512 ]; } SteamNetworkPingLocation_t;
typedef struct SteamIPAddress_t { uint8 m_data[20]; } SteamIPAddress_t;
/* XXX GET SIZE */
typedef struct SteamIPAddress_t { uint8 m_data[12]; } SteamIPAddress_t;
#pragma pack( push, 1 ) #pragma pack( push, 1 )

View file

@ -200,7 +200,7 @@ struct SteamIPAddress_t
// Internal use only // Internal use only
uint64 m_ipv6Qword[2]; // big endian uint64 m_ipv6Qword[2]; // big endian
}; } x;
ESteamIPType m_eType; ESteamIPType m_eType;

View file

@ -201,7 +201,7 @@ struct SteamIPAddress_t
// Internal use only // Internal use only
uint64 m_ipv6Qword[2]; // big endian uint64 m_ipv6Qword[2]; // big endian
}; } x;
ESteamIPType m_eType; ESteamIPType m_eType;

View file

@ -201,7 +201,7 @@ struct SteamIPAddress_t
// Internal use only // Internal use only
uint64 m_ipv6Qword[2]; // big endian uint64 m_ipv6Qword[2]; // big endian
}; } x;
ESteamIPType m_eType; ESteamIPType m_eType;

View file

@ -201,7 +201,7 @@ struct SteamIPAddress_t
// Internal use only // Internal use only
uint64 m_ipv6Qword[2]; // big endian uint64 m_ipv6Qword[2]; // big endian
}; } x;
ESteamIPType m_eType; ESteamIPType m_eType;

View file

@ -201,7 +201,7 @@ struct SteamIPAddress_t
// Internal use only // Internal use only
uint64 m_ipv6Qword[2]; // big endian uint64 m_ipv6Qword[2]; // big endian
}; } x;
ESteamIPType m_eType; ESteamIPType m_eType;

View file

@ -127,7 +127,7 @@ struct SteamIPAddress_t
// Internal use only // Internal use only
uint64 m_ipv6Qword[2]; // big endian uint64 m_ipv6Qword[2]; // big endian
}; } x;
ESteamIPType m_eType; ESteamIPType m_eType;

View file

@ -78,7 +78,7 @@ bool __thiscall winISteamNetworking_SteamNetworking006_AllowP2PPacketRelay(winIS
return cppISteamNetworking_SteamNetworking006_AllowP2PPacketRelay(_this->linux_side, bAllow); return cppISteamNetworking_SteamNetworking006_AllowP2PPacketRelay(_this->linux_side, bAllow);
} }
DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_CreateListenSocket, 20) DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_CreateListenSocket, 36)
SNetListenSocket_t __thiscall winISteamNetworking_SteamNetworking006_CreateListenSocket(winISteamNetworking_SteamNetworking006 *_this, int nVirtualP2PPort, SteamIPAddress_t nIP, uint16 nPort, bool bAllowUseOfPacketRelay) SNetListenSocket_t __thiscall winISteamNetworking_SteamNetworking006_CreateListenSocket(winISteamNetworking_SteamNetworking006 *_this, int nVirtualP2PPort, SteamIPAddress_t nIP, uint16 nPort, bool bAllowUseOfPacketRelay)
{ {
TRACE("%p\n", _this); TRACE("%p\n", _this);
@ -92,7 +92,7 @@ SNetSocket_t __thiscall winISteamNetworking_SteamNetworking006_CreateP2PConnecti
return cppISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket(_this->linux_side, steamIDTarget, nVirtualPort, nTimeoutSec, bAllowUseOfPacketRelay); return cppISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket(_this->linux_side, steamIDTarget, nVirtualPort, nTimeoutSec, bAllowUseOfPacketRelay);
} }
DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_CreateConnectionSocket, 16) DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_CreateConnectionSocket, 32)
SNetSocket_t __thiscall winISteamNetworking_SteamNetworking006_CreateConnectionSocket(winISteamNetworking_SteamNetworking006 *_this, SteamIPAddress_t nIP, uint16 nPort, int nTimeoutSec) SNetSocket_t __thiscall winISteamNetworking_SteamNetworking006_CreateConnectionSocket(winISteamNetworking_SteamNetworking006 *_this, SteamIPAddress_t nIP, uint16 nPort, int nTimeoutSec)
{ {
TRACE("%p\n", _this); TRACE("%p\n", _this);