mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-21 21:26:03 +01:00
lsteamclient: Call struct converters
This commit is contained in:
parent
ab30d847d9
commit
c7d6c1f18b
50 changed files with 630 additions and 105 deletions
|
|
@ -7,32 +7,76 @@ extern "C" {
|
|||
#endif
|
||||
HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse)
|
||||
{
|
||||
return ((ISteamMatchmakingServers*)linux_side)->RequestInternetServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse);
|
||||
MatchMakingKeyValuePair_t ** *lin_ppchFilters = malloc(sizeof(MatchMakingKeyValuePair_t **) * nFilters);
|
||||
for(int i = 0; i < nFilters; ++i)
|
||||
win_to_lin_struct_MatchMakingKeyValuePair_t **_142(ppchFilters[i], &lin_ppchFilters[i]);
|
||||
ISteamMatchmakingServerListResponse lin_pRequestServersResponse;
|
||||
win_to_lin_struct_ISteamMatchmakingServerListResponse_142(pRequestServersResponse, &lin_pRequestServersResponse);
|
||||
HServerListRequest retval = ((ISteamMatchmakingServers*)linux_side)->RequestInternetServerList((AppId_t)iApp, &lin_ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse);
|
||||
lin_to_win_struct_MatchMakingKeyValuePair_t *_142(&lin_ppchFilters, ppchFilters);
|
||||
lin_to_win_struct_ISteamMatchmakingServerListResponse_142(&lin_pRequestServersResponse, pRequestServersResponse);
|
||||
return retval;
|
||||
}
|
||||
|
||||
HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList(void *linux_side, AppId_t iApp, ISteamMatchmakingServerListResponse * pRequestServersResponse)
|
||||
{
|
||||
return ((ISteamMatchmakingServers*)linux_side)->RequestLANServerList((AppId_t)iApp, (ISteamMatchmakingServerListResponse *)pRequestServersResponse);
|
||||
ISteamMatchmakingServerListResponse lin_pRequestServersResponse;
|
||||
win_to_lin_struct_ISteamMatchmakingServerListResponse_142(pRequestServersResponse, &lin_pRequestServersResponse);
|
||||
HServerListRequest retval = ((ISteamMatchmakingServers*)linux_side)->RequestLANServerList((AppId_t)iApp, (ISteamMatchmakingServerListResponse *)pRequestServersResponse);
|
||||
lin_to_win_struct_ISteamMatchmakingServerListResponse_142(&lin_pRequestServersResponse, pRequestServersResponse);
|
||||
return retval;
|
||||
}
|
||||
|
||||
HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse)
|
||||
{
|
||||
return ((ISteamMatchmakingServers*)linux_side)->RequestFriendsServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse);
|
||||
MatchMakingKeyValuePair_t ** *lin_ppchFilters = malloc(sizeof(MatchMakingKeyValuePair_t **) * nFilters);
|
||||
for(int i = 0; i < nFilters; ++i)
|
||||
win_to_lin_struct_MatchMakingKeyValuePair_t **_142(ppchFilters[i], &lin_ppchFilters[i]);
|
||||
ISteamMatchmakingServerListResponse lin_pRequestServersResponse;
|
||||
win_to_lin_struct_ISteamMatchmakingServerListResponse_142(pRequestServersResponse, &lin_pRequestServersResponse);
|
||||
HServerListRequest retval = ((ISteamMatchmakingServers*)linux_side)->RequestFriendsServerList((AppId_t)iApp, &lin_ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse);
|
||||
lin_to_win_struct_MatchMakingKeyValuePair_t *_142(&lin_ppchFilters, ppchFilters);
|
||||
lin_to_win_struct_ISteamMatchmakingServerListResponse_142(&lin_pRequestServersResponse, pRequestServersResponse);
|
||||
return retval;
|
||||
}
|
||||
|
||||
HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse)
|
||||
{
|
||||
return ((ISteamMatchmakingServers*)linux_side)->RequestFavoritesServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse);
|
||||
MatchMakingKeyValuePair_t ** *lin_ppchFilters = malloc(sizeof(MatchMakingKeyValuePair_t **) * nFilters);
|
||||
for(int i = 0; i < nFilters; ++i)
|
||||
win_to_lin_struct_MatchMakingKeyValuePair_t **_142(ppchFilters[i], &lin_ppchFilters[i]);
|
||||
ISteamMatchmakingServerListResponse lin_pRequestServersResponse;
|
||||
win_to_lin_struct_ISteamMatchmakingServerListResponse_142(pRequestServersResponse, &lin_pRequestServersResponse);
|
||||
HServerListRequest retval = ((ISteamMatchmakingServers*)linux_side)->RequestFavoritesServerList((AppId_t)iApp, &lin_ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse);
|
||||
lin_to_win_struct_MatchMakingKeyValuePair_t *_142(&lin_ppchFilters, ppchFilters);
|
||||
lin_to_win_struct_ISteamMatchmakingServerListResponse_142(&lin_pRequestServersResponse, pRequestServersResponse);
|
||||
return retval;
|
||||
}
|
||||
|
||||
HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse)
|
||||
{
|
||||
return ((ISteamMatchmakingServers*)linux_side)->RequestHistoryServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse);
|
||||
MatchMakingKeyValuePair_t ** *lin_ppchFilters = malloc(sizeof(MatchMakingKeyValuePair_t **) * nFilters);
|
||||
for(int i = 0; i < nFilters; ++i)
|
||||
win_to_lin_struct_MatchMakingKeyValuePair_t **_142(ppchFilters[i], &lin_ppchFilters[i]);
|
||||
ISteamMatchmakingServerListResponse lin_pRequestServersResponse;
|
||||
win_to_lin_struct_ISteamMatchmakingServerListResponse_142(pRequestServersResponse, &lin_pRequestServersResponse);
|
||||
HServerListRequest retval = ((ISteamMatchmakingServers*)linux_side)->RequestHistoryServerList((AppId_t)iApp, &lin_ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse);
|
||||
lin_to_win_struct_MatchMakingKeyValuePair_t *_142(&lin_ppchFilters, ppchFilters);
|
||||
lin_to_win_struct_ISteamMatchmakingServerListResponse_142(&lin_pRequestServersResponse, pRequestServersResponse);
|
||||
return retval;
|
||||
}
|
||||
|
||||
HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse)
|
||||
{
|
||||
return ((ISteamMatchmakingServers*)linux_side)->RequestSpectatorServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse);
|
||||
MatchMakingKeyValuePair_t ** *lin_ppchFilters = malloc(sizeof(MatchMakingKeyValuePair_t **) * nFilters);
|
||||
for(int i = 0; i < nFilters; ++i)
|
||||
win_to_lin_struct_MatchMakingKeyValuePair_t **_142(ppchFilters[i], &lin_ppchFilters[i]);
|
||||
ISteamMatchmakingServerListResponse lin_pRequestServersResponse;
|
||||
win_to_lin_struct_ISteamMatchmakingServerListResponse_142(pRequestServersResponse, &lin_pRequestServersResponse);
|
||||
HServerListRequest retval = ((ISteamMatchmakingServers*)linux_side)->RequestSpectatorServerList((AppId_t)iApp, &lin_ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse);
|
||||
lin_to_win_struct_MatchMakingKeyValuePair_t *_142(&lin_ppchFilters, ppchFilters);
|
||||
lin_to_win_struct_ISteamMatchmakingServerListResponse_142(&lin_pRequestServersResponse, pRequestServersResponse);
|
||||
return retval;
|
||||
}
|
||||
|
||||
void cppISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest(void *linux_side, HServerListRequest hServerListRequest)
|
||||
|
|
@ -72,17 +116,29 @@ void cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer(void *
|
|||
|
||||
HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers002_PingServer(void *linux_side, uint32 unIP, uint16 usPort, ISteamMatchmakingPingResponse * pRequestServersResponse)
|
||||
{
|
||||
return ((ISteamMatchmakingServers*)linux_side)->PingServer((uint32)unIP, (uint16)usPort, (ISteamMatchmakingPingResponse *)pRequestServersResponse);
|
||||
ISteamMatchmakingPingResponse lin_pRequestServersResponse;
|
||||
win_to_lin_struct_ISteamMatchmakingPingResponse_142(pRequestServersResponse, &lin_pRequestServersResponse);
|
||||
HServerQuery retval = ((ISteamMatchmakingServers*)linux_side)->PingServer((uint32)unIP, (uint16)usPort, &lin_pRequestServersResponse);
|
||||
lin_to_win_struct_ISteamMatchmakingPingResponse_142(&lin_pRequestServersResponse, pRequestServersResponse);
|
||||
return retval;
|
||||
}
|
||||
|
||||
HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails(void *linux_side, uint32 unIP, uint16 usPort, ISteamMatchmakingPlayersResponse * pRequestServersResponse)
|
||||
{
|
||||
return ((ISteamMatchmakingServers*)linux_side)->PlayerDetails((uint32)unIP, (uint16)usPort, (ISteamMatchmakingPlayersResponse *)pRequestServersResponse);
|
||||
ISteamMatchmakingPlayersResponse lin_pRequestServersResponse;
|
||||
win_to_lin_struct_ISteamMatchmakingPlayersResponse_142(pRequestServersResponse, &lin_pRequestServersResponse);
|
||||
HServerQuery retval = ((ISteamMatchmakingServers*)linux_side)->PlayerDetails((uint32)unIP, (uint16)usPort, &lin_pRequestServersResponse);
|
||||
lin_to_win_struct_ISteamMatchmakingPlayersResponse_142(&lin_pRequestServersResponse, pRequestServersResponse);
|
||||
return retval;
|
||||
}
|
||||
|
||||
HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules(void *linux_side, uint32 unIP, uint16 usPort, ISteamMatchmakingRulesResponse * pRequestServersResponse)
|
||||
{
|
||||
return ((ISteamMatchmakingServers*)linux_side)->ServerRules((uint32)unIP, (uint16)usPort, (ISteamMatchmakingRulesResponse *)pRequestServersResponse);
|
||||
ISteamMatchmakingRulesResponse lin_pRequestServersResponse;
|
||||
win_to_lin_struct_ISteamMatchmakingRulesResponse_142(pRequestServersResponse, &lin_pRequestServersResponse);
|
||||
HServerQuery retval = ((ISteamMatchmakingServers*)linux_side)->ServerRules((uint32)unIP, (uint16)usPort, &lin_pRequestServersResponse);
|
||||
lin_to_win_struct_ISteamMatchmakingRulesResponse_142(&lin_pRequestServersResponse, pRequestServersResponse);
|
||||
return retval;
|
||||
}
|
||||
|
||||
void cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery(void *linux_side, HServerQuery hServerQuery)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue