@@ -819,9 +819,9 @@ public static bool GetNumAvailableBeaconLocations(out uint puNumLocations) {
819819 return NativeMethods . ISteamParties_GetNumAvailableBeaconLocations ( CSteamAPIContext . GetSteamParties ( ) , out puNumLocations ) ;
820820 }
821821
822- public static bool GetAvailableBeaconLocations ( out SteamPartyBeaconLocation_t pLocationList , uint uMaxNumLocations ) {
822+ public static bool GetAvailableBeaconLocations ( SteamPartyBeaconLocation_t [ ] pLocationList , uint uMaxNumLocations ) {
823823 InteropHelp . TestIfAvailableClient ( ) ;
824- return NativeMethods . ISteamParties_GetAvailableBeaconLocations ( CSteamAPIContext . GetSteamParties ( ) , out pLocationList , uMaxNumLocations ) ;
824+ return NativeMethods . ISteamParties_GetAvailableBeaconLocations ( CSteamAPIContext . GetSteamParties ( ) , pLocationList , uMaxNumLocations ) ;
825825 }
826826
827827 /// <summary>
@@ -830,11 +830,11 @@ public static bool GetAvailableBeaconLocations(out SteamPartyBeaconLocation_t pL
830830 /// <para> When people begin responding to your beacon, Steam will send you</para>
831831 /// <para> PartyReservationCallback_t callbacks to let you know who is on the way.</para>
832832 /// </summary>
833- public static SteamAPICall_t CreateBeacon ( uint unOpenSlots , out SteamPartyBeaconLocation_t pBeaconLocation , string pchConnectString , string pchMetadata ) {
833+ public static SteamAPICall_t CreateBeacon ( uint unOpenSlots , ref SteamPartyBeaconLocation_t pBeaconLocation , string pchConnectString , string pchMetadata ) {
834834 InteropHelp . TestIfAvailableClient ( ) ;
835835 using ( var pchConnectString2 = new InteropHelp . UTF8StringHandle ( pchConnectString ) )
836836 using ( var pchMetadata2 = new InteropHelp . UTF8StringHandle ( pchMetadata ) ) {
837- return ( SteamAPICall_t ) NativeMethods . ISteamParties_CreateBeacon ( CSteamAPIContext . GetSteamParties ( ) , unOpenSlots , out pBeaconLocation , pchConnectString2 , pchMetadata2 ) ;
837+ return ( SteamAPICall_t ) NativeMethods . ISteamParties_CreateBeacon ( CSteamAPIContext . GetSteamParties ( ) , unOpenSlots , ref pBeaconLocation , pchConnectString2 , pchMetadata2 ) ;
838838 }
839839 }
840840
0 commit comments