/// To cancel a reservation (due to timeout or user input), call this. /// Steam will open a new reservation slot. /// Note: The user may already be in-flight to your game, so it's possible they will still connect and try to join your party. public static void CancelReservation(PartyBeaconID_t ulBeacon, CSteamID steamIDUser) { }
internal void OnReservationCompleted(PartyBeaconID_t ulBeacon, SteamId steamIDUser) { _OnReservationCompleted(Self, ulBeacon, steamIDUser); }
internal void CancelReservation(PartyBeaconID_t ulBeacon, SteamId steamIDUser) { _CancelReservation(Self, ulBeacon, steamIDUser); }
internal bool DestroyBeacon(PartyBeaconID_t ulBeacon) { return(_DestroyBeacon(Self, ulBeacon)); }
internal async Task <JoinPartyCallback_t?> JoinParty(PartyBeaconID_t ulBeaconID) { return(await JoinPartyCallback_t.GetResultAsync(_JoinParty( Self, ulBeaconID ))); }
} // 0x0000000180004FE0-0x0000000180004FF0 static PartyBeaconID_t() { Invalid = default; } // 0x00000001809489D0-0x0000000180948A10
public bool Equals(PartyBeaconID_t other) => default; // 0x0000000180004FB0-0x0000000180004FC0 public int CompareTo(PartyBeaconID_t other) => default; // 0x0000000180004F10-0x0000000180004F20
public static bool DestroyBeacon(PartyBeaconID_t ulBeacon) { InteropHelp.TestIfAvailableClient(); return(NativeMethods.ISteamParties_DestroyBeacon(CSteamAPIContext.GetSteamParties(), ulBeacon)); }
internal async Task <JoinPartyCallback_t?> JoinParty(PartyBeaconID_t ulBeaconID) { var returnValue = _JoinParty(Self, ulBeaconID); return(await JoinPartyCallback_t.GetResultAsync(returnValue)); }
public static void CancelReservation(PartyBeaconID_t ulBeacon, CSteamID steamIDUser) { InteropHelp.TestIfAvailableClient(); NativeMethods.ISteamParties_CancelReservation(CSteamAPIContext.GetSteamParties(), ulBeacon, steamIDUser); }
public static SteamAPICall_t ChangeNumOpenSlots(PartyBeaconID_t ulBeacon, uint unOpenSlots) { InteropHelp.TestIfAvailableClient(); return((SteamAPICall_t)NativeMethods.ISteamParties_ChangeNumOpenSlots(CSteamAPIContext.GetSteamParties(), ulBeacon, unOpenSlots)); }
public static SteamAPICall_t JoinParty(PartyBeaconID_t ulBeaconID) { InteropHelp.TestIfAvailableClient(); return((SteamAPICall_t)NativeMethods.ISteamParties_JoinParty(CSteamAPIContext.GetSteamParties(), ulBeaconID)); }
/// Turn off the beacon. public static bool DestroyBeacon(PartyBeaconID_t ulBeacon) { return(false); }
/// Change the number of open beacon reservation slots. /// Call this if, for example, someone without a reservation joins your party (eg a friend, or via your own matchmaking system). public static SteamAPICall_t ChangeNumOpenSlots(PartyBeaconID_t ulBeacon, uint unOpenSlots) { return((SteamAPICall_t)0); }
private static extern SteamAPICall_t _JoinParty(IntPtr self, PartyBeaconID_t ulBeaconID);
internal async Task <JoinPartyCallback_t?> JoinParty(PartyBeaconID_t ulBeaconID) { JoinPartyCallback_t?resultAsync = await JoinPartyCallback_t.GetResultAsync(this._JoinParty(this.Self, ulBeaconID)); return(resultAsync); }
internal CallResult <JoinPartyCallback_t> JoinParty(PartyBeaconID_t ulBeaconID) { var returnValue = _JoinParty(Self, ulBeaconID); return(new CallResult <JoinPartyCallback_t>(returnValue)); }
internal async Task <ChangeNumOpenSlotsCallback_t?> ChangeNumOpenSlots(PartyBeaconID_t ulBeacon, uint unOpenSlots) { ChangeNumOpenSlotsCallback_t?resultAsync = await ChangeNumOpenSlotsCallback_t.GetResultAsync(this._ChangeNumOpenSlots(this.Self, ulBeacon, unOpenSlots)); return(resultAsync); }
public static explicit operator ulong(PartyBeaconID_t that) => default; // 0x00000001802A78B0-0x00000001802A78C0 public bool Equals(PartyBeaconID_t other) => default; // 0x0000000180004FB0-0x0000000180004FC0
public static PartyBeaconID_t GetBeaconByIndex(uint unIndex) => default; // 0x00000001807AAEA0-0x00000001807AAF40 public static bool GetBeaconDetails(PartyBeaconID_t ulBeaconID, out CSteamID pSteamIDBeaconOwner, out SteamPartyBeaconLocation_t pLocation, out string pchMetadata, int cchMetadata) { pSteamIDBeaconOwner = default; pLocation = default; pchMetadata = default; return(default);
internal async Task <ChangeNumOpenSlotsCallback_t?> ChangeNumOpenSlots(PartyBeaconID_t ulBeacon, uint unOpenSlots) { return(await ChangeNumOpenSlotsCallback_t.GetResultAsync(_ChangeNumOpenSlots( Self, ulBeacon, unOpenSlots ))); }
internal CallResult <ChangeNumOpenSlotsCallback_t> ChangeNumOpenSlots(PartyBeaconID_t ulBeacon, uint unOpenSlots) { var returnValue = _ChangeNumOpenSlots(Self, ulBeacon, unOpenSlots); return(new CallResult <ChangeNumOpenSlotsCallback_t>(returnValue)); }
internal bool GetBeaconDetails(PartyBeaconID_t ulBeaconID, ref SteamId pSteamIDBeaconOwner, ref SteamPartyBeaconLocation_t pLocation, StringBuilder pchMetadata, int cchMetadata) { return(_GetBeaconDetails(Self, ulBeaconID, ref pSteamIDBeaconOwner, ref pLocation, pchMetadata, cchMetadata)); }
private static extern bool _DestroyBeacon(IntPtr self, PartyBeaconID_t ulBeacon);
private static extern void _OnReservationCompleted(IntPtr self, PartyBeaconID_t ulBeacon, SteamId steamIDUser);
internal bool DestroyBeacon(PartyBeaconID_t ulBeacon) { var returnValue = _DestroyBeacon(Self, ulBeacon); return(returnValue); }
private static extern void _CancelReservation(IntPtr self, PartyBeaconID_t ulBeacon, SteamId steamIDUser);
private static extern bool _GetBeaconDetails(IntPtr self, PartyBeaconID_t ulBeaconID, ref SteamId pSteamIDBeaconOwner, ref SteamPartyBeaconLocation_t pLocation, IntPtr pchMetadata, int cchMetadata);
private static extern SteamAPICall_t _ChangeNumOpenSlots(IntPtr self, PartyBeaconID_t ulBeacon, uint unOpenSlots);
/// Call this function when a user that had a reservation (see callback below) /// has successfully joined your party. /// Steam will manage the remaining open slots automatically. public static void OnReservationCompleted(PartyBeaconID_t ulBeacon, CSteamID steamIDUser) { }