2019-02-25 18:50:52 +03:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
|
|
|
#include "windef.h"
|
|
|
|
#include "winbase.h"
|
|
|
|
#include "wine/debug.h"
|
|
|
|
|
|
|
|
#include "steam_defs.h"
|
|
|
|
|
|
|
|
#include "steamclient_private.h"
|
|
|
|
|
|
|
|
#include "struct_converters.h"
|
|
|
|
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(steamclient);
|
|
|
|
|
|
|
|
#include "cppISteamParties_SteamParties002.h"
|
|
|
|
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetNumActiveBeacons, 4)
|
2023-09-23 21:52:28 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetBeaconByIndex, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetBeaconDetails, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_JoinParty, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetNumAvailableBeaconLocations, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetAvailableBeaconLocations, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_CreateBeacon, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_OnReservationCompleted, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_CancelReservation, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_ChangeNumOpenSlots, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_DestroyBeacon, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetBeaconLocationData, 28)
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
uint32 __thiscall winISteamParties_SteamParties002_GetNumActiveBeacons(struct w_steam_iface *_this)
|
2019-02-25 18:50:52 +03:00
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
uint32 _ret;
|
2019-02-25 18:50:52 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-24 15:50:45 +03:00
|
|
|
_ret = cppISteamParties_SteamParties002_GetNumActiveBeacons(_this->u_iface);
|
2023-09-23 22:44:20 +03:00
|
|
|
return _ret;
|
2019-02-25 18:50:52 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
PartyBeaconID_t __thiscall winISteamParties_SteamParties002_GetBeaconByIndex(struct w_steam_iface *_this, uint32 unIndex)
|
2019-02-25 18:50:52 +03:00
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
PartyBeaconID_t _ret;
|
2019-02-25 18:50:52 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-24 15:50:45 +03:00
|
|
|
_ret = cppISteamParties_SteamParties002_GetBeaconByIndex(_this->u_iface, unIndex);
|
2023-09-23 22:44:20 +03:00
|
|
|
return _ret;
|
2019-02-25 18:50:52 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamParties_SteamParties002_GetBeaconDetails(struct w_steam_iface *_this, PartyBeaconID_t ulBeaconID, CSteamID *pSteamIDBeaconOwner, winSteamPartyBeaconLocation_t_158 *pLocation, char *pchMetadata, int cchMetadata)
|
2019-02-25 18:50:52 +03:00
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
2019-02-25 18:50:52 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-24 15:50:45 +03:00
|
|
|
_ret = cppISteamParties_SteamParties002_GetBeaconDetails(_this->u_iface, ulBeaconID, pSteamIDBeaconOwner, pLocation, pchMetadata, cchMetadata);
|
2023-09-23 22:44:20 +03:00
|
|
|
return _ret;
|
2019-02-25 18:50:52 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
SteamAPICall_t __thiscall winISteamParties_SteamParties002_JoinParty(struct w_steam_iface *_this, PartyBeaconID_t ulBeaconID)
|
2019-02-25 18:50:52 +03:00
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
SteamAPICall_t _ret;
|
2019-02-25 18:50:52 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-24 15:50:45 +03:00
|
|
|
_ret = cppISteamParties_SteamParties002_JoinParty(_this->u_iface, ulBeaconID);
|
2023-09-23 22:44:20 +03:00
|
|
|
return _ret;
|
2019-02-25 18:50:52 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamParties_SteamParties002_GetNumAvailableBeaconLocations(struct w_steam_iface *_this, uint32 *puNumLocations)
|
2019-02-25 18:50:52 +03:00
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
2019-02-25 18:50:52 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-24 15:50:45 +03:00
|
|
|
_ret = cppISteamParties_SteamParties002_GetNumAvailableBeaconLocations(_this->u_iface, puNumLocations);
|
2023-09-23 22:44:20 +03:00
|
|
|
return _ret;
|
2019-02-25 18:50:52 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamParties_SteamParties002_GetAvailableBeaconLocations(struct w_steam_iface *_this, winSteamPartyBeaconLocation_t_158 *pLocationList, uint32 uMaxNumLocations)
|
2019-02-25 18:50:52 +03:00
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
2019-02-25 18:50:52 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-24 15:50:45 +03:00
|
|
|
_ret = cppISteamParties_SteamParties002_GetAvailableBeaconLocations(_this->u_iface, pLocationList, uMaxNumLocations);
|
2023-09-23 22:44:20 +03:00
|
|
|
return _ret;
|
2019-02-25 18:50:52 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
SteamAPICall_t __thiscall winISteamParties_SteamParties002_CreateBeacon(struct w_steam_iface *_this, uint32 unOpenSlots, winSteamPartyBeaconLocation_t_158 *pBeaconLocation, const char *pchConnectString, const char *pchMetadata)
|
2019-02-25 18:50:52 +03:00
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
SteamAPICall_t _ret;
|
2019-02-25 18:50:52 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-24 15:50:45 +03:00
|
|
|
_ret = cppISteamParties_SteamParties002_CreateBeacon(_this->u_iface, unOpenSlots, pBeaconLocation, pchConnectString, pchMetadata);
|
2023-09-23 22:44:20 +03:00
|
|
|
return _ret;
|
2019-02-25 18:50:52 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamParties_SteamParties002_OnReservationCompleted(struct w_steam_iface *_this, PartyBeaconID_t ulBeacon, CSteamID steamIDUser)
|
2019-02-25 18:50:52 +03:00
|
|
|
{
|
|
|
|
TRACE("%p\n", _this);
|
2023-09-24 15:50:45 +03:00
|
|
|
cppISteamParties_SteamParties002_OnReservationCompleted(_this->u_iface, ulBeacon, steamIDUser);
|
2019-02-25 18:50:52 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamParties_SteamParties002_CancelReservation(struct w_steam_iface *_this, PartyBeaconID_t ulBeacon, CSteamID steamIDUser)
|
2019-02-25 18:50:52 +03:00
|
|
|
{
|
|
|
|
TRACE("%p\n", _this);
|
2023-09-24 15:50:45 +03:00
|
|
|
cppISteamParties_SteamParties002_CancelReservation(_this->u_iface, ulBeacon, steamIDUser);
|
2019-02-25 18:50:52 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
SteamAPICall_t __thiscall winISteamParties_SteamParties002_ChangeNumOpenSlots(struct w_steam_iface *_this, PartyBeaconID_t ulBeacon, uint32 unOpenSlots)
|
2019-02-25 18:50:52 +03:00
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
SteamAPICall_t _ret;
|
2019-02-25 18:50:52 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-24 15:50:45 +03:00
|
|
|
_ret = cppISteamParties_SteamParties002_ChangeNumOpenSlots(_this->u_iface, ulBeacon, unOpenSlots);
|
2023-09-23 22:44:20 +03:00
|
|
|
return _ret;
|
2019-02-25 18:50:52 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamParties_SteamParties002_DestroyBeacon(struct w_steam_iface *_this, PartyBeaconID_t ulBeacon)
|
2019-02-25 18:50:52 +03:00
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
2019-02-25 18:50:52 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-24 15:50:45 +03:00
|
|
|
_ret = cppISteamParties_SteamParties002_DestroyBeacon(_this->u_iface, ulBeacon);
|
2023-09-23 22:44:20 +03:00
|
|
|
return _ret;
|
2019-02-25 18:50:52 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamParties_SteamParties002_GetBeaconLocationData(struct w_steam_iface *_this, winSteamPartyBeaconLocation_t_158 BeaconLocation, ESteamPartyBeaconLocationData eData, char *pchDataStringOut, int cchDataStringOut)
|
2019-02-25 18:50:52 +03:00
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
2019-02-25 18:50:52 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-24 15:50:45 +03:00
|
|
|
_ret = cppISteamParties_SteamParties002_GetBeaconLocationData(_this->u_iface, BeaconLocation, eData, pchDataStringOut, cchDataStringOut);
|
2023-09-23 22:44:20 +03:00
|
|
|
return _ret;
|
2019-02-25 18:50:52 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
extern vtable_ptr winISteamParties_SteamParties002_vtable;
|
|
|
|
|
|
|
|
#ifndef __GNUC__
|
|
|
|
void __asm_dummy_vtables(void) {
|
|
|
|
#endif
|
|
|
|
__ASM_VTABLE(winISteamParties_SteamParties002,
|
|
|
|
VTABLE_ADD_FUNC(winISteamParties_SteamParties002_GetNumActiveBeacons)
|
|
|
|
VTABLE_ADD_FUNC(winISteamParties_SteamParties002_GetBeaconByIndex)
|
|
|
|
VTABLE_ADD_FUNC(winISteamParties_SteamParties002_GetBeaconDetails)
|
|
|
|
VTABLE_ADD_FUNC(winISteamParties_SteamParties002_JoinParty)
|
|
|
|
VTABLE_ADD_FUNC(winISteamParties_SteamParties002_GetNumAvailableBeaconLocations)
|
|
|
|
VTABLE_ADD_FUNC(winISteamParties_SteamParties002_GetAvailableBeaconLocations)
|
|
|
|
VTABLE_ADD_FUNC(winISteamParties_SteamParties002_CreateBeacon)
|
|
|
|
VTABLE_ADD_FUNC(winISteamParties_SteamParties002_OnReservationCompleted)
|
|
|
|
VTABLE_ADD_FUNC(winISteamParties_SteamParties002_CancelReservation)
|
|
|
|
VTABLE_ADD_FUNC(winISteamParties_SteamParties002_ChangeNumOpenSlots)
|
|
|
|
VTABLE_ADD_FUNC(winISteamParties_SteamParties002_DestroyBeacon)
|
|
|
|
VTABLE_ADD_FUNC(winISteamParties_SteamParties002_GetBeaconLocationData)
|
|
|
|
);
|
|
|
|
#ifndef __GNUC__
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *create_winISteamParties_SteamParties002(void *u_iface)
|
2019-02-25 18:50:52 +03:00
|
|
|
{
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamParties002");
|
2019-02-25 18:50:52 +03:00
|
|
|
TRACE("-> %p\n", r);
|
2022-06-24 06:02:39 +03:00
|
|
|
r->vtable = alloc_vtable(&winISteamParties_SteamParties002_vtable, 12, "SteamParties002");
|
2023-09-24 15:50:45 +03:00
|
|
|
r->u_iface = u_iface;
|
2019-02-25 18:50:52 +03:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|