bc-stubs 104.0.0 → 104.0.2
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,4 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Returns the localized name for a given background
|
|
3
|
+
* @param {string} msg
|
|
4
|
+
* @returns {string}
|
|
5
|
+
*/
|
|
6
|
+
declare function BackgroundsTextGet(msg: string): string;
|
|
2
7
|
/**
|
|
3
8
|
* Builds the selectable background arrays based on the tags supplied
|
|
4
9
|
* @param {readonly BackgroundTag[]} BackgroundTagList - An array of string of all the tags to load
|
|
@@ -150,6 +150,7 @@ declare function AppearanceGroupAllowed(C: Character, GroupName: string): boolea
|
|
|
150
150
|
*/
|
|
151
151
|
declare function AppearanceRun(): void;
|
|
152
152
|
declare function AppearanceResize(load: boolean): void;
|
|
153
|
+
declare function AppearanceKeyDown(event: KeyboardEvent): boolean;
|
|
153
154
|
/**
|
|
154
155
|
* Calculates the background color of the preview image for and item
|
|
155
156
|
* @param {Character} C - The character whose appearance we are viewing
|
package/bc/Scripts/Layering.d.ts
CHANGED
|
@@ -53,13 +53,6 @@ declare namespace Layering {
|
|
|
53
53
|
* @param {Event} event
|
|
54
54
|
*/
|
|
55
55
|
function _AssetInputListener(event: Event): void;
|
|
56
|
-
/**
|
|
57
|
-
* Event listener for `blur` events of number-based input elements.
|
|
58
|
-
* Sanitizes the elements value upon deselecting the element.
|
|
59
|
-
* @private
|
|
60
|
-
* @param {HTMLInputElement} elem
|
|
61
|
-
*/
|
|
62
|
-
function _BlurListener(elem: HTMLInputElement): void;
|
|
63
56
|
let _CharacterRefresh: typeof CharacterRefresh;
|
|
64
57
|
/**
|
|
65
58
|
* Event listener for `click` events of the reset button
|
package/bc/Typedef.d.ts
CHANGED
|
@@ -1447,6 +1447,7 @@ interface Character {
|
|
|
1447
1447
|
IsEdged: () => boolean;
|
|
1448
1448
|
IsPlayer: () => this is PlayerCharacter;
|
|
1449
1449
|
IsBirthday: () => boolean;
|
|
1450
|
+
IsSiblingOfCharacter: (C: Character) => boolean;
|
|
1450
1451
|
IsFamilyOfPlayer: () => boolean;
|
|
1451
1452
|
IsInFamilyOfMemberNumber: (MemberNum: number) => boolean;
|
|
1452
1453
|
IsOnline: () => this is Character;
|