bc-stubs 116.0.0-Beta.1 → 116.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,7 +19,7 @@ type FriendRawRoom = {
19
19
  name?: string;
20
20
  caption: string;
21
21
  canSearchRoom: boolean;
22
- types: FriendListIcon[];
22
+ types: (null | FriendListIcon)[];
23
23
  };
24
24
 
25
25
  type FriendRawBeep = {
@@ -4890,6 +4890,8 @@ interface ShopItem {
4890
4890
  readonly Asset: Asset,
4891
4891
  /** The assets sorting priority within the asset list; lower values take priority */
4892
4892
  readonly SortPriority: number,
4893
+ /** Whether the player is forbidden to buy the item */
4894
+ readonly CannotBuy: boolean,
4893
4895
  /** Whether an item should never be able to be sold */
4894
4896
  readonly NeverSell: boolean,
4895
4897
  /** Whether the asset can be bought; `false` implies that it can be sold */
@@ -174,6 +174,11 @@ declare function AssetActivitiesForGroup(family: IAssetFamily, groupname: AssetG
174
174
  * @returns {AssetGroupMapping[T] | null} - The asset group matching the provided family and group name
175
175
  */
176
176
  declare function AssetGroupGet<T extends AssetGroupName>(Family: IAssetFamily, Group: T): AssetGroupMapping[T] | null;
177
+ /**
178
+ * Check whether a group can be hidden through the item visibility settings
179
+ * @param {AssetGroup} group
180
+ */
181
+ declare function AssetGroupIsHideable(group: AssetGroup): boolean;
177
182
  /**
178
183
  * Utility function for retrieving the preview image directory path for an asset
179
184
  * @param {Asset} A - The asset whose preview path to retrieve
@@ -178,8 +178,8 @@ declare var GLDrawCacheLoadedImages: number;
178
178
  declare var GLDrawCacheTotalImages: number;
179
179
  /** @type {"webgl2"|"webgl"|"No WebGL"} */
180
180
  declare var GLVersion: "webgl2" | "webgl" | "No WebGL";
181
- /** @type {HTMLCanvasElement} */
182
- declare var GLDrawCanvas: HTMLCanvasElement;
181
+ /** @type {null | HTMLCanvasElement} */
182
+ declare var GLDrawCanvas: null | HTMLCanvasElement;
183
183
  /**
184
184
  * How many seconds to wait before forcefully resetting the canvas after a
185
185
  * context loss
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bc-stubs",
3
- "version": "116.0.0-Beta.1",
3
+ "version": "116.0.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@github.com/bananarama92/BC-stubs.git"