bc-stubs 102.0.0-Beta.2 → 102.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.
@@ -1,7 +1,8 @@
1
1
  declare function AssetsItemNipplesLactationPumpBeforeDraw(drawData: DynamicDrawingData<LactationPumpPersistentData>): DynamicBeforeDrawOverrides;
2
2
  declare function LactationPumpGetRandomDuration(): number;
3
3
  declare function AssetsItemNipplesLactationPumpScriptDraw(drawData: DynamicScriptCallbackData<LactationPumpPersistentData>): void;
4
- declare const LactationPumpDuration: 10000;
4
+ /** Minimum time (in ms) the pump waits between its messages. Max is two times that. */
5
+ declare const LactationPumpDuration: number;
5
6
  type LactationPumpPersistentData = {
6
7
  LastSuction?: number;
7
8
  SuctionDuration?: number;
@@ -99,12 +99,12 @@ declare const Shop2InitVars: VariableContainer<{
99
99
  */
100
100
  Items: readonly ShopItem[];
101
101
  /**
102
- * A record mapping {@link AssetGroup.Description} to a list with all respective (shop-elligble) group names.
102
+ * A record mapping group category descriptions, to {@link AssetGroup.Description} to a set with all respective (shop-elligble) group names.
103
103
  *
104
104
  * Note that keys will vary based on the users active language.
105
- * @type {Record<string, Set<AssetGroupName>>}
105
+ * @type {Record<string, Record<string, Set<AssetGroupName>>>}
106
106
  */
107
- GroupDescriptions: Record<string, Set<AssetGroupName>>;
107
+ GroupDescriptions: Record<string, Record<string, Set<AssetGroupName>>>;
108
108
  }, {
109
109
  /** The shop background */
110
110
  Background: string;
@@ -101,10 +101,9 @@ declare class NotificationEventHandler {
101
101
  raisePopup(data: NotificationData): void;
102
102
  /**
103
103
  * Determines whether an audio alert shoud be played
104
- * @param {boolean} usingPopup - If TRUE this indicates that the audio will be played by a popup, rather than an in-game alert
105
104
  * @returns {boolean} - Whether audio should be played
106
105
  */
107
- playAudio(usingPopup: boolean): boolean;
106
+ playAudio(): boolean;
108
107
  /**
109
108
  * Resets all raised notifications for this event
110
109
  * @param {boolean} resetingAll - Indicates if all notifications are being reset, to avoid unnecessarily repeating steps for each event type
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bc-stubs",
3
- "version": "102.0.0-Beta.2",
3
+ "version": "102.0.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@github.com/bananarama92/BC-stubs.git"