2023-09-30 15:02:30 +03:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include "unix_private.h"
|
2019-02-25 18:50:52 +03:00
|
|
|
#include "cppISteamParties_SteamParties002.h"
|
2023-09-24 00:44:45 +03:00
|
|
|
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamParties_SteamParties002
|
2023-09-24 00:44:45 +03:00
|
|
|
{
|
|
|
|
#ifdef __cplusplus
|
|
|
|
virtual uint32_t GetNumActiveBeacons( ) = 0;
|
|
|
|
virtual uint64_t GetBeaconByIndex( uint32_t ) = 0;
|
2023-09-30 15:02:30 +03:00
|
|
|
virtual bool GetBeaconDetails( uint64_t, CSteamID *, u_SteamPartyBeaconLocation_t *, char *, int32_t ) = 0;
|
2023-09-24 00:44:45 +03:00
|
|
|
virtual uint64_t JoinParty( uint64_t ) = 0;
|
|
|
|
virtual bool GetNumAvailableBeaconLocations( uint32_t * ) = 0;
|
2023-09-30 15:02:30 +03:00
|
|
|
virtual bool GetAvailableBeaconLocations( u_SteamPartyBeaconLocation_t *, uint32_t ) = 0;
|
|
|
|
virtual uint64_t CreateBeacon( uint32_t, u_SteamPartyBeaconLocation_t *, const char *, const char * ) = 0;
|
2023-09-24 00:44:45 +03:00
|
|
|
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;
|
2023-09-30 15:02:30 +03:00
|
|
|
virtual bool GetBeaconLocationData( u_SteamPartyBeaconLocation_t, uint32_t, char *, int32_t ) = 0;
|
2023-09-24 00:44:45 +03:00
|
|
|
#endif /* __cplusplus */
|
|
|
|
};
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamParties_SteamParties002_GetNumActiveBeacons( struct cppISteamParties_SteamParties002_GetNumActiveBeacons_params *params )
|
2019-02-25 18:50:52 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetNumActiveBeacons( );
|
2019-02-25 18:50:52 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamParties_SteamParties002_GetBeaconByIndex( struct cppISteamParties_SteamParties002_GetBeaconByIndex_params *params )
|
2019-02-25 18:50:52 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetBeaconByIndex( params->unIndex );
|
2019-02-25 18:50:52 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamParties_SteamParties002_GetBeaconDetails( struct cppISteamParties_SteamParties002_GetBeaconDetails_params *params )
|
2019-02-25 18:50:52 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
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;
|
2019-02-25 18:50:52 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamParties_SteamParties002_JoinParty( struct cppISteamParties_SteamParties002_JoinParty_params *params )
|
2019-02-25 18:50:52 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->JoinParty( params->ulBeaconID );
|
2019-02-25 18:50:52 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamParties_SteamParties002_GetNumAvailableBeaconLocations( struct cppISteamParties_SteamParties002_GetNumAvailableBeaconLocations_params *params )
|
2019-02-25 18:50:52 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetNumAvailableBeaconLocations( params->puNumLocations );
|
2019-02-25 18:50:52 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamParties_SteamParties002_GetAvailableBeaconLocations( struct cppISteamParties_SteamParties002_GetAvailableBeaconLocations_params *params )
|
2019-02-25 18:50:52 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
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;
|
2019-02-25 18:50:52 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamParties_SteamParties002_CreateBeacon( struct cppISteamParties_SteamParties002_CreateBeacon_params *params )
|
2019-02-25 18:50:52 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
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;
|
2019-02-25 18:50:52 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamParties_SteamParties002_OnReservationCompleted( struct cppISteamParties_SteamParties002_OnReservationCompleted_params *params )
|
2019-02-25 18:50:52 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->OnReservationCompleted( params->ulBeacon, params->steamIDUser );
|
2019-02-25 18:50:52 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamParties_SteamParties002_CancelReservation( struct cppISteamParties_SteamParties002_CancelReservation_params *params )
|
2019-02-25 18:50:52 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->CancelReservation( params->ulBeacon, params->steamIDUser );
|
2019-02-25 18:50:52 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamParties_SteamParties002_ChangeNumOpenSlots( struct cppISteamParties_SteamParties002_ChangeNumOpenSlots_params *params )
|
2019-02-25 18:50:52 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->ChangeNumOpenSlots( params->ulBeacon, params->unOpenSlots );
|
2019-02-25 18:50:52 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamParties_SteamParties002_DestroyBeacon( struct cppISteamParties_SteamParties002_DestroyBeacon_params *params )
|
2019-02-25 18:50:52 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->DestroyBeacon( params->ulBeacon );
|
2019-02-25 18:50:52 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamParties_SteamParties002_GetBeaconLocationData( struct cppISteamParties_SteamParties002_GetBeaconLocationData_params *params )
|
2019-02-25 18:50:52 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
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 );
|
2019-02-25 18:50:52 +03:00
|
|
|
}
|
|
|
|
|