@airbreather/mod-nodejs-types 0.0.7 → 0.0.9
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/acore.d.ts +4 -0
- package/classes/ACMap.d.ts +3 -3
- package/classes/Auction.d.ts +0 -1
- package/classes/AuctionHouse.d.ts +1 -1
- package/classes/ChatHandler.d.ts +1 -1
- package/classes/Config.d.ts +12 -12
- package/classes/CreatureTemplate.d.ts +5 -5
- package/classes/GameObject.d.ts +4 -0
- package/classes/Guild.d.ts +2 -2
- package/classes/Loot.d.ts +8 -5
- package/classes/LootStore.d.ts +0 -2
- package/classes/LootTemplate.d.ts +1 -1
- package/classes/MailDraft.d.ts +2 -2
- package/classes/Pet.d.ts +38 -1
- package/classes/Player.d.ts +194 -3
- package/classes/Unit.d.ts +3 -1
- package/classes/WorldObject.d.ts +0 -1
- package/enums/ActiveStates.d.ts +11 -0
- package/enums/AtLoginFlags.d.ts +18 -0
- package/enums/CombatRating.d.ts +30 -0
- package/enums/EnvironmentalDamage.d.ts +12 -0
- package/enums/EquipmentSlots.d.ts +26 -0
- package/enums/GossipOptionIcon.d.ts +27 -0
- package/enums/HappinessState.d.ts +8 -0
- package/enums/{MailCheckedMask.d.ts → MailCheckMask.d.ts} +1 -1
- package/enums/PetSaveMode.d.ts +11 -0
- package/enums/PetSpellType.d.ts +8 -0
- package/enums/PlayerFlags.d.ts +37 -0
- package/enums/index.d.ts +11 -1
- package/package.json +1 -1
- package/records/CharTitlesEntry.d.ts +9 -0
- package/records/CreatureMovementData.d.ts +1 -1
- package/records/PetSpell.d.ts +8 -0
- package/records/index.d.ts +2 -0
package/acore.d.ts
CHANGED
|
@@ -9,6 +9,10 @@ declare global {
|
|
|
9
9
|
const hooks: EventEmitter<HooksConforming>;
|
|
10
10
|
|
|
11
11
|
function gc(): void;
|
|
12
|
+
//function getFactionEntry(entry: number): FactionEntry | undefined;
|
|
13
|
+
function getItemTemplate(entry: number): ItemTemplate | undefined;
|
|
14
|
+
//function getVehicleEntry(entry: number): VehicleEntry | undefined;
|
|
15
|
+
function getCharTitlesEntry(entry: number): CharTitlesEntry | undefined;
|
|
12
16
|
function guidsEqual(a: ObjectGuid | undefined, b: ObjectGuid | undefined): boolean;
|
|
13
17
|
function decodeGuid(g: ObjectGuid | undefined): ObjectGuidDecoded;
|
|
14
18
|
function getCurrTime(): Temporal.Instant;
|
package/classes/ACMap.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
declare global {
|
|
2
2
|
namespace Acore {
|
|
3
3
|
class ACMap {
|
|
4
|
-
static nonInstancedById(id: number): ACMap;
|
|
5
|
-
static instancedById(id: number, instanceId: number): ACMap;
|
|
6
|
-
static entrancePosById(id: number): Position;
|
|
4
|
+
static nonInstancedById(id: number): ACMap | undefined;
|
|
5
|
+
static instancedById(id: number, instanceId: number): ACMap | undefined;
|
|
6
|
+
static entrancePosById(id: number): Position | undefined;
|
|
7
7
|
|
|
8
8
|
readonly mapId: number;
|
|
9
9
|
readonly instanceId: number;
|
package/classes/Auction.d.ts
CHANGED
|
@@ -26,7 +26,6 @@ declare global {
|
|
|
26
26
|
|
|
27
27
|
deleteFromDB(): void;
|
|
28
28
|
saveToDB(): void;
|
|
29
|
-
saveToDB(): void;
|
|
30
29
|
sendAuctionWonMail(sendNotification?: boolean, updateAchievementCriteria?: boolean): void;
|
|
31
30
|
sendAuctionSalePendingMail(): void;
|
|
32
31
|
sendAuctionSuccessfulMail(sendNotification?: boolean, updateAchievementCriteria?: boolean): void;
|
package/classes/ChatHandler.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ declare global {
|
|
|
5
5
|
readonly selectedPlayer: Player | undefined;
|
|
6
6
|
readonly selectedPlayerOrSelf: Player | undefined;
|
|
7
7
|
readonly selectedCreature: Creature | undefined;
|
|
8
|
-
readonly selectedUnit: Unit | undefined
|
|
8
|
+
readonly selectedUnit: Unit | undefined;
|
|
9
9
|
readonly selectedObject: WorldObject | undefined;
|
|
10
10
|
readonly isConsole: boolean;
|
|
11
11
|
readonly hasSentErrorMessage: boolean;
|
package/classes/Config.d.ts
CHANGED
|
@@ -4,18 +4,18 @@ declare global {
|
|
|
4
4
|
static getArguments(): string[];
|
|
5
5
|
static getConfigPath(): string;
|
|
6
6
|
static getFilename(): string;
|
|
7
|
-
static getKeysStartingWith(): string[];
|
|
8
|
-
static getBool(): boolean;
|
|
9
|
-
static getString(): string;
|
|
10
|
-
static getFloat(): number;
|
|
11
|
-
static getU8(): number;
|
|
12
|
-
static getI8(): number;
|
|
13
|
-
static getU16(): number;
|
|
14
|
-
static getI16(): number;
|
|
15
|
-
static getU32(): number;
|
|
16
|
-
static getI32(): number;
|
|
17
|
-
static getU64(): number | bigint;
|
|
18
|
-
static getI64(): number | bigint;
|
|
7
|
+
static getKeysStartingWith(prefix: string): string[];
|
|
8
|
+
static getBool(key: string, def?: boolean, showLogs?: boolean): boolean;
|
|
9
|
+
static getString(key: string, def?: string, showLogs?: boolean): string;
|
|
10
|
+
static getFloat(key: string, def?: number, showLogs?: boolean): number;
|
|
11
|
+
static getU8(key: string, def?: number, showLogs?: boolean): number;
|
|
12
|
+
static getI8(key: string, def?: number, showLogs?: boolean): number;
|
|
13
|
+
static getU16(key: string, def?: number, showLogs?: boolean): number;
|
|
14
|
+
static getI16(key: string, def?: number, showLogs?: boolean): number;
|
|
15
|
+
static getU32(key: string, def?: number, showLogs?: boolean): number;
|
|
16
|
+
static getI32(key: string, def?: number, showLogs?: boolean): number;
|
|
17
|
+
static getU64(key: string, def?: number | bigint, showLogs?: boolean): number | bigint;
|
|
18
|
+
static getI64(key: string, def?: number | bigint, showLogs?: boolean): number | bigint;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -29,7 +29,7 @@ declare global {
|
|
|
29
29
|
readonly unitClass: CreatureClasses;
|
|
30
30
|
readonly unitFlags: UnitFlags;
|
|
31
31
|
readonly unitFlags2: UnitFlags2;
|
|
32
|
-
readonly
|
|
32
|
+
readonly dynamicFlags: UnitDynFlags;
|
|
33
33
|
readonly family: CreatureFamily;
|
|
34
34
|
readonly creatureType: CreatureType;
|
|
35
35
|
readonly creatureTypeFlags: CreatureTypeFlags;
|
|
@@ -59,10 +59,10 @@ declare global {
|
|
|
59
59
|
readonly requiredLootSkill: SkillType;
|
|
60
60
|
readonly isExotic: boolean;
|
|
61
61
|
|
|
62
|
-
getModelByIdx(idx: number): CreatureModel;
|
|
63
|
-
getRandomValidModel(): CreatureModel;
|
|
64
|
-
getFirstValidModel(): CreatureModel;
|
|
65
|
-
getModelWithDisplayId(displayId: number): CreatureModel;
|
|
62
|
+
getModelByIdx(idx: number): CreatureModel | undefined;
|
|
63
|
+
getRandomValidModel(): CreatureModel | undefined;
|
|
64
|
+
getFirstValidModel(): CreatureModel | undefined;
|
|
65
|
+
getModelWithDisplayId(displayId: number): CreatureModel | undefined;
|
|
66
66
|
getFirstInvisibleModel(): CreatureModel;
|
|
67
67
|
getFirstVisibleModel(): CreatureModel;
|
|
68
68
|
isTameable(exotic: boolean): boolean;
|
package/classes/GameObject.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ declare global {
|
|
|
18
18
|
spellId: number;
|
|
19
19
|
isSpawnedByDefault: boolean;
|
|
20
20
|
|
|
21
|
+
hasQuest(quest: Quest): boolean;
|
|
21
22
|
setLootState(lootState: LootState, unit?: Unit): void;
|
|
22
23
|
useDoorOrButton(timeToRestore?: Temporal.Duration, alternative?: boolean, user?: Unit): void;
|
|
23
24
|
despawn(): void;
|
|
@@ -26,6 +27,9 @@ declare global {
|
|
|
26
27
|
refresh(): void;
|
|
27
28
|
saveToDB(saveAddon?: boolean): void;
|
|
28
29
|
saveToDBExtra(mapId: number, spawnMask: number, phaseMask: number, saveAddon?: boolean): void;
|
|
30
|
+
delete(): void;
|
|
31
|
+
deleteFromDB(): void;
|
|
32
|
+
getFishLoot(lootOwner: Player, junk?: boolean): Loot;
|
|
29
33
|
// mod-nodejs inventions: SetRespawnTime and SetRespawnDelay names confuse me greatly. when I
|
|
30
34
|
// worked out what they were, I thought of better names and a nicer way to handle the former.
|
|
31
35
|
setTimeUntilNextRespawn(delay: Temporal.Duration): void;
|
package/classes/Guild.d.ts
CHANGED
|
@@ -7,8 +7,8 @@ declare global {
|
|
|
7
7
|
|
|
8
8
|
readonly id: number;
|
|
9
9
|
readonly leaderGuid: ObjectGuidNative;
|
|
10
|
-
readonly
|
|
11
|
-
readonly
|
|
10
|
+
readonly members: Map<number, GuildMember>;
|
|
11
|
+
readonly memberCount: number;
|
|
12
12
|
readonly totalBankMoney: number | bigint;
|
|
13
13
|
readonly createdDate: Temporal.Instant;
|
|
14
14
|
name: string;
|
package/classes/Loot.d.ts
CHANGED
|
@@ -12,15 +12,18 @@ declare global {
|
|
|
12
12
|
lootType: LootType;
|
|
13
13
|
unlootedCount: number;
|
|
14
14
|
gold: number;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
sourceWorldObjectGuid: ObjectGuidNative | undefined;
|
|
15
|
+
roundRobinPlayer: ObjectGuid | undefined;
|
|
16
|
+
lootOwnerGuid: ObjectGuid | undefined;
|
|
17
|
+
containerGuid: ObjectGuid | undefined;
|
|
18
|
+
sourceWorldObjectGuid: ObjectGuid | undefined;
|
|
20
19
|
|
|
20
|
+
getMaxSlotForPlayer(player: Player): number;
|
|
21
|
+
hasItem(itemId?: number, count?: number): boolean;
|
|
21
22
|
addItem(itemId: number, minCount: number, maxCount: number, chance: number, lootMode: LootModes, needsQuest?: boolean, allowStacking?: boolean, maxStackSize?: number): void;
|
|
23
|
+
removeItem(itemId: number, count?: number): void;
|
|
22
24
|
clear(): void;
|
|
23
25
|
generateMoney(min: number, max: number): void;
|
|
26
|
+
setItemLooted(itemId: number, count: number, looted: boolean): void;
|
|
24
27
|
addLooter(looter: ObjectGuid): void;
|
|
25
28
|
removeLooter(looter: ObjectGuid): void;
|
|
26
29
|
}
|
package/classes/LootStore.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare global {
|
|
2
2
|
namespace Acore {
|
|
3
3
|
class LootTemplate {
|
|
4
|
-
process(loot: Loot, lootStore: LootStore, lootMode: LootModes, player: Player, groupId?: number, isTopLevel?: boolean): void;
|
|
4
|
+
process(loot: Loot, lootStore: LootStore | LootStoreType, lootMode: LootModes, player: Player, groupId?: number, isTopLevel?: boolean): void;
|
|
5
5
|
}
|
|
6
6
|
}
|
|
7
7
|
}
|
package/classes/MailDraft.d.ts
CHANGED
|
@@ -4,10 +4,10 @@ declare global {
|
|
|
4
4
|
constructor(subject: string, text: string);
|
|
5
5
|
|
|
6
6
|
addMoney(money: number): MailDraft;
|
|
7
|
-
addCOD(
|
|
7
|
+
addCOD(cod: number): MailDraft;
|
|
8
8
|
addItem(item: Item): MailDraft;
|
|
9
9
|
createAndAddItem(entry: number, amount?: number): ObjectGuid;
|
|
10
|
-
send(receiver: ObjectGuid, sender: MailSender, checked?:
|
|
10
|
+
send(receiver: ObjectGuid, sender: MailSender, checked?: MailCheckMask, deliverDelay?: number, customExpiration?: number): void;
|
|
11
11
|
sendReturnToSender(senderAccount: number, sender: ObjectGuid, receiver: ObjectGuid): void;
|
|
12
12
|
}
|
|
13
13
|
}
|
package/classes/Pet.d.ts
CHANGED
|
@@ -8,10 +8,47 @@ declare global {
|
|
|
8
8
|
readonly hasTempSpell: boolean;
|
|
9
9
|
readonly autoSpellSize: number;
|
|
10
10
|
readonly petInfo: PetInfo;
|
|
11
|
-
readonly spells: Map<number,
|
|
11
|
+
readonly spells: Map<number, PetSpell>;
|
|
12
12
|
readonly autospells: number[];
|
|
13
13
|
readonly usedTalentCount: number;
|
|
14
14
|
readonly declinedNames: string[];
|
|
15
|
+
petType: PetType;
|
|
16
|
+
isBeingLoaded: boolean;
|
|
17
|
+
duration: Temporal.Duration;
|
|
18
|
+
freeTalentPoints: number;
|
|
19
|
+
happinessState: HappinessState;
|
|
20
|
+
auraUpdateMaskForRaid: number | bigint;
|
|
21
|
+
|
|
22
|
+
generateActionBarData(): string;
|
|
23
|
+
isPermanentPetFor(owner: Player): boolean;
|
|
24
|
+
getCurrentFoodBenefitLevel(itemLevel: number): number;
|
|
25
|
+
getAutoSpellOnPos(pos: number): number;
|
|
26
|
+
haveInDiet(item: ItemTemplate): boolean;
|
|
27
|
+
createBaseAtCreature(creature: Creature): boolean;
|
|
28
|
+
givePetXP(xp: number): void;
|
|
29
|
+
givePetLevel(level: number): void;
|
|
30
|
+
synchronizeLevelWithOwner(): void;
|
|
31
|
+
learnPetPassives(): void;
|
|
32
|
+
castWhenWillAvailable(spellId: number, target: Unit, oldTarget: ObjectGuid, isPositive?: boolean): void;
|
|
33
|
+
clearCastWhenWillAvailable(): void;
|
|
34
|
+
removeSpellCooldown(spellId: number, update: boolean): void;
|
|
35
|
+
addSpell(spellId: number, activeStates?: ActiveStates, state?: PetSpellState, type?: PetSpellType): boolean;
|
|
36
|
+
learnSpell(spellId: number): boolean;
|
|
37
|
+
learnSpellHighRank(spellId: number): void;
|
|
38
|
+
initLevelupSpellsForLevel(): void;
|
|
39
|
+
unlearnSpell(spellId: number, learnPrev: boolean, clearAb?: boolean): boolean;
|
|
40
|
+
removeSpell(spellId: number, learnPrev: boolean, clearAb?: boolean): boolean;
|
|
41
|
+
cleanupActionBar(): void;
|
|
42
|
+
initPetCreateSpells(): void;
|
|
43
|
+
resetTalents(): boolean;
|
|
44
|
+
initTalentForLevel(): void;
|
|
45
|
+
savePetToDB(mode: PetSaveMode): void;
|
|
46
|
+
loseHappiness(): void;
|
|
47
|
+
remove(mode: PetSaveMode, returnReagent?: boolean): void;
|
|
48
|
+
toggleAutocast(spellInfo: SpellInfo, apply: boolean): void;
|
|
49
|
+
castPetAuras(current: boolean): void;
|
|
50
|
+
getMaxTalentPointsForLevel(level: number): number;
|
|
51
|
+
resetAuraUpdateMaskForRaid(): void;
|
|
15
52
|
}
|
|
16
53
|
}
|
|
17
54
|
}
|
package/classes/Player.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
declare global {
|
|
2
2
|
namespace Acore {
|
|
3
3
|
class Player extends Unit {
|
|
4
|
+
static byGuid(guid: ObjectGuid): Player | undefined;
|
|
5
|
+
static byName(name: string): Player | undefined;
|
|
6
|
+
static allInWorld(): Player[];
|
|
7
|
+
|
|
4
8
|
readonly race: Races;
|
|
5
9
|
readonly raceMask: number;
|
|
6
10
|
readonly clazz: Classes;
|
|
@@ -102,10 +106,37 @@ declare global {
|
|
|
102
106
|
readonly completedAchievementsCount: number;
|
|
103
107
|
readonly completedAchievementsCountExcludingFeatsOfStrength: number;
|
|
104
108
|
readonly currentQuestIds: number[];
|
|
109
|
+
readonly spells: number[];
|
|
110
|
+
readonly knownTaxiNodes: number[];
|
|
111
|
+
readonly isFFAPvP: boolean;
|
|
112
|
+
readonly isInArenaTeam: boolean;
|
|
105
113
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
114
|
+
money: number;
|
|
115
|
+
drunkValue: number;
|
|
116
|
+
freeTalentPoints: number;
|
|
117
|
+
arenaPoints: number;
|
|
118
|
+
honorPoints: number;
|
|
119
|
+
lifetimeKills: number;
|
|
120
|
+
taxiCheat: boolean;
|
|
121
|
+
gmChat: boolean;
|
|
122
|
+
isPvP: boolean;
|
|
123
|
+
bonusTalentCount: number;
|
|
124
|
+
canTeleport: boolean;
|
|
125
|
+
lastPetNumber: number;
|
|
126
|
+
lastPetSpell: number;
|
|
127
|
+
temporaryUnsummonedPetNumber: number;
|
|
128
|
+
acceptWhispers: boolean;
|
|
129
|
+
gmVisible: boolean;
|
|
130
|
+
creationTime: Temporal.Instant;
|
|
131
|
+
guildRank: number;
|
|
132
|
+
isGM: boolean;
|
|
133
|
+
afk: boolean;
|
|
134
|
+
dnd: boolean;
|
|
135
|
+
isSpectator: boolean;
|
|
136
|
+
canBlock: boolean;
|
|
137
|
+
canParry: boolean;
|
|
138
|
+
viewpoint: WorldObject | undefined;
|
|
139
|
+
gossipMenuId: number;
|
|
109
140
|
|
|
110
141
|
hasAccountFlag(flag: AccountFlag): boolean;
|
|
111
142
|
setAccountFlag(flag: AccountFlag): boolean;
|
|
@@ -150,7 +181,167 @@ declare global {
|
|
|
150
181
|
hasArmorProficiency(armor: ItemSubclassArmor): boolean;
|
|
151
182
|
hasWeaponProficiency(weapon: ItemSubclassWeapon): boolean;
|
|
152
183
|
getGlyph(slot: number): GlyphPropertiesEntry | undefined;
|
|
184
|
+
getBaseSkillValue(skill: SkillType): number;
|
|
185
|
+
getPureSkillValue(skill: SkillType): number;
|
|
186
|
+
getPureMaxSkillValue(skill: SkillType): number;
|
|
187
|
+
getSkillPermBonusValue(skill: SkillType): number;
|
|
188
|
+
getSkillTempBonusValue(skill: SkillType): number;
|
|
189
|
+
hasQuestFor(gameObject: GameObject): boolean;
|
|
190
|
+
getQuestLevel(quest: Quest): number;
|
|
191
|
+
getQuestSlotQuestId(slot: number): number;
|
|
192
|
+
hasTitle(titleId: number): boolean;
|
|
193
|
+
hasTitleByIndex(bitIndex: number): boolean;
|
|
194
|
+
hasItem(entryId: number, count?: number): boolean;
|
|
195
|
+
getItemByEntry(entryId: number): Item | undefined;
|
|
196
|
+
// TODO: consistent naming
|
|
197
|
+
getItemByGUID(guid: ObjectGuid): Item | undefined;
|
|
198
|
+
getItemByPos(bag: number, slot: number): Item | undefined;
|
|
199
|
+
calculateReputationGain(source: ReputationSource, creatureOrQuestLevel: number, rep: number, factionId: number, noQuestBonus?: boolean): number;
|
|
200
|
+
getNearbyGameObject(entryId: number, range: number): GameObject | undefined;
|
|
201
|
+
getNextRandomRaidMember(radius: number): Player | undefined;
|
|
202
|
+
getReqKillOrCastCurrentCount(questId: number, entry: number): number;
|
|
203
|
+
getQuestRewardStatus(questId: number): boolean;
|
|
204
|
+
getSpellCooldownDelay(spellId: number): number;
|
|
205
|
+
hasAtLoginFlag(flag: AtLoginFlags): boolean;
|
|
206
|
+
hasSkill(skill: SkillType): boolean;
|
|
207
|
+
getAchievementCriteriaProgress(criteriaId: number): number;
|
|
208
|
+
|
|
209
|
+
|
|
153
210
|
sendSystemMessage(msg: string): void;
|
|
211
|
+
learnSpell(spellId: number, temporary?: boolean, learnFromSkill?: boolean): void;
|
|
212
|
+
removeSpell(spellId: number, temporary?: boolean, learnFromSkill?: boolean): void;
|
|
213
|
+
modifyMoney(amount: number): boolean;
|
|
214
|
+
teleport(mapId: number, x: number, y: number, z: number, o: number, options?: TeleportToOptions, target?: Unit, newInstance?: boolean): boolean;
|
|
215
|
+
resurrect(restorePct?: number, applySickness?: boolean): void;
|
|
216
|
+
equipItem(itemId: number, slot: number): Item | undefined;
|
|
217
|
+
mute(duration: Temporal.Duration): void;
|
|
218
|
+
giveXP(amount: number, target: Unit, groupRate?: number, isLfgReward?: boolean): void;
|
|
219
|
+
toggleDND(): void;
|
|
220
|
+
toggleAFK(): void;
|
|
221
|
+
resetTalents(noResetCost?: boolean): void;
|
|
222
|
+
talkedToCreature(entry: number, guid: ObjectGuid): void;
|
|
223
|
+
killedMonsterCredit(entry: number, guid?: ObjectGuid): void;
|
|
224
|
+
addQuest(quest: Quest, questGiver?: Object): void;
|
|
225
|
+
removeQuest(questId: number): void;
|
|
226
|
+
completeQuest(questId: number): void;
|
|
227
|
+
failQuest(questId: number): void;
|
|
228
|
+
incompleteQuest(questId: number): void;
|
|
229
|
+
abandonQuest(questId: number): void;
|
|
230
|
+
addItem(itemId: number, count?: number): boolean;
|
|
231
|
+
removeItem(itemId: number, count?: number): void;
|
|
232
|
+
resetSpellCooldown(spellId: number, target: Unit): void;
|
|
233
|
+
resetAllCooldowns(): void;
|
|
234
|
+
sendNotification(msg: string): void;
|
|
235
|
+
sendAreaTriggerMessage(msg: string): void;
|
|
236
|
+
sendAddonMessage(prefix: string, msg: string): void;
|
|
237
|
+
durabilityRepairAll(cost: boolean, discountMod: number, guildBank: boolean): number;
|
|
238
|
+
durabilityRepair(slot: number, cost: boolean, discountMod: number, guildBank: boolean): number;
|
|
239
|
+
durabilityLossAll(percent: number, inventory: boolean): void;
|
|
240
|
+
durabilityPointsLossAll(points: number, inventory: boolean): void;
|
|
241
|
+
advanceSkillsToMax(): void;
|
|
242
|
+
advanceAllSkills(step: number): void;
|
|
243
|
+
advanceSkill(skill: SkillType, step: number): boolean;
|
|
244
|
+
summonPet(entry: number, x: number, y: number, z: number, o: number, petType?: PetType, duration?: Temporal.Duration, healthPct?: number): Pet | undefined;
|
|
245
|
+
createPet(entry: number, spellId?: number): Pet | undefined;
|
|
246
|
+
returnPet(entry: number, mode?: PetSaveMode, returnReagent?: boolean): void;
|
|
247
|
+
unsummonPetTemporarilyIfAny(): void;
|
|
248
|
+
resummonPetIfTemporarilyUnsummoned(): void;
|
|
249
|
+
inviteToGroup(target: Player): boolean;
|
|
250
|
+
createGroupWith(target: Player): Group | undefined;
|
|
251
|
+
removeFromGroup(method?: RemoveMethod): void;
|
|
252
|
+
addLifetimeKills(kills: number): void;
|
|
253
|
+
removeLifetimeKills(kills: number): void;
|
|
254
|
+
sendTaxiMenu(creature: Creature): void;
|
|
255
|
+
sendSpiritResurrect(): void;
|
|
256
|
+
sendShowBank(banker: ObjectGuid): void;
|
|
257
|
+
sendAuctionMenu(auctioneer: Creature): void;
|
|
258
|
+
unbindInstance(instanceId: number, difficulty?: Difficulty): void;
|
|
259
|
+
unbindAllInstances(): void;
|
|
260
|
+
leaveBattleground(): void;
|
|
261
|
+
logoutPlayer(save?: boolean): void;
|
|
262
|
+
saveToDB(): void;
|
|
263
|
+
modifyArenaPoints(pts: number): void;
|
|
264
|
+
modifyHonorPoints(pts: number): void;
|
|
265
|
+
setGender(gender: Gender): void;
|
|
266
|
+
setPlayerLock(apply?: boolean): void;
|
|
267
|
+
setAtLoginFlag(flags: AtLoginFlags): void;
|
|
268
|
+
doRandomRoll(min: number, max: number): number;
|
|
269
|
+
sendCinematicStart(cinematicId: number): void;
|
|
270
|
+
sendMovieStart(movieId: number): void;
|
|
271
|
+
sendTrainerList(trainer: Creature): void;
|
|
272
|
+
sendListInventory(vendor: WorldObject, overrideEntry?: number): void;
|
|
273
|
+
sendGuildInvite(playerName: string): void;
|
|
274
|
+
sendShowMailBox(mailbox: GameObject): void;
|
|
275
|
+
areaExploredOrEventHappens(eventId: number): void;
|
|
276
|
+
groupEventHappens(questId: number, eventObject?: WorldObject): void;
|
|
277
|
+
takeEnvironmentalDamage(type: EnviromentalDamage, amount: number): number;
|
|
278
|
+
canCompleteRepeatableQuest(quest: Quest): boolean;
|
|
279
|
+
canRewardQuest(quest: Quest, msg: boolean): boolean;
|
|
280
|
+
canCompleteQuest(questId: number): boolean;
|
|
281
|
+
canTakeQuest(quest: Quest, msg: boolean): boolean;
|
|
282
|
+
canAddQuest(quest: Quest, msg: boolean): boolean;
|
|
283
|
+
addArmorProficiency(proficiency: ItemSubclassMaskArmor): void;
|
|
284
|
+
addBonusTalent(count: number): void;
|
|
285
|
+
learnTalent(id: number, rank?: number): void;
|
|
286
|
+
addWeaponProficiency(proficiency: ItemSubclassMaskWeapon): void;
|
|
287
|
+
learnPetTalent(talentId: number, talentRank: number): void;
|
|
288
|
+
resetPetTalents(): void;
|
|
289
|
+
setGlyph(glyphId: number, slot: number): void;
|
|
290
|
+
completedAchievement(achievement: AchievementEntry): void;
|
|
291
|
+
resetAchievements(): void;
|
|
292
|
+
bindToInstance(): void;
|
|
293
|
+
kickPlayer(): void;
|
|
294
|
+
runCommand(command: string): void;
|
|
295
|
+
removeFromBattlegroundRaid(): void;
|
|
296
|
+
gossipAddQuests(source: Creature | GameObject): void;
|
|
297
|
+
gossipClearMenu(): void;
|
|
298
|
+
gossipComplete(): void;
|
|
299
|
+
gossipMenuAddItem(menuItemId: number, icon: GossipOptionIcon, message: string, sender: number, action: GossipAction, boxMessage: string, boxMoney: number, coded?: boolean): void;
|
|
300
|
+
gossipSendMenuToCreature(titleTextId: number, creature: ObjectGuid): void;
|
|
301
|
+
gossipSendPOI(poiId: number): void;
|
|
302
|
+
setSkill(type: SkillType, value: number): void;
|
|
303
|
+
applyRatingMod(rating: CombatRating, value: number): void;
|
|
304
|
+
setQuestStatus(questId: number, status: QuestStatus): void;
|
|
305
|
+
removeRewardedQuest(questId: number): void;
|
|
306
|
+
rewardQuest(quest: Quest, reward?: number, questGiver?: Creature | GameObject, announce?: boolean, isLfgReward?: boolean): void;
|
|
307
|
+
removeActiveQuest(questId: number): void;
|
|
308
|
+
// get the bit index from Acore.getCharTitlesEntry(id).bitIndex
|
|
309
|
+
setKnownTitle(titleBitIndex: number): void;
|
|
310
|
+
// get the bit index from Acore.getCharTitlesEntry(id).bitIndex
|
|
311
|
+
unsetKnownTitle(titleBitIndex: number): void;
|
|
312
|
+
initTaxiNodesForLevel(): void;
|
|
313
|
+
startTaxiByTaxiPathId(taxiPathId: number, spellId?: number): boolean;
|
|
314
|
+
startTaxiByNodes(nodeIds: readonly number[], npc?: Creature, spellId?: number): boolean;
|
|
315
|
+
toggleInstantFlight(): void;
|
|
316
|
+
removeAmmo(): void;
|
|
317
|
+
setAmmo(entry: number): void;
|
|
318
|
+
spawnBones(): void;
|
|
319
|
+
gainSpellComboPoints(amount: number): void;
|
|
320
|
+
applySpellPowerBonus(amount: number, apply?: boolean): void;
|
|
321
|
+
resetTypeCooldowns(type: number): void;
|
|
322
|
+
removeArenaSpellCooldowns(): void;
|
|
323
|
+
setShowDKPet(show: boolean): void;
|
|
324
|
+
setPvPDeath(isPvPDeath: boolean): void;
|
|
325
|
+
setPlayerFlag(flag: PlayerFlags): void;
|
|
326
|
+
removePlayerFlag(flag: PlayerFlags): void;
|
|
327
|
+
getPlayerSettingValue(source: string, index: number): number;
|
|
328
|
+
// this actually consumes it from the rest bonus pool
|
|
329
|
+
getXPRestBonus(xp: number): number;
|
|
330
|
+
setBindPoint(x: number, y: number, z: number, mapId: number, areaId: number): number;
|
|
331
|
+
setFactionForRace(race: Races): void;
|
|
332
|
+
setKnownTaxiNodes(nodes: readonly number[]): void;
|
|
333
|
+
// setReputation(faction: FactionEntry, value: number): void;
|
|
334
|
+
setRestState(triggerId: number): void;
|
|
335
|
+
updatePlayerSetting(source: string, index: number, value: number): void;
|
|
336
|
+
durabilityPointLossForEquipSlot(slot: EquipmentSlots): void;
|
|
337
|
+
durabilityPointsLoss(item: Item, points: number): void;
|
|
338
|
+
sendQuestTemplate(questGiver: ObjectGuid, quest: Quest, activateAccept?: boolean): void;
|
|
339
|
+
sendTabardVendorActivate(creature: ObjectGuid): void;
|
|
340
|
+
sendUpdateWorldState(dataId: number, value: number): void;
|
|
341
|
+
removedInsignia(looter: Player): void;
|
|
342
|
+
killPlayer(): void;
|
|
343
|
+
textEmote(text: string): void;
|
|
344
|
+
removeBonusTalent(count: number): void;
|
|
154
345
|
storeNewItemInBestSlots(itemId: number, itemCount: number): boolean;
|
|
155
346
|
}
|
|
156
347
|
}
|
package/classes/Unit.d.ts
CHANGED
|
@@ -79,6 +79,7 @@ declare global {
|
|
|
79
79
|
// sometimes aka feared
|
|
80
80
|
isFleeing: boolean;
|
|
81
81
|
emoteState: Emote;
|
|
82
|
+
canFly: boolean;
|
|
82
83
|
|
|
83
84
|
getCurrentSpell(spellType?: CurrentSpellTypes): Spell | undefined;
|
|
84
85
|
isNonMeleeSpellCast(withDelayed: boolean, skipChanneled?: boolean, skipAutorepeat?: boolean, isAutoshoot?: boolean, skipInstant?: boolean): boolean;
|
|
@@ -162,11 +163,12 @@ declare global {
|
|
|
162
163
|
setWalk(enable: boolean): void;
|
|
163
164
|
setDisableGravity(disable: boolean): void;
|
|
164
165
|
setSwim(enable: boolean): void;
|
|
165
|
-
setCanFly(enable: boolean): void;
|
|
166
166
|
setWaterWalking(enable: boolean): void;
|
|
167
167
|
setFeatherFall(enable: boolean): void;
|
|
168
168
|
setHover(enable: boolean): void;
|
|
169
169
|
buildCastSpell(spell: SpellInfo): CastSpellBuilder;
|
|
170
|
+
summonPlayer(player: Player): void
|
|
171
|
+
dealDamage(target: Unit, amount: number, type?: DamageEffectType, spellSchoolMask?: SpellSchoolMask, spellInfo?: SpellInfo, durabilityLoss?: boolean, allowGm?: boolean, spell?: Spell): number;
|
|
170
172
|
}
|
|
171
173
|
}
|
|
172
174
|
}
|
package/classes/WorldObject.d.ts
CHANGED
|
@@ -33,7 +33,6 @@ declare global {
|
|
|
33
33
|
getGameObjectsInRange(range: number, entry?: number): GameObject[];
|
|
34
34
|
getUnitsInRange(range: number): Unit[];
|
|
35
35
|
getNearObjects(range: number, mask?: NearObjectsMask): WorldObject[];
|
|
36
|
-
getNearObjects(range: number, mask?: NearObjectsMask): WorldObject[];
|
|
37
36
|
sendMessageToSet(packet: WorldPacket, self: boolean): void;
|
|
38
37
|
sendMessageToSetInRange(packet: WorldPacket, range: number): void;
|
|
39
38
|
sendMessageToSetExceptPlayer(packet: WorldPacket, skippedReceiver: Player): void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare global {
|
|
2
|
+
const enum ActiveStates {
|
|
3
|
+
ACT_PASSIVE = 0x01, // 0x01 - passive
|
|
4
|
+
ACT_DISABLED = 0x81, // 0x80 - castable
|
|
5
|
+
ACT_ENABLED = 0xC1, // 0x40 | 0x80 - auto cast + castable
|
|
6
|
+
ACT_COMMAND = 0x07, // 0x01 | 0x02 | 0x04
|
|
7
|
+
ACT_REACTION = 0x06, // 0x02 | 0x04
|
|
8
|
+
ACT_DECIDE = 0x00, // custom
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare global {
|
|
2
|
+
const enum AtLoginFlags {
|
|
3
|
+
AT_LOGIN_NONE = 0x00,
|
|
4
|
+
AT_LOGIN_RENAME = 0x01,
|
|
5
|
+
AT_LOGIN_RESET_SPELLS = 0x02,
|
|
6
|
+
AT_LOGIN_RESET_TALENTS = 0x04,
|
|
7
|
+
AT_LOGIN_CUSTOMIZE = 0x08,
|
|
8
|
+
AT_LOGIN_RESET_PET_TALENTS = 0x10,
|
|
9
|
+
AT_LOGIN_FIRST = 0x20,
|
|
10
|
+
AT_LOGIN_CHANGE_FACTION = 0x40,
|
|
11
|
+
AT_LOGIN_CHANGE_RACE = 0x80,
|
|
12
|
+
AT_LOGIN_RESET_AP = 0x100,
|
|
13
|
+
AT_LOGIN_RESET_ARENA = 0x200,
|
|
14
|
+
AT_LOGIN_CHECK_ACHIEVS = 0x400,
|
|
15
|
+
AT_LOGIN_RESURRECT = 0x800,
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare global {
|
|
2
|
+
const enum CombatRating {
|
|
3
|
+
CR_WEAPON_SKILL = 0,
|
|
4
|
+
CR_DEFENSE_SKILL = 1,
|
|
5
|
+
CR_DODGE = 2,
|
|
6
|
+
CR_PARRY = 3,
|
|
7
|
+
CR_BLOCK = 4,
|
|
8
|
+
CR_HIT_MELEE = 5,
|
|
9
|
+
CR_HIT_RANGED = 6,
|
|
10
|
+
CR_HIT_SPELL = 7,
|
|
11
|
+
CR_CRIT_MELEE = 8,
|
|
12
|
+
CR_CRIT_RANGED = 9,
|
|
13
|
+
CR_CRIT_SPELL = 10,
|
|
14
|
+
CR_HIT_TAKEN_MELEE = 11,
|
|
15
|
+
CR_HIT_TAKEN_RANGED = 12,
|
|
16
|
+
CR_HIT_TAKEN_SPELL = 13,
|
|
17
|
+
CR_CRIT_TAKEN_MELEE = 14,
|
|
18
|
+
CR_CRIT_TAKEN_RANGED = 15,
|
|
19
|
+
CR_CRIT_TAKEN_SPELL = 16,
|
|
20
|
+
CR_HASTE_MELEE = 17,
|
|
21
|
+
CR_HASTE_RANGED = 18,
|
|
22
|
+
CR_HASTE_SPELL = 19,
|
|
23
|
+
CR_WEAPON_SKILL_MAINHAND = 20,
|
|
24
|
+
CR_WEAPON_SKILL_OFFHAND = 21,
|
|
25
|
+
CR_WEAPON_SKILL_RANGED = 22,
|
|
26
|
+
CR_EXPERTISE = 23,
|
|
27
|
+
CR_ARMOR_PENETRATION = 24,
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare global {
|
|
2
|
+
const enum EnviromentalDamage {
|
|
3
|
+
DAMAGE_EXHAUSTED = 0,
|
|
4
|
+
DAMAGE_DROWNING = 1,
|
|
5
|
+
DAMAGE_FALL = 2,
|
|
6
|
+
DAMAGE_LAVA = 3,
|
|
7
|
+
DAMAGE_SLIME = 4,
|
|
8
|
+
DAMAGE_FIRE = 5,
|
|
9
|
+
DAMAGE_FALL_TO_VOID = 6, // custom case for fall without durability loss
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare global {
|
|
2
|
+
const enum EquipmentSlots { // 19 slots
|
|
3
|
+
EQUIPMENT_SLOT_START = 0,
|
|
4
|
+
EQUIPMENT_SLOT_HEAD = 0,
|
|
5
|
+
EQUIPMENT_SLOT_NECK = 1,
|
|
6
|
+
EQUIPMENT_SLOT_SHOULDERS = 2,
|
|
7
|
+
EQUIPMENT_SLOT_BODY = 3,
|
|
8
|
+
EQUIPMENT_SLOT_CHEST = 4,
|
|
9
|
+
EQUIPMENT_SLOT_WAIST = 5,
|
|
10
|
+
EQUIPMENT_SLOT_LEGS = 6,
|
|
11
|
+
EQUIPMENT_SLOT_FEET = 7,
|
|
12
|
+
EQUIPMENT_SLOT_WRISTS = 8,
|
|
13
|
+
EQUIPMENT_SLOT_HANDS = 9,
|
|
14
|
+
EQUIPMENT_SLOT_FINGER1 = 10,
|
|
15
|
+
EQUIPMENT_SLOT_FINGER2 = 11,
|
|
16
|
+
EQUIPMENT_SLOT_TRINKET1 = 12,
|
|
17
|
+
EQUIPMENT_SLOT_TRINKET2 = 13,
|
|
18
|
+
EQUIPMENT_SLOT_BACK = 14,
|
|
19
|
+
EQUIPMENT_SLOT_MAINHAND = 15,
|
|
20
|
+
EQUIPMENT_SLOT_OFFHAND = 16,
|
|
21
|
+
EQUIPMENT_SLOT_RANGED = 17,
|
|
22
|
+
EQUIPMENT_SLOT_TABARD = 18,
|
|
23
|
+
EQUIPMENT_SLOT_END = 19,
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare global {
|
|
2
|
+
const enum GossipOptionIcon {
|
|
3
|
+
GOSSIP_ICON_CHAT = 0, // white chat bubble
|
|
4
|
+
GOSSIP_ICON_VENDOR = 1, // brown bag
|
|
5
|
+
GOSSIP_ICON_TAXI = 2, // flightmarker (paperplane)
|
|
6
|
+
GOSSIP_ICON_TRAINER = 3, // brown book (trainer)
|
|
7
|
+
GOSSIP_ICON_INTERACT_1 = 4, // golden interaction wheel
|
|
8
|
+
GOSSIP_ICON_INTERACT_2 = 5, // golden interaction wheel
|
|
9
|
+
GOSSIP_ICON_MONEY_BAG = 6, // brown bag (with gold coin in lower corner)
|
|
10
|
+
GOSSIP_ICON_TALK = 7, // white chat bubble (with "..." inside)
|
|
11
|
+
GOSSIP_ICON_TABARD = 8, // white tabard
|
|
12
|
+
GOSSIP_ICON_BATTLE = 9, // two crossed swords
|
|
13
|
+
GOSSIP_ICON_DOT = 10, // yellow dot/point
|
|
14
|
+
GOSSIP_ICON_CHAT_11 = 11, // white chat bubble
|
|
15
|
+
GOSSIP_ICON_CHAT_12 = 12, // white chat bubble
|
|
16
|
+
GOSSIP_ICON_CHAT_13 = 13, // white chat bubble
|
|
17
|
+
GOSSIP_ICON_UNK_14 = 14, // INVALID - DO NOT USE
|
|
18
|
+
GOSSIP_ICON_UNK_15 = 15, // INVALID - DO NOT USE
|
|
19
|
+
GOSSIP_ICON_CHAT_16 = 16, // white chat bubble
|
|
20
|
+
GOSSIP_ICON_CHAT_17 = 17, // white chat bubble
|
|
21
|
+
GOSSIP_ICON_CHAT_18 = 18, // white chat bubble
|
|
22
|
+
GOSSIP_ICON_CHAT_19 = 19, // white chat bubble
|
|
23
|
+
GOSSIP_ICON_CHAT_20 = 20, // white chat bubble
|
|
24
|
+
GOSSIP_ICON_MAX,
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare global {
|
|
2
|
+
// stored in character_pet.slot
|
|
3
|
+
const enum PetSaveMode {
|
|
4
|
+
PET_SAVE_AS_DELETED = -1, // not saved in fact
|
|
5
|
+
PET_SAVE_AS_CURRENT = 0, // in current slot (with player)
|
|
6
|
+
PET_SAVE_FIRST_STABLE_SLOT = 1,
|
|
7
|
+
PET_SAVE_LAST_STABLE_SLOT = 4, // last in DB stable slot index (including), all higher have same meaning as PET_SAVE_NOT_IN_SLOT
|
|
8
|
+
PET_SAVE_NOT_IN_SLOT = 100, // for avoid conflict with stable size grow will use 100
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
declare global {
|
|
2
|
+
const enum PlayerFlags {
|
|
3
|
+
PLAYER_FLAGS_GROUP_LEADER = 0x00000001,
|
|
4
|
+
PLAYER_FLAGS_AFK = 0x00000002,
|
|
5
|
+
PLAYER_FLAGS_DND = 0x00000004,
|
|
6
|
+
PLAYER_FLAGS_GM = 0x00000008,
|
|
7
|
+
PLAYER_FLAGS_GHOST = 0x00000010,
|
|
8
|
+
PLAYER_FLAGS_RESTING = 0x00000020,
|
|
9
|
+
PLAYER_FLAGS_UNK6 = 0x00000040,
|
|
10
|
+
PLAYER_FLAGS_UNK7 = 0x00000080, // pre-3.0.3 PLAYER_FLAGS_FFA_PVP flag for FFA PVP state
|
|
11
|
+
PLAYER_FLAGS_CONTESTED_PVP = 0x00000100, // Player has been involved in a PvP combat and will be attacked by contested guards
|
|
12
|
+
PLAYER_FLAGS_IN_PVP = 0x00000200,
|
|
13
|
+
PLAYER_FLAGS_HIDE_HELM = 0x00000400,
|
|
14
|
+
PLAYER_FLAGS_HIDE_CLOAK = 0x00000800,
|
|
15
|
+
PLAYER_FLAGS_PARTIAL_PLAY_TIME = 0x00001000, // played long time
|
|
16
|
+
PLAYER_FLAGS_NO_PLAY_TIME = 0x00002000, // played too long time
|
|
17
|
+
PLAYER_FLAGS_IS_OUT_OF_BOUNDS = 0x00004000,
|
|
18
|
+
PLAYER_FLAGS_DEVELOPER = 0x00008000, // <Dev> prefix for something?
|
|
19
|
+
PLAYER_FLAGS_UNK16 = 0x00010000, // pre-3.0.3 PLAYER_FLAGS_SANCTUARY flag for player entered sanctuary
|
|
20
|
+
PLAYER_FLAGS_TAXI_BENCHMARK = 0x00020000, // taxi benchmark mode (on/off) (2.0.1)
|
|
21
|
+
PLAYER_FLAGS_PVP_TIMER = 0x00040000, // 3.0.2, pvp timer active (after you disable pvp manually)
|
|
22
|
+
PLAYER_FLAGS_UBER = 0x00080000,
|
|
23
|
+
PLAYER_FLAGS_UNK20 = 0x00100000,
|
|
24
|
+
PLAYER_FLAGS_UNK21 = 0x00200000,
|
|
25
|
+
PLAYER_FLAGS_COMMENTATOR2 = 0x00400000,
|
|
26
|
+
PLAYER_ALLOW_ONLY_ABILITY = 0x00800000, // used by bladestorm and killing spree, allowed only spells with SPELL_ATTR0_USES_RANGED_SLOT, SPELL_EFFECT_ATTACK, checked only for active player
|
|
27
|
+
PLAYER_FLAGS_UNK24 = 0x01000000, // disabled all melee ability on tab include autoattack
|
|
28
|
+
PLAYER_FLAGS_NO_XP_GAIN = 0x02000000,
|
|
29
|
+
PLAYER_FLAGS_UNK26 = 0x04000000,
|
|
30
|
+
PLAYER_FLAGS_UNK27 = 0x08000000,
|
|
31
|
+
PLAYER_FLAGS_UNK28 = 0x10000000,
|
|
32
|
+
PLAYER_FLAGS_UNK29 = 0x20000000,
|
|
33
|
+
PLAYER_FLAGS_UNK30 = 0x40000000,
|
|
34
|
+
PLAYER_FLAGS_UNK31 = 0x80000000,
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
export {};
|
package/enums/index.d.ts
CHANGED
|
@@ -2,8 +2,10 @@ export type * from './AccountFlags.d.ts';
|
|
|
2
2
|
export type * from './AccountTypes.d.ts';
|
|
3
3
|
export type * from './AchievementFlags.d.ts';
|
|
4
4
|
export type * from './AcoreStrings.d.ts';
|
|
5
|
+
export type * from './ActiveStates.d.ts';
|
|
5
6
|
export type * from './ArenaTeamInfoType.d.ts';
|
|
6
7
|
export type * from './ArenaType.d.ts';
|
|
8
|
+
export type * from './AtLoginFlags.d.ts';
|
|
7
9
|
export type * from './AuctionHouseId.d.ts';
|
|
8
10
|
export type * from './AURA_FLAGS.d.ts';
|
|
9
11
|
export type * from './AuraRemoveMode.d.ts';
|
|
@@ -17,6 +19,7 @@ export type * from './CharterTypes.d.ts';
|
|
|
17
19
|
export type * from './ChatMsg.d.ts';
|
|
18
20
|
export type * from './ClassContext.d.ts';
|
|
19
21
|
export type * from './Classes.d.ts';
|
|
22
|
+
export type * from './CombatRating.d.ts';
|
|
20
23
|
export type * from './ConditionSourceType.d.ts';
|
|
21
24
|
export type * from './ConditionTypes.d.ts';
|
|
22
25
|
export type * from './CorpseType.d.ts';
|
|
@@ -39,11 +42,14 @@ export type * from './Difficulty.d.ts';
|
|
|
39
42
|
export type * from './DispelType.d.ts';
|
|
40
43
|
export type * from './DuelCompleteType.d.ts';
|
|
41
44
|
export type * from './Emote.d.ts';
|
|
45
|
+
export type * from './EnvironmentalDamage.d.ts';
|
|
46
|
+
export type * from './EquipmentSlots.d.ts';
|
|
42
47
|
export type * from './EvadeReason.d.ts';
|
|
43
48
|
export type * from './Expansions.d.ts';
|
|
44
49
|
export type * from './Gender.d.ts';
|
|
45
50
|
export type * from './GMTicketEscalationStatus.d.ts';
|
|
46
51
|
export type * from './GossipAction.d.ts';
|
|
52
|
+
export type * from './GossipOptionIcon.d.ts';
|
|
47
53
|
export type * from './GossipSender.d.ts';
|
|
48
54
|
export type * from './GOState.d.ts';
|
|
49
55
|
export type * from './GroupJoinBattlegroundResult.d.ts';
|
|
@@ -53,6 +59,7 @@ export type * from './GuildBankEventLogTypes.d.ts';
|
|
|
53
59
|
export type * from './GuildDefaultRanks.d.ts';
|
|
54
60
|
export type * from './GuildEventLogTypes.d.ts';
|
|
55
61
|
export type * from './GuildMemberFlags.d.ts';
|
|
62
|
+
export type * from './HappinessState.d.ts';
|
|
56
63
|
export type * from './HighGuid.d.ts';
|
|
57
64
|
export type * from './HolidayIds.d.ts';
|
|
58
65
|
export type * from './InventoryResult.d.ts';
|
|
@@ -91,7 +98,7 @@ export type * from './LootModes.d.ts';
|
|
|
91
98
|
export type * from './LootState.d.ts';
|
|
92
99
|
export type * from './LootStoreType.d.ts';
|
|
93
100
|
export type * from './LootType.d.ts';
|
|
94
|
-
export type * from './
|
|
101
|
+
export type * from './MailCheckMask.d.ts';
|
|
95
102
|
export type * from './MailMessageType.d.ts';
|
|
96
103
|
export type * from './MailStationery.d.ts';
|
|
97
104
|
export type * from './Mechanics.d.ts';
|
|
@@ -102,9 +109,12 @@ export type * from './NPCFlags.d.ts';
|
|
|
102
109
|
export type * from './OBJECT_UPDATE_TYPE.d.ts';
|
|
103
110
|
export type * from './OnlineState.d.ts';
|
|
104
111
|
export type * from './PetDiet.d.ts';
|
|
112
|
+
export type * from './PetSaveMode.d.ts';
|
|
105
113
|
export type * from './PetSpellState.d.ts';
|
|
114
|
+
export type * from './PetSpellType.d.ts';
|
|
106
115
|
export type * from './PetType.d.ts';
|
|
107
116
|
export type * from './PlayerChatTag.d.ts';
|
|
117
|
+
export type * from './PlayerFlags.d.ts';
|
|
108
118
|
export type * from './PlayerXPSource.d.ts';
|
|
109
119
|
export type * from './Powers.d.ts';
|
|
110
120
|
export type * from './ProcFlags.d.ts';
|
package/package.json
CHANGED
package/records/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export type * from './AchievementEntry.d.ts';
|
|
2
2
|
export type * from './BattlegroundScore.d.ts';
|
|
3
3
|
export type * from './Box.d.ts';
|
|
4
|
+
export type * from './CharTitlesEntry.d.ts';
|
|
4
5
|
export type * from './ChaseAngle.d.ts';
|
|
5
6
|
export type * from './ChaseRange.d.ts';
|
|
6
7
|
export type * from './CreatureModel.d.ts';
|
|
@@ -16,6 +17,7 @@ export type * from './ItemStat.d.ts';
|
|
|
16
17
|
export type * from './LootItem.d.ts';
|
|
17
18
|
export type * from './ObjectGuid.d.ts';
|
|
18
19
|
export type * from './PetInfo.d.ts';
|
|
20
|
+
export type * from './PetSpell.d.ts';
|
|
19
21
|
export type * from './Position.d.ts';
|
|
20
22
|
export type * from './PvPDifficultyEntry.d.ts';
|
|
21
23
|
export type * from './SpellCastTimesEntry.d.ts';
|