@wfcd/profile-parser 2.0.12 → 2.0.13
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.
- package/dist/Ability-DcXcbtcE.d.mts +19 -0
- package/dist/Ability.d.mts +1 -18
- package/dist/Ability.mjs +1 -2
- package/dist/ArchonCrystal.mjs +1 -3
- package/dist/ChallengeProgress-BrxgSqf4.d.mts +20 -0
- package/dist/ChallengeProgress.d.mts +1 -19
- package/dist/ChallengeProgress.mjs +1 -2
- package/dist/Enemy-Das_tHF5.d.mts +44 -0
- package/dist/Enemy.d.mts +1 -43
- package/dist/Enemy.mjs +1 -2
- package/dist/Intrinsics-BhwKpPoY.d.mts +67 -0
- package/dist/Intrinsics.d.mts +1 -66
- package/dist/Intrinsics.mjs +1 -2
- package/dist/ItemConfig-C81QdCpU.d.mts +51 -0
- package/dist/ItemConfig.d.mts +1 -50
- package/dist/ItemConfig.mjs +1 -3
- package/dist/LoadOutInventory-BrtoOtNr.d.mts +53 -0
- package/dist/LoadOutInventory.d.mts +1 -52
- package/dist/LoadOutInventory.mjs +1 -3
- package/dist/LoadOutItem-Cd_qovNn.d.mts +120 -0
- package/dist/LoadOutItem.d.mts +1 -119
- package/dist/LoadOutItem.mjs +1 -3
- package/dist/LoadOutPreset-CUV29lLL.d.mts +83 -0
- package/dist/LoadOutPreset.d.mts +1 -82
- package/dist/LoadOutPreset.mjs +1 -3
- package/dist/Mission-C7zlZ4eq.d.mts +53 -0
- package/dist/Mission.d.mts +1 -52
- package/dist/Mission.mjs +1 -3
- package/dist/OperatorLoadOuts-DvlpRvD1.d.mts +81 -0
- package/dist/OperatorLoadOuts.d.mts +1 -80
- package/dist/OperatorLoadOuts.mjs +1 -3
- package/dist/Polarity-BWadoIXU.d.mts +26 -0
- package/dist/Polarity.d.mts +1 -25
- package/dist/Polarity.mjs +1 -3
- package/dist/Profile.d.mts +8 -8
- package/dist/Profile.mjs +1 -3
- package/dist/ProfileParser.d.mts +1 -1
- package/dist/ProfileParser.mjs +1 -3
- package/dist/Pvp-D0lygyP6.d.mts +36 -0
- package/dist/Pvp.d.mts +1 -35
- package/dist/Pvp.mjs +1 -2
- package/dist/Race-PxkzCRsy.d.mts +32 -0
- package/dist/Race.d.mts +1 -31
- package/dist/Race.mjs +1 -2
- package/dist/Scan-Cj6jCTNg.d.mts +27 -0
- package/dist/Scan.d.mts +1 -26
- package/dist/Scan.mjs +1 -2
- package/dist/Skin-CpQ4dzEs.d.mts +28 -0
- package/dist/Skin.d.mts +1 -27
- package/dist/Skin.mjs +1 -3
- package/dist/Stats.d.mts +7 -7
- package/dist/Stats.mjs +1 -3
- package/dist/Syndicate-BwHRq-Iw.d.mts +33 -0
- package/dist/Syndicate.d.mts +1 -32
- package/dist/Syndicate.mjs +1 -3
- package/dist/Utils-xGSP1zu-.d.mts +36 -0
- package/dist/Utils.d.mts +1 -35
- package/dist/Utils.mjs +1 -3
- package/dist/Weapon-DUlgoPHD.d.mts +32 -0
- package/dist/Weapon.d.mts +1 -31
- package/dist/Weapon.mjs +1 -2
- package/dist/XpInfo-C1pzVAdK.d.mts +34 -0
- package/dist/XpInfo.d.mts +1 -33
- package/dist/XpInfo.mjs +1 -3
- package/package.json +6 -6
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
//#region src/Ability.d.ts
|
|
2
|
+
interface RawAbility {
|
|
3
|
+
type: string;
|
|
4
|
+
used: number;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Represents a players used ability
|
|
8
|
+
* @module
|
|
9
|
+
*/
|
|
10
|
+
declare class Ability {
|
|
11
|
+
uniqueName: string;
|
|
12
|
+
used: number;
|
|
13
|
+
/**
|
|
14
|
+
* @param ability The ability
|
|
15
|
+
*/
|
|
16
|
+
constructor(ability: RawAbility);
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { RawAbility as n, Ability as t };
|
package/dist/Ability.d.mts
CHANGED
|
@@ -1,19 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
interface RawAbility {
|
|
3
|
-
type: string;
|
|
4
|
-
used: number;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Represents a players used ability
|
|
8
|
-
* @module
|
|
9
|
-
*/
|
|
10
|
-
declare class Ability {
|
|
11
|
-
uniqueName: string;
|
|
12
|
-
used: number;
|
|
13
|
-
/**
|
|
14
|
-
* @param ability The ability
|
|
15
|
-
*/
|
|
16
|
-
constructor(ability: RawAbility);
|
|
17
|
-
}
|
|
18
|
-
//#endregion
|
|
1
|
+
import { n as RawAbility, t as Ability } from "./Ability-DcXcbtcE.mjs";
|
|
19
2
|
export { RawAbility, Ability as default };
|
package/dist/Ability.mjs
CHANGED
package/dist/ArchonCrystal.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { archonShardColor, archonShardUpgradeType } from "warframe-worldstate-data/utilities";
|
|
2
|
-
|
|
3
2
|
//#region src/ArchonCrystal.ts
|
|
4
3
|
/**
|
|
5
4
|
* Represents an Archon shard
|
|
@@ -24,6 +23,5 @@ var ArchonCrystal = class {
|
|
|
24
23
|
this.modifier = archonShardUpgradeType(crystal.Color, crystal.UpgradeType, locale);
|
|
25
24
|
}
|
|
26
25
|
};
|
|
27
|
-
|
|
28
26
|
//#endregion
|
|
29
|
-
export { ArchonCrystal as default };
|
|
27
|
+
export { ArchonCrystal as default };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//#region src/ChallengeProgress.d.ts
|
|
2
|
+
interface RawChallengeProgress {
|
|
3
|
+
Name: string;
|
|
4
|
+
Progress: number;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Player completed or in progress challenges
|
|
8
|
+
* @module
|
|
9
|
+
*/
|
|
10
|
+
declare class ChallengeProgress {
|
|
11
|
+
name: string;
|
|
12
|
+
progress: number;
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @param challenge The challenge object to parse
|
|
16
|
+
*/
|
|
17
|
+
constructor(challenge: RawChallengeProgress);
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
export { RawChallengeProgress as n, ChallengeProgress as t };
|
|
@@ -1,20 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
interface RawChallengeProgress {
|
|
3
|
-
Name: string;
|
|
4
|
-
Progress: number;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Player completed or in progress challenges
|
|
8
|
-
* @module
|
|
9
|
-
*/
|
|
10
|
-
declare class ChallengeProgress {
|
|
11
|
-
name: string;
|
|
12
|
-
progress: number;
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @param challenge The challenge object to parse
|
|
16
|
-
*/
|
|
17
|
-
constructor(challenge: RawChallengeProgress);
|
|
18
|
-
}
|
|
19
|
-
//#endregion
|
|
1
|
+
import { n as RawChallengeProgress, t as ChallengeProgress } from "./ChallengeProgress-BrxgSqf4.mjs";
|
|
20
2
|
export { RawChallengeProgress, ChallengeProgress as default };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
//#region src/Enemy.d.ts
|
|
2
|
+
interface RawEnemy {
|
|
3
|
+
type: string;
|
|
4
|
+
kills: number;
|
|
5
|
+
headshots: number;
|
|
6
|
+
executions: number;
|
|
7
|
+
assists: number;
|
|
8
|
+
deaths: number;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* An enemy killed/executed by player
|
|
12
|
+
*/
|
|
13
|
+
declare class Enemy {
|
|
14
|
+
/**
|
|
15
|
+
* Enemy's unique name
|
|
16
|
+
*/
|
|
17
|
+
uniqueName: string;
|
|
18
|
+
/**
|
|
19
|
+
* How many times the player has killed this enemy type
|
|
20
|
+
*/
|
|
21
|
+
kills: number;
|
|
22
|
+
/**
|
|
23
|
+
* The amount of kills that were headshots
|
|
24
|
+
*/
|
|
25
|
+
headshots: number;
|
|
26
|
+
/**
|
|
27
|
+
* The amount of kills that were finishers
|
|
28
|
+
*/
|
|
29
|
+
executions: number;
|
|
30
|
+
/**
|
|
31
|
+
* The amount of kills that were assits
|
|
32
|
+
*/
|
|
33
|
+
assists: number;
|
|
34
|
+
/**
|
|
35
|
+
* How many times this enemy type has killed the player
|
|
36
|
+
*/
|
|
37
|
+
deaths: number;
|
|
38
|
+
/**
|
|
39
|
+
* @param enemy The enemy
|
|
40
|
+
*/
|
|
41
|
+
constructor(enemy: RawEnemy);
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
44
|
+
export { RawEnemy as n, Enemy as t };
|
package/dist/Enemy.d.mts
CHANGED
|
@@ -1,44 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
interface RawEnemy {
|
|
3
|
-
type: string;
|
|
4
|
-
kills: number;
|
|
5
|
-
headshots: number;
|
|
6
|
-
executions: number;
|
|
7
|
-
assists: number;
|
|
8
|
-
deaths: number;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* An enemy killed/executed by player
|
|
12
|
-
*/
|
|
13
|
-
declare class Enemy {
|
|
14
|
-
/**
|
|
15
|
-
* Enemy's unique name
|
|
16
|
-
*/
|
|
17
|
-
uniqueName: string;
|
|
18
|
-
/**
|
|
19
|
-
* How many times the player has killed this enemy type
|
|
20
|
-
*/
|
|
21
|
-
kills: number;
|
|
22
|
-
/**
|
|
23
|
-
* The amount of kills that were headshots
|
|
24
|
-
*/
|
|
25
|
-
headshots: number;
|
|
26
|
-
/**
|
|
27
|
-
* The amount of kills that were finishers
|
|
28
|
-
*/
|
|
29
|
-
executions: number;
|
|
30
|
-
/**
|
|
31
|
-
* The amount of kills that were assits
|
|
32
|
-
*/
|
|
33
|
-
assists: number;
|
|
34
|
-
/**
|
|
35
|
-
* How many times this enemy type has killed the player
|
|
36
|
-
*/
|
|
37
|
-
deaths: number;
|
|
38
|
-
/**
|
|
39
|
-
* @param enemy The enemy
|
|
40
|
-
*/
|
|
41
|
-
constructor(enemy: RawEnemy);
|
|
42
|
-
}
|
|
43
|
-
//#endregion
|
|
1
|
+
import { n as RawEnemy, t as Enemy } from "./Enemy-Das_tHF5.mjs";
|
|
44
2
|
export { RawEnemy, Enemy as default };
|
package/dist/Enemy.mjs
CHANGED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
//#region src/Intrinsics.d.ts
|
|
2
|
+
interface RawIntrinsics {
|
|
3
|
+
LPS_ENGINEERING?: number;
|
|
4
|
+
LPS_GUNNERY?: number;
|
|
5
|
+
LPS_PILOTING?: number;
|
|
6
|
+
LPS_TACTICAL?: number;
|
|
7
|
+
LPS_COMMAND?: number;
|
|
8
|
+
LPP_DRIFTER?: number;
|
|
9
|
+
LPS_DRIFT_RIDING?: number;
|
|
10
|
+
LPS_DRIFT_COMBAT?: number;
|
|
11
|
+
LPS_DRIFT_OPPORTUNITY?: number;
|
|
12
|
+
LPS_DRIFT_ENDURANCE?: number;
|
|
13
|
+
LPP_SPACE?: number;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Player's intrinsics ranks
|
|
17
|
+
* @module
|
|
18
|
+
*/
|
|
19
|
+
declare class Intrinsics {
|
|
20
|
+
/**
|
|
21
|
+
* Intrinsic points for railjack
|
|
22
|
+
*/
|
|
23
|
+
railjack: number;
|
|
24
|
+
/**
|
|
25
|
+
* Railjack engineering rank
|
|
26
|
+
*/
|
|
27
|
+
engineering: number;
|
|
28
|
+
/**
|
|
29
|
+
* Railjack gunnery rank
|
|
30
|
+
*/
|
|
31
|
+
gunnery: number;
|
|
32
|
+
/**
|
|
33
|
+
* Railjack piloting rank
|
|
34
|
+
*/
|
|
35
|
+
piloting: number;
|
|
36
|
+
/**
|
|
37
|
+
* Railjack tactical rank
|
|
38
|
+
*/
|
|
39
|
+
tactical: number;
|
|
40
|
+
/**
|
|
41
|
+
* Railjack command rank
|
|
42
|
+
*/
|
|
43
|
+
command: number;
|
|
44
|
+
/**
|
|
45
|
+
* Intrinsic points for railjack
|
|
46
|
+
*/
|
|
47
|
+
drifter: number;
|
|
48
|
+
/**
|
|
49
|
+
* Drifter riding rank
|
|
50
|
+
*/
|
|
51
|
+
riding: number;
|
|
52
|
+
/**
|
|
53
|
+
* Drifter combat rank
|
|
54
|
+
*/
|
|
55
|
+
combat: number;
|
|
56
|
+
/**
|
|
57
|
+
* Drifter opportunity rank
|
|
58
|
+
*/
|
|
59
|
+
opportunity: number;
|
|
60
|
+
/**
|
|
61
|
+
* Drifter endurance rank
|
|
62
|
+
*/
|
|
63
|
+
endurance: number;
|
|
64
|
+
constructor(skills: RawIntrinsics);
|
|
65
|
+
}
|
|
66
|
+
//#endregion
|
|
67
|
+
export { RawIntrinsics as n, Intrinsics as t };
|
package/dist/Intrinsics.d.mts
CHANGED
|
@@ -1,67 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
interface RawIntrinsics {
|
|
3
|
-
LPS_ENGINEERING?: number;
|
|
4
|
-
LPS_GUNNERY?: number;
|
|
5
|
-
LPS_PILOTING?: number;
|
|
6
|
-
LPS_TACTICAL?: number;
|
|
7
|
-
LPS_COMMAND?: number;
|
|
8
|
-
LPP_DRIFTER?: number;
|
|
9
|
-
LPS_DRIFT_RIDING?: number;
|
|
10
|
-
LPS_DRIFT_COMBAT?: number;
|
|
11
|
-
LPS_DRIFT_OPPORTUNITY?: number;
|
|
12
|
-
LPS_DRIFT_ENDURANCE?: number;
|
|
13
|
-
LPP_SPACE?: number;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Player's intrinsics ranks
|
|
17
|
-
* @module
|
|
18
|
-
*/
|
|
19
|
-
declare class Intrinsics {
|
|
20
|
-
/**
|
|
21
|
-
* Intrinsic points for railjack
|
|
22
|
-
*/
|
|
23
|
-
railjack: number;
|
|
24
|
-
/**
|
|
25
|
-
* Railjack engineering rank
|
|
26
|
-
*/
|
|
27
|
-
engineering: number;
|
|
28
|
-
/**
|
|
29
|
-
* Railjack gunnery rank
|
|
30
|
-
*/
|
|
31
|
-
gunnery: number;
|
|
32
|
-
/**
|
|
33
|
-
* Railjack piloting rank
|
|
34
|
-
*/
|
|
35
|
-
piloting: number;
|
|
36
|
-
/**
|
|
37
|
-
* Railjack tactical rank
|
|
38
|
-
*/
|
|
39
|
-
tactical: number;
|
|
40
|
-
/**
|
|
41
|
-
* Railjack command rank
|
|
42
|
-
*/
|
|
43
|
-
command: number;
|
|
44
|
-
/**
|
|
45
|
-
* Intrinsic points for railjack
|
|
46
|
-
*/
|
|
47
|
-
drifter: number;
|
|
48
|
-
/**
|
|
49
|
-
* Drifter riding rank
|
|
50
|
-
*/
|
|
51
|
-
riding: number;
|
|
52
|
-
/**
|
|
53
|
-
* Drifter combat rank
|
|
54
|
-
*/
|
|
55
|
-
combat: number;
|
|
56
|
-
/**
|
|
57
|
-
* Drifter opportunity rank
|
|
58
|
-
*/
|
|
59
|
-
opportunity: number;
|
|
60
|
-
/**
|
|
61
|
-
* Drifter endurance rank
|
|
62
|
-
*/
|
|
63
|
-
endurance: number;
|
|
64
|
-
constructor(skills: RawIntrinsics);
|
|
65
|
-
}
|
|
66
|
-
//#endregion
|
|
1
|
+
import { n as RawIntrinsics, t as Intrinsics } from "./Intrinsics-BhwKpPoY.mjs";
|
|
67
2
|
export { RawIntrinsics, Intrinsics as default };
|
package/dist/Intrinsics.mjs
CHANGED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { n as Skin } from "./Skin-CpQ4dzEs.mjs";
|
|
2
|
+
import { t as ProfileRawColors } from "./Utils-xGSP1zu-.mjs";
|
|
3
|
+
import { ColorMap } from "@wfcd/items";
|
|
4
|
+
import { Locale } from "warframe-worldstate-data";
|
|
5
|
+
|
|
6
|
+
//#region src/ItemConfig.d.ts
|
|
7
|
+
interface RawItemConfig {
|
|
8
|
+
Skins?: string[];
|
|
9
|
+
PvpUpgrades?: string[];
|
|
10
|
+
pricol?: ProfileRawColors;
|
|
11
|
+
sigcol?: ProfileRawColors;
|
|
12
|
+
attcol?: ProfileRawColors;
|
|
13
|
+
syancol?: ProfileRawColors;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Item customizations such as colors and applied skins
|
|
17
|
+
* @module
|
|
18
|
+
*/
|
|
19
|
+
declare class ItemConfig {
|
|
20
|
+
/**
|
|
21
|
+
* Array of unique names for the skins applied to item
|
|
22
|
+
*/
|
|
23
|
+
skins?: Skin[];
|
|
24
|
+
/**
|
|
25
|
+
* Array of PVP unique name upgrades applied
|
|
26
|
+
*/
|
|
27
|
+
conclaveUpgrades?: string[];
|
|
28
|
+
/**
|
|
29
|
+
* Primary colors applied to item if they exist
|
|
30
|
+
*/
|
|
31
|
+
primaryColor?: ColorMap;
|
|
32
|
+
/**
|
|
33
|
+
* Sigil colors applied to item if they exist
|
|
34
|
+
*/
|
|
35
|
+
sigilColor?: ColorMap;
|
|
36
|
+
/**
|
|
37
|
+
* Attachment colors applied to item if they exist
|
|
38
|
+
*/
|
|
39
|
+
attachmentsColor?: ColorMap;
|
|
40
|
+
/**
|
|
41
|
+
* Syandana colors applied to item if they exist
|
|
42
|
+
*/
|
|
43
|
+
syandanaColor?: ColorMap;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @param config The configuration
|
|
47
|
+
*/
|
|
48
|
+
constructor(config: RawItemConfig, locale?: Locale);
|
|
49
|
+
}
|
|
50
|
+
//#endregion
|
|
51
|
+
export { RawItemConfig as n, ItemConfig as t };
|
package/dist/ItemConfig.d.mts
CHANGED
|
@@ -1,51 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ProfileRawColors } from "./Utils.mjs";
|
|
3
|
-
import { ColorMap } from "@wfcd/items";
|
|
4
|
-
import { Locale } from "warframe-worldstate-data";
|
|
5
|
-
|
|
6
|
-
//#region src/ItemConfig.d.ts
|
|
7
|
-
interface RawItemConfig {
|
|
8
|
-
Skins?: string[];
|
|
9
|
-
PvpUpgrades?: string[];
|
|
10
|
-
pricol?: ProfileRawColors;
|
|
11
|
-
sigcol?: ProfileRawColors;
|
|
12
|
-
attcol?: ProfileRawColors;
|
|
13
|
-
syancol?: ProfileRawColors;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Item customizations such as colors and applied skins
|
|
17
|
-
* @module
|
|
18
|
-
*/
|
|
19
|
-
declare class ItemConfig {
|
|
20
|
-
/**
|
|
21
|
-
* Array of unique names for the skins applied to item
|
|
22
|
-
*/
|
|
23
|
-
skins?: Skin[];
|
|
24
|
-
/**
|
|
25
|
-
* Array of PVP unique name upgrades applied
|
|
26
|
-
*/
|
|
27
|
-
conclaveUpgrades?: string[];
|
|
28
|
-
/**
|
|
29
|
-
* Primary colors applied to item if they exist
|
|
30
|
-
*/
|
|
31
|
-
primaryColor?: ColorMap;
|
|
32
|
-
/**
|
|
33
|
-
* Sigil colors applied to item if they exist
|
|
34
|
-
*/
|
|
35
|
-
sigilColor?: ColorMap;
|
|
36
|
-
/**
|
|
37
|
-
* Attachment colors applied to item if they exist
|
|
38
|
-
*/
|
|
39
|
-
attachmentsColor?: ColorMap;
|
|
40
|
-
/**
|
|
41
|
-
* Syandana colors applied to item if they exist
|
|
42
|
-
*/
|
|
43
|
-
syandanaColor?: ColorMap;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @param config The configuration
|
|
47
|
-
*/
|
|
48
|
-
constructor(config: RawItemConfig, locale?: Locale);
|
|
49
|
-
}
|
|
50
|
-
//#endregion
|
|
1
|
+
import { n as RawItemConfig, t as ItemConfig } from "./ItemConfig-C81QdCpU.mjs";
|
|
51
2
|
export { RawItemConfig, ItemConfig as default };
|
package/dist/ItemConfig.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { mapToHex } from "./Utils.mjs";
|
|
2
2
|
import Skin from "./Skin.mjs";
|
|
3
3
|
import { colors } from "@wfcd/items/utilities";
|
|
4
|
-
|
|
5
4
|
//#region src/ItemConfig.ts
|
|
6
5
|
/**
|
|
7
6
|
* Item customizations such as colors and applied skins
|
|
@@ -45,6 +44,5 @@ var ItemConfig = class {
|
|
|
45
44
|
if (config.syancol) this.syandanaColor = colors.mapColors(mapToHex(config.syancol));
|
|
46
45
|
}
|
|
47
46
|
};
|
|
48
|
-
|
|
49
47
|
//#endregion
|
|
50
|
-
export { ItemConfig as default };
|
|
48
|
+
export { ItemConfig as default };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { n as Skin, t as RawSkin } from "./Skin-CpQ4dzEs.mjs";
|
|
2
|
+
import { n as RawLoadOutItem, t as LoadOutItem } from "./LoadOutItem-Cd_qovNn.mjs";
|
|
3
|
+
import { n as XpInfo, t as RawXpItem } from "./XpInfo-C1pzVAdK.mjs";
|
|
4
|
+
import { Locale } from "warframe-worldstate-data";
|
|
5
|
+
|
|
6
|
+
//#region src/LoadOutInventory.d.ts
|
|
7
|
+
interface RawLoadOut {
|
|
8
|
+
WeaponSkins: RawSkin[];
|
|
9
|
+
Suits: RawLoadOutItem[];
|
|
10
|
+
Pistols?: RawLoadOutItem[];
|
|
11
|
+
LongGuns?: RawLoadOutItem[];
|
|
12
|
+
Melee?: RawLoadOutItem[];
|
|
13
|
+
XPInfo: RawXpItem[];
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Player loudout
|
|
17
|
+
* @module
|
|
18
|
+
*/
|
|
19
|
+
declare class LoadOutInventory {
|
|
20
|
+
/**
|
|
21
|
+
* Skins applied to weapons
|
|
22
|
+
*/
|
|
23
|
+
weaponSkins: Skin[];
|
|
24
|
+
/**
|
|
25
|
+
* An array of the player's currently equiped Warframe (or powersuits)
|
|
26
|
+
*/
|
|
27
|
+
suits: LoadOutItem[];
|
|
28
|
+
/**
|
|
29
|
+
* An array of the player's currently equiped secondary weapon
|
|
30
|
+
*/
|
|
31
|
+
secondary?: LoadOutItem[];
|
|
32
|
+
/**
|
|
33
|
+
* An array of the player's currently equiped primary weapon
|
|
34
|
+
*/
|
|
35
|
+
primary?: LoadOutItem[];
|
|
36
|
+
/**
|
|
37
|
+
* An array of the player's currently equiped melee weapon
|
|
38
|
+
*/
|
|
39
|
+
melee?: LoadOutItem[];
|
|
40
|
+
/**
|
|
41
|
+
* Items that have counted towards the players mastery rank
|
|
42
|
+
*/
|
|
43
|
+
xpInfo: XpInfo[];
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @param item The loadout data
|
|
47
|
+
* @param locale The locale to return loudout items in. Default is en
|
|
48
|
+
* @param withItem Whether or not to include items
|
|
49
|
+
*/
|
|
50
|
+
constructor(item: RawLoadOut, locale?: Locale, withItem?: boolean);
|
|
51
|
+
}
|
|
52
|
+
//#endregion
|
|
53
|
+
export { RawLoadOut as n, LoadOutInventory as t };
|
|
@@ -1,53 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import LoadOutItem, { RawLoadOutItem } from "./LoadOutItem.mjs";
|
|
3
|
-
import XpInfo, { RawXpItem } from "./XpInfo.mjs";
|
|
4
|
-
import { Locale } from "warframe-worldstate-data";
|
|
5
|
-
|
|
6
|
-
//#region src/LoadOutInventory.d.ts
|
|
7
|
-
interface RawLoadOut {
|
|
8
|
-
WeaponSkins: RawSkin[];
|
|
9
|
-
Suits: RawLoadOutItem[];
|
|
10
|
-
Pistols?: RawLoadOutItem[];
|
|
11
|
-
LongGuns?: RawLoadOutItem[];
|
|
12
|
-
Melee?: RawLoadOutItem[];
|
|
13
|
-
XPInfo: RawXpItem[];
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Player loudout
|
|
17
|
-
* @module
|
|
18
|
-
*/
|
|
19
|
-
declare class LoadOutInventory {
|
|
20
|
-
/**
|
|
21
|
-
* Skins applied to weapons
|
|
22
|
-
*/
|
|
23
|
-
weaponSkins: Skin[];
|
|
24
|
-
/**
|
|
25
|
-
* An array of the player's currently equiped Warframe (or powersuits)
|
|
26
|
-
*/
|
|
27
|
-
suits: LoadOutItem[];
|
|
28
|
-
/**
|
|
29
|
-
* An array of the player's currently equiped secondary weapon
|
|
30
|
-
*/
|
|
31
|
-
secondary?: LoadOutItem[];
|
|
32
|
-
/**
|
|
33
|
-
* An array of the player's currently equiped primary weapon
|
|
34
|
-
*/
|
|
35
|
-
primary?: LoadOutItem[];
|
|
36
|
-
/**
|
|
37
|
-
* An array of the player's currently equiped melee weapon
|
|
38
|
-
*/
|
|
39
|
-
melee?: LoadOutItem[];
|
|
40
|
-
/**
|
|
41
|
-
* Items that have counted towards the players mastery rank
|
|
42
|
-
*/
|
|
43
|
-
xpInfo: XpInfo[];
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @param item The loadout data
|
|
47
|
-
* @param locale The locale to return loudout items in. Default is en
|
|
48
|
-
* @param withItem Whether or not to include items
|
|
49
|
-
*/
|
|
50
|
-
constructor(item: RawLoadOut, locale?: Locale, withItem?: boolean);
|
|
51
|
-
}
|
|
52
|
-
//#endregion
|
|
1
|
+
import { n as RawLoadOut, t as LoadOutInventory } from "./LoadOutInventory-BrtoOtNr.mjs";
|
|
53
2
|
export { RawLoadOut, LoadOutInventory as default };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import Skin from "./Skin.mjs";
|
|
2
2
|
import LoadOutItem from "./LoadOutItem.mjs";
|
|
3
3
|
import XpInfo from "./XpInfo.mjs";
|
|
4
|
-
|
|
5
4
|
//#region src/LoadOutInventory.ts
|
|
6
5
|
/**
|
|
7
6
|
* Player loudout
|
|
@@ -47,6 +46,5 @@ var LoadOutInventory = class {
|
|
|
47
46
|
this.xpInfo = item.XPInfo.map((xp) => new XpInfo(xp, locale, withItem));
|
|
48
47
|
}
|
|
49
48
|
};
|
|
50
|
-
|
|
51
49
|
//#endregion
|
|
52
|
-
export { LoadOutInventory as default };
|
|
50
|
+
export { LoadOutInventory as default };
|