Exemplo n.º 1
0
 /// 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 )));
 }
Exemplo n.º 6
0
        }         // 0x0000000180004FE0-0x0000000180004FF0

        static PartyBeaconID_t()
        {
            Invalid = default;
        }         // 0x00000001809489D0-0x0000000180948A10
Exemplo n.º 7
0
 public bool Equals(PartyBeaconID_t other) => default;                            // 0x0000000180004FB0-0x0000000180004FC0
 public int CompareTo(PartyBeaconID_t other) => default;                          // 0x0000000180004F10-0x0000000180004F20
Exemplo n.º 8
0
 public static bool DestroyBeacon(PartyBeaconID_t ulBeacon)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamParties_DestroyBeacon(CSteamAPIContext.GetSteamParties(), ulBeacon));
 }
Exemplo n.º 9
0
        internal async Task <JoinPartyCallback_t?> JoinParty(PartyBeaconID_t ulBeaconID)
        {
            var returnValue = _JoinParty(Self, ulBeaconID);

            return(await JoinPartyCallback_t.GetResultAsync(returnValue));
        }
Exemplo n.º 10
0
 public static void CancelReservation(PartyBeaconID_t ulBeacon, CSteamID steamIDUser)
 {
     InteropHelp.TestIfAvailableClient();
     NativeMethods.ISteamParties_CancelReservation(CSteamAPIContext.GetSteamParties(), ulBeacon, steamIDUser);
 }
Exemplo n.º 11
0
 public static SteamAPICall_t ChangeNumOpenSlots(PartyBeaconID_t ulBeacon, uint unOpenSlots)
 {
     InteropHelp.TestIfAvailableClient();
     return((SteamAPICall_t)NativeMethods.ISteamParties_ChangeNumOpenSlots(CSteamAPIContext.GetSteamParties(), ulBeacon, unOpenSlots));
 }
Exemplo n.º 12
0
 public static SteamAPICall_t JoinParty(PartyBeaconID_t ulBeaconID)
 {
     InteropHelp.TestIfAvailableClient();
     return((SteamAPICall_t)NativeMethods.ISteamParties_JoinParty(CSteamAPIContext.GetSteamParties(), ulBeaconID));
 }
Exemplo n.º 13
0
 /// Turn off the beacon.
 public static bool DestroyBeacon(PartyBeaconID_t ulBeacon)
 {
     return(false);
 }
Exemplo n.º 14
0
 /// 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);
 }
Exemplo n.º 15
0
 private static extern SteamAPICall_t _JoinParty(IntPtr self, PartyBeaconID_t ulBeaconID);
Exemplo n.º 16
0
        internal async Task <JoinPartyCallback_t?> JoinParty(PartyBeaconID_t ulBeaconID)
        {
            JoinPartyCallback_t?resultAsync = await JoinPartyCallback_t.GetResultAsync(this._JoinParty(this.Self, ulBeaconID));

            return(resultAsync);
        }
Exemplo n.º 17
0
        internal CallResult <JoinPartyCallback_t> JoinParty(PartyBeaconID_t ulBeaconID)
        {
            var returnValue = _JoinParty(Self, ulBeaconID);

            return(new CallResult <JoinPartyCallback_t>(returnValue));
        }
Exemplo n.º 18
0
        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);
        }
Exemplo n.º 19
0
 public static explicit operator ulong(PartyBeaconID_t that) => default;          // 0x00000001802A78B0-0x00000001802A78C0
 public bool Equals(PartyBeaconID_t other) => default;                            // 0x0000000180004FB0-0x0000000180004FC0
Exemplo n.º 20
0
        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 )));
 }
Exemplo n.º 22
0
        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));
 }
Exemplo n.º 24
0
 private static extern bool _DestroyBeacon(IntPtr self, PartyBeaconID_t ulBeacon);
Exemplo n.º 25
0
 private static extern void _OnReservationCompleted(IntPtr self, PartyBeaconID_t ulBeacon, SteamId steamIDUser);
Exemplo n.º 26
0
        internal bool DestroyBeacon(PartyBeaconID_t ulBeacon)
        {
            var returnValue = _DestroyBeacon(Self, ulBeacon);

            return(returnValue);
        }
Exemplo n.º 27
0
 private static extern void _CancelReservation(IntPtr self, PartyBeaconID_t ulBeacon, SteamId steamIDUser);
Exemplo n.º 28
0
 private static extern bool _GetBeaconDetails(IntPtr self, PartyBeaconID_t ulBeaconID, ref SteamId pSteamIDBeaconOwner, ref SteamPartyBeaconLocation_t pLocation, IntPtr pchMetadata, int cchMetadata);
Exemplo n.º 29
0
 private static extern SteamAPICall_t _ChangeNumOpenSlots(IntPtr self, PartyBeaconID_t ulBeacon, uint unOpenSlots);
Exemplo n.º 30
0
 /// 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)
 {
 }