SteamParties
public struct SteamParties: Sendable
Steamworks ISteamParties
Access via parties
.
Topics
func cancelReservation(beacon: PartyBeaconID, user: SteamID)
func cancelReservation(beacon: PartyBeaconID, user: SteamID)
Steamworks ISteamParties::CancelReservation()
Declaration
public func cancelReservation(beacon: PartyBeaconID, user: SteamID)
func changeNumOpenSlots(beacon: PartyBeaconID, openSlots: Int, completion: (sending ChangeNumOpenSlotsCallback?) -> Void)
func changeNumOpenSlots(beacon: PartyBeaconID, openSlots: Int, completion: (sending ChangeNumOpenSlotsCallback?) -> Void)
Steamworks ISteamParties::ChangeNumOpenSlots()
, callback
Declaration
public func changeNumOpenSlots(
beacon: PartyBeaconID, openSlots: Int,
completion: @Sendable @escaping (sending ChangeNumOpenSlotsCallback?) ->
Void)
func changeNumOpenSlots(isolation: isolated (any Actor)?, beacon: PartyBeaconID, openSlots: Int) async -> ChangeNumOpenSlotsCallback?
func changeNumOpenSlots(isolation: isolated (any Actor)?, beacon: PartyBeaconID, openSlots: Int) async -> ChangeNumOpenSlotsCallback?
Steamworks ISteamParties::ChangeNumOpenSlots()
, async
Declaration
public func changeNumOpenSlots(
isolation: isolated (any Actor)? = #isolation, beacon: PartyBeaconID,
openSlots: Int
) async -> ChangeNumOpenSlotsCallback?
func createBeacon(openSlots: Int, beaconLocation: SteamPartyBeaconLocation, connectString: String, metadata: String, completion: (sending CreateBeaconCallback?) -> Void)
func createBeacon(openSlots: Int, beaconLocation: SteamPartyBeaconLocation, connectString: String, metadata: String, completion: (sending CreateBeaconCallback?) -> Void)
Steamworks ISteamParties::CreateBeacon()
, callback
Declaration
public func createBeacon(
openSlots: Int, beaconLocation: SteamPartyBeaconLocation,
connectString: String, metadata: String,
completion: @Sendable @escaping (sending CreateBeaconCallback?) -> Void)
func createBeacon(isolation: isolated (any Actor)?, openSlots: Int, beaconLocation: SteamPartyBeaconLocation, connectString: String, metadata: String) async -> CreateBeaconCallback?
func createBeacon(isolation: isolated (any Actor)?, openSlots: Int, beaconLocation: SteamPartyBeaconLocation, connectString: String, metadata: String) async -> CreateBeaconCallback?
Steamworks ISteamParties::CreateBeacon()
, async
Declaration
public func createBeacon(
isolation: isolated (any Actor)? = #isolation, openSlots: Int,
beaconLocation: SteamPartyBeaconLocation, connectString: String,
metadata: String
) async -> CreateBeaconCallback?
func destroyBeacon(beacon: PartyBeaconID) -> Bool
func destroyBeacon(beacon: PartyBeaconID) -> Bool
Steamworks ISteamParties::DestroyBeacon()
Declaration
@discardableResult
public func destroyBeacon(beacon: PartyBeaconID) -> Bool
func getAvailableBeaconLocations(maxNumLocations: Int) -> (rc: Bool, locationList: [SteamPartyBeaconLocation])
func getAvailableBeaconLocations(maxNumLocations: Int) -> (rc: Bool, locationList: [SteamPartyBeaconLocation])
Steamworks ISteamParties::GetAvailableBeaconLocations()
Declaration
public func getAvailableBeaconLocations(maxNumLocations: Int) -> (
rc: Bool, locationList: [SteamPartyBeaconLocation]
)
func getBeaconByIndex(index: Int) -> PartyBeaconID
func getBeaconByIndex(index: Int) -> PartyBeaconID
Steamworks ISteamParties::GetBeaconByIndex()
Declaration
public func getBeaconByIndex(index: Int) -> PartyBeaconID
func getBeaconDetails(beaconID: PartyBeaconID, metadataSize: Int) -> (rc: Bool, beaconOwner: SteamID, location: SteamPartyBeaconLocation, metadata: String)
func getBeaconDetails(beaconID: PartyBeaconID, metadataSize: Int) -> (rc: Bool, beaconOwner: SteamID, location: SteamPartyBeaconLocation, metadata: String)
Steamworks ISteamParties::GetBeaconDetails()
Declaration
public func getBeaconDetails(beaconID: PartyBeaconID, metadataSize: Int) -> (
rc: Bool, beaconOwner: SteamID, location: SteamPartyBeaconLocation,
metadata: String
)
func getBeaconLocationData(beaconLocation: SteamPartyBeaconLocation, data: SteamPartyBeaconLocationData, dataStringOutSize: Int) -> (rc: Bool, dataString: String)
func getBeaconLocationData(beaconLocation: SteamPartyBeaconLocation, data: SteamPartyBeaconLocationData, dataStringOutSize: Int) -> (rc: Bool, dataString: String)
Steamworks ISteamParties::GetBeaconLocationData()
Declaration
public func getBeaconLocationData(
beaconLocation: SteamPartyBeaconLocation,
data: SteamPartyBeaconLocationData, dataStringOutSize: Int
) -> (rc: Bool, dataString: String)
func getNumActiveBeacons() -> Int
func getNumActiveBeacons() -> Int
Steamworks ISteamParties::GetNumActiveBeacons()
Declaration
public func getNumActiveBeacons() -> Int
func getNumAvailableBeaconLocations() -> (rc: Bool, numLocations: Int)
func getNumAvailableBeaconLocations() -> (rc: Bool, numLocations: Int)
func joinParty(beaconID: PartyBeaconID, completion: (sending JoinPartyCallback?) -> Void)
func joinParty(beaconID: PartyBeaconID, completion: (sending JoinPartyCallback?) -> Void)
Steamworks ISteamParties::JoinParty()
, callback
Declaration
public func joinParty(
beaconID: PartyBeaconID,
completion: @Sendable @escaping (sending JoinPartyCallback?) -> Void)
func joinParty(isolation: isolated (any Actor)?, beaconID: PartyBeaconID) async -> JoinPartyCallback?
func joinParty(isolation: isolated (any Actor)?, beaconID: PartyBeaconID) async -> JoinPartyCallback?
Steamworks ISteamParties::JoinParty()
, async
Declaration
public func joinParty(
isolation: isolated (any Actor)? = #isolation, beaconID: PartyBeaconID
) async -> JoinPartyCallback?
func onReservationCompleted(beacon: PartyBeaconID, user: SteamID)
func onReservationCompleted(beacon: PartyBeaconID, user: SteamID)
Steamworks ISteamParties::OnReservationCompleted()
Declaration
public func onReservationCompleted(beacon: PartyBeaconID, user: SteamID)
func getAvailableBeaconLocations() -> (rc: Bool, locationList: [SteamPartyBeaconLocation])
func getAvailableBeaconLocations() -> (rc: Bool, locationList: [SteamPartyBeaconLocation])
Provided by module SteamworksHelpers
.
Steamworks ISteamParties::GetAvailableBeaconLocations()
Declaration
public func getAvailableBeaconLocations() -> (
rc: Bool, locationList: [SteamPartyBeaconLocation]
)