UNPKG

bungie-net-core

Version:

An easy way to interact with the Bungie.net API

30 lines (29 loc) 1.47 kB
/** * Bungie.Net API * These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality. * * Contact: support@bungie.com * * NOTE: This class is auto generated by the bungie-net-core code generator program * Repository: {@link https://github.com/owens1127/bungie-net-core} * Do not edit these files manually. */ import { DestinyGamePrivacySetting } from '../../DestinyGamePrivacySetting'; import { DestinyJoinClosedReasons } from '../../DestinyJoinClosedReasons'; /** * Some basic information about whether you can be joined, how many slots are left * etc. Note that this can change quickly, so it may not actually be useful. But * perhaps it will be in some use cases? * @see {@link https://bungie-net.github.io/#/components/schemas/Destiny.Components.Profiles.DestinyProfileTransitoryJoinability} */ export interface DestinyProfileTransitoryJoinability { /** The number of slots still available on this person's fireteam. */ readonly openSlots: number; /** Who the person is currently allowing invites from. */ readonly privacySetting: DestinyGamePrivacySetting; /** * Reasons why a person can't join this person's fireteam. This enum represents a * set of flags - use bitwise operators to check which of these match your value. */ readonly closedReasons: DestinyJoinClosedReasons; }