Signals - Parties
These callbacks require you to run Steam.run_callbacks()
in your _process()
function to receive them.
active_beacons_updated
active_beacons_updated
Notification that the list of active beacons visible to the current user has changed.
Returns: void
available_beacon_locations_updated
available_beacon_locations_updated
Notification that the list of available locations for posting a beacon has been updated.
Returns: void
change_num_open_slots
create_beacon
create_beacon
This callback is used as a call response for createBeacon. If successful, your beacon has been posted in the desired location and you may start receiving reservation_notification callbacks for users following the beacon.
Returns:
- result (int)
- beacon_id (uint64_t)
join_party
join_party
This callback is used as a call response for joinParty. On success, you will have reserved a slot in the beacon-owner's party, and should use connect_string to connect to their game and complete the process.
Returns:
- result (int)
- beacon_id (uint64_t)
- steam_id (uint64_t)
- connect_string (string)
reservation_notification
reservation_notification
After creating a beacon, when a user "follows" that beacon Steam will send you this callback to know that you should be prepared for the user to join your game. When they do join, be sure to call onReservationCompleted to let Steam know.
Returns:
- beacon_id (uint64_t)
- steam_id (uint64_t)