9ea65fe0d0
CW-Bug-Id: #22729
101 lines
5.5 KiB
C++
101 lines
5.5 KiB
C++
/* This file is auto-generated, do not edit. */
|
|
#include "unix_private.h"
|
|
#include "cppISteamParties_SteamParties002.h"
|
|
|
|
struct u_ISteamParties_SteamParties002
|
|
{
|
|
#ifdef __cplusplus
|
|
virtual uint32_t GetNumActiveBeacons( ) = 0;
|
|
virtual uint64_t GetBeaconByIndex( uint32_t ) = 0;
|
|
virtual bool GetBeaconDetails( uint64_t, CSteamID *, u_SteamPartyBeaconLocation_t *, char *, int32_t ) = 0;
|
|
virtual uint64_t JoinParty( uint64_t ) = 0;
|
|
virtual bool GetNumAvailableBeaconLocations( uint32_t * ) = 0;
|
|
virtual bool GetAvailableBeaconLocations( u_SteamPartyBeaconLocation_t *, uint32_t ) = 0;
|
|
virtual uint64_t CreateBeacon( uint32_t, u_SteamPartyBeaconLocation_t *, const char *, const char * ) = 0;
|
|
virtual void OnReservationCompleted( uint64_t, CSteamID ) = 0;
|
|
virtual void CancelReservation( uint64_t, CSteamID ) = 0;
|
|
virtual uint64_t ChangeNumOpenSlots( uint64_t, uint32_t ) = 0;
|
|
virtual bool DestroyBeacon( uint64_t ) = 0;
|
|
virtual bool GetBeaconLocationData( u_SteamPartyBeaconLocation_t, uint32_t, char *, int32_t ) = 0;
|
|
#endif /* __cplusplus */
|
|
};
|
|
|
|
void cppISteamParties_SteamParties002_GetNumActiveBeacons( struct cppISteamParties_SteamParties002_GetNumActiveBeacons_params *params )
|
|
{
|
|
struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side;
|
|
params->_ret = iface->GetNumActiveBeacons( );
|
|
}
|
|
|
|
void cppISteamParties_SteamParties002_GetBeaconByIndex( struct cppISteamParties_SteamParties002_GetBeaconByIndex_params *params )
|
|
{
|
|
struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side;
|
|
params->_ret = iface->GetBeaconByIndex( params->unIndex );
|
|
}
|
|
|
|
void cppISteamParties_SteamParties002_GetBeaconDetails( struct cppISteamParties_SteamParties002_GetBeaconDetails_params *params )
|
|
{
|
|
struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side;
|
|
u_SteamPartyBeaconLocation_t u_pLocation = *params->pLocation;
|
|
params->_ret = iface->GetBeaconDetails( params->ulBeaconID, params->pSteamIDBeaconOwner, &u_pLocation, params->pchMetadata, params->cchMetadata );
|
|
*params->pLocation = u_pLocation;
|
|
}
|
|
|
|
void cppISteamParties_SteamParties002_JoinParty( struct cppISteamParties_SteamParties002_JoinParty_params *params )
|
|
{
|
|
struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side;
|
|
params->_ret = iface->JoinParty( params->ulBeaconID );
|
|
}
|
|
|
|
void cppISteamParties_SteamParties002_GetNumAvailableBeaconLocations( struct cppISteamParties_SteamParties002_GetNumAvailableBeaconLocations_params *params )
|
|
{
|
|
struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side;
|
|
params->_ret = iface->GetNumAvailableBeaconLocations( params->puNumLocations );
|
|
}
|
|
|
|
void cppISteamParties_SteamParties002_GetAvailableBeaconLocations( struct cppISteamParties_SteamParties002_GetAvailableBeaconLocations_params *params )
|
|
{
|
|
struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side;
|
|
u_SteamPartyBeaconLocation_t u_pLocationList = *params->pLocationList;
|
|
params->_ret = iface->GetAvailableBeaconLocations( &u_pLocationList, params->uMaxNumLocations );
|
|
*params->pLocationList = u_pLocationList;
|
|
}
|
|
|
|
void cppISteamParties_SteamParties002_CreateBeacon( struct cppISteamParties_SteamParties002_CreateBeacon_params *params )
|
|
{
|
|
struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side;
|
|
u_SteamPartyBeaconLocation_t u_pBeaconLocation = *params->pBeaconLocation;
|
|
params->_ret = iface->CreateBeacon( params->unOpenSlots, &u_pBeaconLocation, params->pchConnectString, params->pchMetadata );
|
|
*params->pBeaconLocation = u_pBeaconLocation;
|
|
}
|
|
|
|
void cppISteamParties_SteamParties002_OnReservationCompleted( struct cppISteamParties_SteamParties002_OnReservationCompleted_params *params )
|
|
{
|
|
struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side;
|
|
iface->OnReservationCompleted( params->ulBeacon, params->steamIDUser );
|
|
}
|
|
|
|
void cppISteamParties_SteamParties002_CancelReservation( struct cppISteamParties_SteamParties002_CancelReservation_params *params )
|
|
{
|
|
struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side;
|
|
iface->CancelReservation( params->ulBeacon, params->steamIDUser );
|
|
}
|
|
|
|
void cppISteamParties_SteamParties002_ChangeNumOpenSlots( struct cppISteamParties_SteamParties002_ChangeNumOpenSlots_params *params )
|
|
{
|
|
struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side;
|
|
params->_ret = iface->ChangeNumOpenSlots( params->ulBeacon, params->unOpenSlots );
|
|
}
|
|
|
|
void cppISteamParties_SteamParties002_DestroyBeacon( struct cppISteamParties_SteamParties002_DestroyBeacon_params *params )
|
|
{
|
|
struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side;
|
|
params->_ret = iface->DestroyBeacon( params->ulBeacon );
|
|
}
|
|
|
|
void cppISteamParties_SteamParties002_GetBeaconLocationData( struct cppISteamParties_SteamParties002_GetBeaconLocationData_params *params )
|
|
{
|
|
struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side;
|
|
u_SteamPartyBeaconLocation_t u_BeaconLocation = params->BeaconLocation;
|
|
params->_ret = iface->GetBeaconLocationData( u_BeaconLocation, params->eData, params->pchDataStringOut, params->cchDataStringOut );
|
|
}
|
|
|