mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-30 11:14:37 +01:00
lsteamclient: build fixes
This commit is contained in:
parent
c7d6c1f18b
commit
f9f3754f09
224 changed files with 4009 additions and 5342 deletions
|
|
@ -46,7 +46,7 @@ void win_to_lin_struct_FriendGameInfo_t_113(void *w, void *l)
|
|||
{
|
||||
FriendGameInfo_t *lin = (FriendGameInfo_t *)l;
|
||||
struct winFriendGameInfo_t_113 *win = (struct winFriendGameInfo_t_113 *)w;
|
||||
win_to_lin_struct_CGameID_113(&win->m_gameID, &lin->m_gameID);
|
||||
lin->m_gameID = win->m_gameID;
|
||||
lin->m_unGameIP = win->m_unGameIP;
|
||||
lin->m_usGamePort = win->m_usGamePort;
|
||||
lin->m_usQueryPort = win->m_usQueryPort;
|
||||
|
|
@ -57,35 +57,13 @@ void lin_to_win_struct_FriendGameInfo_t_113(void *l, void *w)
|
|||
{
|
||||
FriendGameInfo_t *lin = (FriendGameInfo_t *)l;
|
||||
struct winFriendGameInfo_t_113 *win = (struct winFriendGameInfo_t_113 *)w;
|
||||
lin_to_win_struct_CGameID_113(&lin->m_gameID, &win->m_gameID);
|
||||
win->m_gameID = lin->m_gameID;
|
||||
win->m_unGameIP = lin->m_unGameIP;
|
||||
win->m_usGamePort = lin->m_usGamePort;
|
||||
win->m_usQueryPort = lin->m_usQueryPort;
|
||||
win->m_steamIDLobby = lin->m_steamIDLobby;
|
||||
}
|
||||
|
||||
#pragma pack( push, 8 )
|
||||
struct winMatchMakingKeyValuePair_t_113 {
|
||||
char m_szKey[256];
|
||||
char m_szValue[256];
|
||||
} __attribute__ ((ms_struct));
|
||||
#pragma pack( pop )
|
||||
void win_to_lin_struct_MatchMakingKeyValuePair_t_113(void *w, void *l)
|
||||
{
|
||||
MatchMakingKeyValuePair_t *lin = (MatchMakingKeyValuePair_t *)l;
|
||||
struct winMatchMakingKeyValuePair_t_113 *win = (struct winMatchMakingKeyValuePair_t_113 *)w;
|
||||
memcpy(lin->m_szKey, win->m_szKey, sizeof(lin->m_szKey));
|
||||
memcpy(lin->m_szValue, win->m_szValue, sizeof(lin->m_szValue));
|
||||
}
|
||||
|
||||
void lin_to_win_struct_MatchMakingKeyValuePair_t_113(void *l, void *w)
|
||||
{
|
||||
MatchMakingKeyValuePair_t *lin = (MatchMakingKeyValuePair_t *)l;
|
||||
struct winMatchMakingKeyValuePair_t_113 *win = (struct winMatchMakingKeyValuePair_t_113 *)w;
|
||||
memcpy(win->m_szKey, lin->m_szKey, sizeof(win->m_szKey));
|
||||
memcpy(win->m_szValue, lin->m_szValue, sizeof(win->m_szValue));
|
||||
}
|
||||
|
||||
#pragma pack( push, 8 )
|
||||
struct winservernetadr_t_113 {
|
||||
uint16 m_usConnectionPort;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue