Yucom/lsteamclient/winISteamParties.c

212 lines
8.6 KiB
C
Raw Permalink Normal View History

2019-02-25 16:50:52 +01:00
/* This file is auto-generated, do not edit. */
#include "steamclient_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(steamclient);
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetNumActiveBeacons, 4)
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)
uint32_t __thiscall winISteamParties_SteamParties002_GetNumActiveBeacons(struct w_steam_iface *_this)
2019-02-25 16:50:52 +01:00
{
struct ISteamParties_SteamParties002_GetNumActiveBeacons_params params =
{
.linux_side = _this->u_iface,
};
2019-02-25 16:50:52 +01:00
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamParties_SteamParties002_GetNumActiveBeacons, &params );
return params._ret;
2019-02-25 16:50:52 +01:00
}
uint64_t __thiscall winISteamParties_SteamParties002_GetBeaconByIndex(struct w_steam_iface *_this, uint32_t unIndex)
2019-02-25 16:50:52 +01:00
{
struct ISteamParties_SteamParties002_GetBeaconByIndex_params params =
{
.linux_side = _this->u_iface,
.unIndex = unIndex,
};
2019-02-25 16:50:52 +01:00
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamParties_SteamParties002_GetBeaconByIndex, &params );
return params._ret;
2019-02-25 16:50:52 +01:00
}
int8_t __thiscall winISteamParties_SteamParties002_GetBeaconDetails(struct w_steam_iface *_this, uint64_t ulBeaconID, CSteamID *pSteamIDBeaconOwner, w_SteamPartyBeaconLocation_t *pLocation, char *pchMetadata, int32_t cchMetadata)
2019-02-25 16:50:52 +01:00
{
struct ISteamParties_SteamParties002_GetBeaconDetails_params params =
{
.linux_side = _this->u_iface,
.ulBeaconID = ulBeaconID,
.pSteamIDBeaconOwner = pSteamIDBeaconOwner,
.pLocation = pLocation,
.pchMetadata = pchMetadata,
.cchMetadata = cchMetadata,
};
2019-02-25 16:50:52 +01:00
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamParties_SteamParties002_GetBeaconDetails, &params );
return params._ret;
2019-02-25 16:50:52 +01:00
}
uint64_t __thiscall winISteamParties_SteamParties002_JoinParty(struct w_steam_iface *_this, uint64_t ulBeaconID)
2019-02-25 16:50:52 +01:00
{
struct ISteamParties_SteamParties002_JoinParty_params params =
{
.linux_side = _this->u_iface,
.ulBeaconID = ulBeaconID,
};
2019-02-25 16:50:52 +01:00
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamParties_SteamParties002_JoinParty, &params );
return params._ret;
2019-02-25 16:50:52 +01:00
}
int8_t __thiscall winISteamParties_SteamParties002_GetNumAvailableBeaconLocations(struct w_steam_iface *_this, uint32_t *puNumLocations)
2019-02-25 16:50:52 +01:00
{
struct ISteamParties_SteamParties002_GetNumAvailableBeaconLocations_params params =
{
.linux_side = _this->u_iface,
.puNumLocations = puNumLocations,
};
2019-02-25 16:50:52 +01:00
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamParties_SteamParties002_GetNumAvailableBeaconLocations, &params );
return params._ret;
2019-02-25 16:50:52 +01:00
}
int8_t __thiscall winISteamParties_SteamParties002_GetAvailableBeaconLocations(struct w_steam_iface *_this, w_SteamPartyBeaconLocation_t *pLocationList, uint32_t uMaxNumLocations)
2019-02-25 16:50:52 +01:00
{
struct ISteamParties_SteamParties002_GetAvailableBeaconLocations_params params =
{
.linux_side = _this->u_iface,
.pLocationList = pLocationList,
.uMaxNumLocations = uMaxNumLocations,
};
2019-02-25 16:50:52 +01:00
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamParties_SteamParties002_GetAvailableBeaconLocations, &params );
return params._ret;
2019-02-25 16:50:52 +01:00
}
uint64_t __thiscall winISteamParties_SteamParties002_CreateBeacon(struct w_steam_iface *_this, uint32_t unOpenSlots, w_SteamPartyBeaconLocation_t *pBeaconLocation, const char *pchConnectString, const char *pchMetadata)
2019-02-25 16:50:52 +01:00
{
struct ISteamParties_SteamParties002_CreateBeacon_params params =
{
.linux_side = _this->u_iface,
.unOpenSlots = unOpenSlots,
.pBeaconLocation = pBeaconLocation,
.pchConnectString = pchConnectString,
.pchMetadata = pchMetadata,
};
2019-02-25 16:50:52 +01:00
TRACE("%p\n", _this);
IsBadStringPtrA(pchConnectString, -1);
IsBadStringPtrA(pchMetadata, -1);
STEAMCLIENT_CALL( ISteamParties_SteamParties002_CreateBeacon, &params );
return params._ret;
2019-02-25 16:50:52 +01:00
}
void __thiscall winISteamParties_SteamParties002_OnReservationCompleted(struct w_steam_iface *_this, uint64_t ulBeacon, CSteamID steamIDUser)
2019-02-25 16:50:52 +01:00
{
struct ISteamParties_SteamParties002_OnReservationCompleted_params params =
{
.linux_side = _this->u_iface,
.ulBeacon = ulBeacon,
.steamIDUser = steamIDUser,
};
2019-02-25 16:50:52 +01:00
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamParties_SteamParties002_OnReservationCompleted, &params );
2019-02-25 16:50:52 +01:00
}
void __thiscall winISteamParties_SteamParties002_CancelReservation(struct w_steam_iface *_this, uint64_t ulBeacon, CSteamID steamIDUser)
2019-02-25 16:50:52 +01:00
{
struct ISteamParties_SteamParties002_CancelReservation_params params =
{
.linux_side = _this->u_iface,
.ulBeacon = ulBeacon,
.steamIDUser = steamIDUser,
};
2019-02-25 16:50:52 +01:00
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamParties_SteamParties002_CancelReservation, &params );
2019-02-25 16:50:52 +01:00
}
uint64_t __thiscall winISteamParties_SteamParties002_ChangeNumOpenSlots(struct w_steam_iface *_this, uint64_t ulBeacon, uint32_t unOpenSlots)
2019-02-25 16:50:52 +01:00
{
struct ISteamParties_SteamParties002_ChangeNumOpenSlots_params params =
{
.linux_side = _this->u_iface,
.ulBeacon = ulBeacon,
.unOpenSlots = unOpenSlots,
};
2019-02-25 16:50:52 +01:00
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamParties_SteamParties002_ChangeNumOpenSlots, &params );
return params._ret;
2019-02-25 16:50:52 +01:00
}
int8_t __thiscall winISteamParties_SteamParties002_DestroyBeacon(struct w_steam_iface *_this, uint64_t ulBeacon)
2019-02-25 16:50:52 +01:00
{
struct ISteamParties_SteamParties002_DestroyBeacon_params params =
{
.linux_side = _this->u_iface,
.ulBeacon = ulBeacon,
};
2019-02-25 16:50:52 +01:00
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamParties_SteamParties002_DestroyBeacon, &params );
return params._ret;
2019-02-25 16:50:52 +01:00
}
int8_t __thiscall winISteamParties_SteamParties002_GetBeaconLocationData(struct w_steam_iface *_this, w_SteamPartyBeaconLocation_t BeaconLocation, uint32_t eData, char *pchDataStringOut, int32_t cchDataStringOut)
2019-02-25 16:50:52 +01:00
{
struct ISteamParties_SteamParties002_GetBeaconLocationData_params params =
{
.linux_side = _this->u_iface,
.BeaconLocation = BeaconLocation,
.eData = eData,
.pchDataStringOut = pchDataStringOut,
.cchDataStringOut = cchDataStringOut,
};
2019-02-25 16:50:52 +01:00
TRACE("%p\n", _this);
STEAMCLIENT_CALL( ISteamParties_SteamParties002_GetBeaconLocationData, &params );
return params._ret;
2019-02-25 16:50:52 +01:00
}
extern vtable_ptr winISteamParties_SteamParties002_vtable;
DEFINE_RTTI_DATA0(winISteamParties_SteamParties002, 0, ".?AVISteamParties@@")
__ASM_BLOCK_BEGIN(winISteamParties_SteamParties002_vtables)
2019-02-25 16:50:52 +01:00
__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)
);
__ASM_BLOCK_END
2019-02-25 16:50:52 +01:00
struct w_steam_iface *create_winISteamParties_SteamParties002(void *u_iface)
2019-02-25 16:50:52 +01:00
{
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamParties002");
2019-02-25 16:50:52 +01:00
TRACE("-> %p\n", r);
r->vtable = alloc_vtable(&winISteamParties_SteamParties002_vtable, 12, "SteamParties002");
r->u_iface = u_iface;
2019-02-25 16:50:52 +01:00
return r;
}
void init_winISteamParties_rtti( char *base )
{
#ifdef __x86_64__
init_winISteamParties_SteamParties002_rtti( base );
#endif /* __x86_64__ */
}