@airbreather/mod-nodejs-types 0.0.1

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.
Files changed (285) hide show
  1. package/acore.d.ts +35 -0
  2. package/classes/ACMap.d.ts +29 -0
  3. package/classes/ACObject.d.ts +33 -0
  4. package/classes/Auction.d.ts +39 -0
  5. package/classes/AuctionHouse.d.ts +18 -0
  6. package/classes/Aura.d.ts +25 -0
  7. package/classes/AuraApplication.d.ts +21 -0
  8. package/classes/AuraEffect.d.ts +45 -0
  9. package/classes/Battleground.d.ts +16 -0
  10. package/classes/BattlegroundQueue.d.ts +12 -0
  11. package/classes/ByteBuffer.d.ts +34 -0
  12. package/classes/CastSpellBuilder.d.ts +41 -0
  13. package/classes/ChatCommandBuilder.d.ts +13 -0
  14. package/classes/ChatHandler.d.ts +23 -0
  15. package/classes/Condition.d.ts +29 -0
  16. package/classes/ConditionSourceInfo.d.ts +15 -0
  17. package/classes/Config.d.ts +22 -0
  18. package/classes/Corpse.d.ts +14 -0
  19. package/classes/Creature.d.ts +82 -0
  20. package/classes/CreatureTemplate.d.ts +73 -0
  21. package/classes/DynamicObject.d.ts +23 -0
  22. package/classes/Field.d.ts +23 -0
  23. package/classes/GameObject.d.ts +36 -0
  24. package/classes/GmTicket.d.ts +24 -0
  25. package/classes/Group.d.ts +28 -0
  26. package/classes/Guardian.d.ts +7 -0
  27. package/classes/Guild.d.ts +28 -0
  28. package/classes/GuildMember.d.ts +25 -0
  29. package/classes/Item.d.ts +41 -0
  30. package/classes/ItemTemplate.d.ts +123 -0
  31. package/classes/Loot.d.ts +29 -0
  32. package/classes/LootStore.d.ts +16 -0
  33. package/classes/LootTemplate.d.ts +8 -0
  34. package/classes/MailDraft.d.ts +15 -0
  35. package/classes/MailSender.d.ts +24 -0
  36. package/classes/Minion.d.ts +12 -0
  37. package/classes/Pet.d.ts +18 -0
  38. package/classes/Player.d.ts +156 -0
  39. package/classes/QueryResult.d.ts +14 -0
  40. package/classes/Quest.d.ts +21 -0
  41. package/classes/Roll.d.ts +14 -0
  42. package/classes/Spell.d.ts +18 -0
  43. package/classes/SpellChainNode.d.ts +7 -0
  44. package/classes/SpellEffectInfo.d.ts +50 -0
  45. package/classes/SpellImplicitTargetInfo.d.ts +15 -0
  46. package/classes/SpellInfo.d.ts +200 -0
  47. package/classes/TempSummon.d.ts +15 -0
  48. package/classes/ThreatReference.d.ts +24 -0
  49. package/classes/Transport.d.ts +13 -0
  50. package/classes/Unit.d.ts +173 -0
  51. package/classes/Vehicle.d.ts +15 -0
  52. package/classes/WorldObject.d.ts +51 -0
  53. package/classes/WorldPacket.d.ts +8 -0
  54. package/classes/index.d.ts +52 -0
  55. package/enums/AURA_FLAGS.d.ts +20 -0
  56. package/enums/AccountFlags.d.ts +39 -0
  57. package/enums/AccountTypes.d.ts +10 -0
  58. package/enums/AchievementFlags.d.ts +15 -0
  59. package/enums/AcoreStrings.d.ts +1507 -0
  60. package/enums/ArenaTeamInfoType.d.ts +14 -0
  61. package/enums/ArenaType.d.ts +9 -0
  62. package/enums/AuctionHouseId.d.ts +8 -0
  63. package/enums/AuraRemoveMode.d.ts +11 -0
  64. package/enums/AuraStateType.d.ts +33 -0
  65. package/enums/AuraType.d.ts +323 -0
  66. package/enums/BAG_FAMILY_MASK.d.ts +21 -0
  67. package/enums/BattlegroundDesertionType.d.ts +14 -0
  68. package/enums/BattlegroundQueueGroupTypes.d.ts +13 -0
  69. package/enums/BattlegroundTypeId.d.ts +20 -0
  70. package/enums/CharterTypes.d.ts +9 -0
  71. package/enums/ChatMsg.d.ts +58 -0
  72. package/enums/ClassContext.d.ts +24 -0
  73. package/enums/Classes.d.ts +18 -0
  74. package/enums/ConditionSourceType.d.ts +37 -0
  75. package/enums/ConditionTypes.d.ts +67 -0
  76. package/enums/CorpseType.d.ts +8 -0
  77. package/enums/CreatureChaseMovementType.d.ts +10 -0
  78. package/enums/CreatureClasses.d.ts +11 -0
  79. package/enums/CreatureEliteType.d.ts +11 -0
  80. package/enums/CreatureFamily.d.ts +47 -0
  81. package/enums/CreatureFlagsExtra.d.ts +40 -0
  82. package/enums/CreatureFlightMovementType.d.ts +10 -0
  83. package/enums/CreatureGroundMovementType.d.ts +10 -0
  84. package/enums/CreatureRandomMovementType.d.ts +10 -0
  85. package/enums/CreatureType.d.ts +35 -0
  86. package/enums/CreatureTypeFlags.d.ts +37 -0
  87. package/enums/CurrentSpellTypes.d.ts +9 -0
  88. package/enums/DamageEffectType.d.ts +11 -0
  89. package/enums/DatabaseFieldTypes.d.ts +15 -0
  90. package/enums/Db.d.ts +9 -0
  91. package/enums/DeathState.d.ts +10 -0
  92. package/enums/Difficulty.d.ts +15 -0
  93. package/enums/DispelType.d.ts +34 -0
  94. package/enums/DuelCompleteType.d.ts +8 -0
  95. package/enums/Emote.d.ts +181 -0
  96. package/enums/EnchantmentSlot.d.ts +21 -0
  97. package/enums/EvadeReason.d.ts +10 -0
  98. package/enums/Expansions.d.ts +9 -0
  99. package/enums/GMTicketEscalationStatus.d.ts +14 -0
  100. package/enums/GOState.d.ts +9 -0
  101. package/enums/Gender.d.ts +8 -0
  102. package/enums/GossipAction.d.ts +18 -0
  103. package/enums/GossipSender.d.ts +15 -0
  104. package/enums/GroupJoinBattlegroundResult.d.ts +22 -0
  105. package/enums/GroupMemberFlags.d.ts +8 -0
  106. package/enums/GroupType.d.ts +14 -0
  107. package/enums/GuildBankEventLogTypes.d.ts +14 -0
  108. package/enums/GuildDefaultRanks.d.ts +13 -0
  109. package/enums/GuildEventLogTypes.d.ts +11 -0
  110. package/enums/GuildMemberFlags.d.ts +10 -0
  111. package/enums/HighGuid.d.ts +18 -0
  112. package/enums/HolidayIds.d.ts +34 -0
  113. package/enums/InventoryResult.d.ts +94 -0
  114. package/enums/InventoryType.d.ts +66 -0
  115. package/enums/ItemBondingType.d.ts +11 -0
  116. package/enums/ItemClass.d.ts +22 -0
  117. package/enums/ItemFlags.d.ts +37 -0
  118. package/enums/ItemFlags2.d.ts +37 -0
  119. package/enums/ItemFlagsCustom.d.ts +8 -0
  120. package/enums/ItemModType.d.ts +49 -0
  121. package/enums/ItemQualities.d.ts +13 -0
  122. package/enums/ItemSpelltriggerType.d.ts +17 -0
  123. package/enums/ItemSubclass.d.ts +42 -0
  124. package/enums/ItemSubclassArmor.d.ts +30 -0
  125. package/enums/ItemSubclassConsumable.d.ts +26 -0
  126. package/enums/ItemSubclassContainer.d.ts +26 -0
  127. package/enums/ItemSubclassGem.d.ts +26 -0
  128. package/enums/ItemSubclassGeneric.d.ts +10 -0
  129. package/enums/ItemSubclassGlyph.d.ts +28 -0
  130. package/enums/ItemSubclassJunk.d.ts +20 -0
  131. package/enums/ItemSubclassKey.d.ts +12 -0
  132. package/enums/ItemSubclassMoney.d.ts +10 -0
  133. package/enums/ItemSubclassPermanent.d.ts +10 -0
  134. package/enums/ItemSubclassProjectile.d.ts +18 -0
  135. package/enums/ItemSubclassQuest.d.ts +10 -0
  136. package/enums/ItemSubclassQuiver.d.ts +16 -0
  137. package/enums/ItemSubclassReagent.d.ts +10 -0
  138. package/enums/ItemSubclassRecipe.d.ts +30 -0
  139. package/enums/ItemSubclassTradeGoods.d.ts +40 -0
  140. package/enums/ItemSubclassWeapon.d.ts +50 -0
  141. package/enums/Language.d.ts +24 -0
  142. package/enums/LfgRoles.d.ts +10 -0
  143. package/enums/LocaleConstant.d.ts +14 -0
  144. package/enums/LogLevel.d.ts +12 -0
  145. package/enums/LootModes.d.ts +12 -0
  146. package/enums/LootState.d.ts +13 -0
  147. package/enums/LootStoreType.d.ts +19 -0
  148. package/enums/LootType.d.ts +19 -0
  149. package/enums/MailCheckedMask.d.ts +11 -0
  150. package/enums/MailMessageType.d.ts +10 -0
  151. package/enums/MailStationery.d.ts +13 -0
  152. package/enums/Mechanics.d.ts +44 -0
  153. package/enums/MovementGeneratorType.d.ts +27 -0
  154. package/enums/MovementSlot.d.ts +8 -0
  155. package/enums/NPCFlags.d.ts +35 -0
  156. package/enums/NearObjectsMask.d.ts +9 -0
  157. package/enums/OBJECT_UPDATE_TYPE.d.ts +11 -0
  158. package/enums/OnlineState.d.ts +8 -0
  159. package/enums/PetDiet.d.ts +14 -0
  160. package/enums/PetSpellState.d.ts +9 -0
  161. package/enums/PetType.d.ts +8 -0
  162. package/enums/PlayerChatTag.d.ts +11 -0
  163. package/enums/PlayerXPSource.d.ts +11 -0
  164. package/enums/Powers.d.ts +15 -0
  165. package/enums/ProcFlags.d.ts +93 -0
  166. package/enums/ProcFlagsHit.d.ts +21 -0
  167. package/enums/QuestStatus.d.ts +12 -0
  168. package/enums/QuestTypes.d.ts +17 -0
  169. package/enums/Races.d.ts +28 -0
  170. package/enums/ReactStates.d.ts +8 -0
  171. package/enums/RemoveMethod.d.ts +9 -0
  172. package/enums/ReputationRank.d.ts +13 -0
  173. package/enums/ReputationSource.d.ts +12 -0
  174. package/enums/RollMask.d.ts +12 -0
  175. package/enums/RollVote.d.ts +11 -0
  176. package/enums/ServerSideVisibilityType.d.ts +9 -0
  177. package/enums/ShapeshiftForm.d.ts +37 -0
  178. package/enums/SheathState.d.ts +9 -0
  179. package/enums/ShutdownMask.d.ts +8 -0
  180. package/enums/SkillType.d.ts +157 -0
  181. package/enums/SocketColor.d.ts +9 -0
  182. package/enums/SpellAttributes.d.ts +317 -0
  183. package/enums/SpellAuraInterruptFlags.d.ts +36 -0
  184. package/enums/SpellCastResult.d.ts +195 -0
  185. package/enums/SpellCastTargetFlags.d.ts +33 -0
  186. package/enums/SpellCategoryFlags.d.ts +7 -0
  187. package/enums/SpellDmgClass.d.ts +9 -0
  188. package/enums/SpellEffIndex.d.ts +14 -0
  189. package/enums/SpellEffectImplicitTargetTypes.d.ts +8 -0
  190. package/enums/SpellEffects.d.ts +170 -0
  191. package/enums/SpellFacingFlags.d.ts +6 -0
  192. package/enums/SpellFamilyFlag.d.ts +46 -0
  193. package/enums/SpellFamilyNames.d.ts +23 -0
  194. package/enums/SpellImmuneBlockType.d.ts +7 -0
  195. package/enums/SpellImmunity.d.ts +17 -0
  196. package/enums/SpellInterruptFlags.d.ts +11 -0
  197. package/enums/SpellModOp.d.ts +36 -0
  198. package/enums/SpellModType.d.ts +8 -0
  199. package/enums/SpellPreventionType.d.ts +8 -0
  200. package/enums/SpellRangeFlag.d.ts +8 -0
  201. package/enums/SpellSchoolMask.d.ts +25 -0
  202. package/enums/SpellSchools.d.ts +12 -0
  203. package/enums/SpellSpecificType.d.ts +28 -0
  204. package/enums/SpellTargetCheckTypes.d.ts +14 -0
  205. package/enums/SpellTargetDirectionTypes.d.ts +16 -0
  206. package/enums/SpellTargetObjectTypes.d.ts +17 -0
  207. package/enums/SpellTargetReferenceTypes.d.ts +11 -0
  208. package/enums/SpellTargetSelectionCategories.d.ts +12 -0
  209. package/enums/SpellValueMod.d.ts +16 -0
  210. package/enums/Stats.d.ts +10 -0
  211. package/enums/SummonCategory.d.ts +12 -0
  212. package/enums/SummonPropFlags.d.ts +23 -0
  213. package/enums/SummonType.d.ts +18 -0
  214. package/enums/TargetIcon.d.ts +14 -0
  215. package/enums/Targets.d.ts +112 -0
  216. package/enums/TauntState.d.ts +8 -0
  217. package/enums/TeamId.d.ts +8 -0
  218. package/enums/TeleportToOptions.d.ts +13 -0
  219. package/enums/TempSummonType.d.ts +15 -0
  220. package/enums/TextEmote.d.ts +258 -0
  221. package/enums/TriggerCastFlags.d.ts +27 -0
  222. package/enums/TypeId.d.ts +13 -0
  223. package/enums/UnitDynFlags.d.ts +14 -0
  224. package/enums/UnitFlags.d.ts +38 -0
  225. package/enums/UnitFlags2.d.ts +25 -0
  226. package/enums/UnitModifierFlatType.d.ts +8 -0
  227. package/enums/UnitModifierPctType.d.ts +8 -0
  228. package/enums/UnitMods.d.ts +38 -0
  229. package/enums/UnitMoveType.d.ts +14 -0
  230. package/enums/UnitStandStateType.d.ts +16 -0
  231. package/enums/UnitState.d.ts +60 -0
  232. package/enums/WeaponAttackType.d.ts +8 -0
  233. package/enums/index.d.ts +177 -0
  234. package/hooks/account.d.ts +19 -0
  235. package/hooks/auction.d.ts +67 -0
  236. package/hooks/battleground-queue.d.ts +88 -0
  237. package/hooks/battleground.d.ts +33 -0
  238. package/hooks/creature.d.ts +58 -0
  239. package/hooks/game-object.d.ts +68 -0
  240. package/hooks/group.d.ts +39 -0
  241. package/hooks/guild.d.ts +138 -0
  242. package/hooks/index.d.ts +20 -0
  243. package/hooks/item.d.ts +40 -0
  244. package/hooks/loot.d.ts +9 -0
  245. package/hooks/map.d.ts +30 -0
  246. package/hooks/misc.d.ts +54 -0
  247. package/hooks/nodejs.d.ts +7 -0
  248. package/hooks/pet.d.ts +30 -0
  249. package/hooks/player.d.ts +966 -0
  250. package/hooks/spell.d.ts +82 -0
  251. package/hooks/ticket.d.ts +10 -0
  252. package/hooks/unit.d.ts +116 -0
  253. package/hooks/vehicle.d.ts +21 -0
  254. package/hooks/world-object.d.ts +16 -0
  255. package/hooks/world.d.ts +7 -0
  256. package/package.json +37 -0
  257. package/records/AchievementEntry.d.ts +14 -0
  258. package/records/BattlegroundScore.d.ts +58 -0
  259. package/records/Box.d.ts +6 -0
  260. package/records/ChaseAngle.d.ts +7 -0
  261. package/records/ChaseRange.d.ts +8 -0
  262. package/records/CreatureModel.d.ts +8 -0
  263. package/records/CreatureMovementData.d.ts +12 -0
  264. package/records/GlyphPropertiesEntry.d.ts +9 -0
  265. package/records/GroupMember.d.ts +9 -0
  266. package/records/GroupQueueInfo.d.ts +22 -0
  267. package/records/Homebind.d.ts +10 -0
  268. package/records/ImmunityInfo.d.ts +12 -0
  269. package/records/ItemDamage.d.ts +8 -0
  270. package/records/ItemSocket.d.ts +7 -0
  271. package/records/ItemSpell.d.ts +12 -0
  272. package/records/ItemStat.d.ts +7 -0
  273. package/records/LootItem.d.ts +12 -0
  274. package/records/ObjectGuid.d.ts +10 -0
  275. package/records/PetInfo.d.ts +20 -0
  276. package/records/Position.d.ts +9 -0
  277. package/records/PvPDifficultyEntry.d.ts +10 -0
  278. package/records/SpellCastTimesEntry.d.ts +7 -0
  279. package/records/SpellCategoryEntry.d.ts +7 -0
  280. package/records/SpellDurationEntry.d.ts +7 -0
  281. package/records/SpellModifier.d.ts +11 -0
  282. package/records/SpellRadiusEntry.d.ts +9 -0
  283. package/records/SpellRangeEntry.d.ts +11 -0
  284. package/records/SummonPropertiesEntry.d.ts +11 -0
  285. package/records/index.d.ts +27 -0
@@ -0,0 +1,20 @@
1
+ declare global {
2
+ const enum AURA_FLAGS {
3
+ AFLAG_NONE = 0x00,
4
+ AFLAG_EFF_INDEX_0 = 0x01,
5
+ AFLAG_EFF_INDEX_1 = 0x02,
6
+ AFLAG_EFF_INDEX_2 = 0x04,
7
+ AFLAG_CASTER = 0x08,
8
+ AFLAG_POSITIVE = 0x10,
9
+ AFLAG_DURATION = 0x20,
10
+ AFLAG_ANY_EFFECT_AMOUNT_SENT = 0x40, // used with AFLAG_EFF_INDEX_0/1/2
11
+ AFLAG_NEGATIVE = 0x80,
12
+ }
13
+ // mod-nodejs invention
14
+ const enum AURA_FLAGS_ONLY_EFFECTS {
15
+ AFLAG_EFF_INDEX_0 = AURA_FLAGS.AFLAG_EFF_INDEX_0,
16
+ AFLAG_EFF_INDEX_1 = AURA_FLAGS.AFLAG_EFF_INDEX_1,
17
+ AFLAG_EFF_INDEX_2 = AURA_FLAGS.AFLAG_EFF_INDEX_2,
18
+ }
19
+ }
20
+ export {};
@@ -0,0 +1,39 @@
1
+ declare global {
2
+ const enum AccountFlag {
3
+ ACCOUNT_FLAG_GM = 0x1, // Account is GM
4
+ ACCOUNT_FLAG_NOKICK = 0x2, // Will not be logged out while AFK
5
+ ACCOUNT_FLAG_COLLECTOR = 0x4, // NYI Collector's Edition
6
+ ACCOUNT_FLAG_TRIAL = 0x8, // Trial account
7
+ ACCOUNT_FLAG_CANCELLED = 0x10, // NYI UNK
8
+ ACCOUNT_FLAG_IGR = 0x20, // NYI Internet Game Room (Internet cafe?)
9
+ ACCOUNT_FLAG_WHOLESALER = 0x40, // NYI UNK
10
+ ACCOUNT_FLAG_PRIVILEGED = 0x80, // NYI UNK
11
+ ACCOUNT_FLAG_EU_FORBID_ELV = 0x100, // NYI UNK
12
+ ACCOUNT_FLAG_EU_FORBID_BILLING = 0x200, // NYI UNK
13
+ ACCOUNT_FLAG_RESTRICTED = 0x400, // NYI UNK
14
+ ACCOUNT_FLAG_REFERRAL = 0x800, // NYI Recruit-A-Friend, either referer or referee
15
+ ACCOUNT_FLAG_BLIZZARD = 0x1000, // NYI UNK
16
+ ACCOUNT_FLAG_RECURRING_BILLING = 0x2000, // NYI UNK
17
+ ACCOUNT_FLAG_NOELECTUP = 0x4000, // NYI UNK
18
+ ACCOUNT_FLAG_KR_CERTIFICATE = 0x8000, // NYI Korean certificate?
19
+ ACCOUNT_FLAG_EXPANSION_COLLECTOR = 0x10000, // NYI TBC Collector's Edition
20
+ ACCOUNT_FLAG_DISABLE_VOICE = 0x20000, // NYI Can't join voice chat
21
+ ACCOUNT_FLAG_DISABLE_VOICE_SPEAK = 0x40000, // NYI Can't speak in voice chat
22
+ ACCOUNT_FLAG_REFERRAL_RESURRECT = 0x80000, // NYI Scroll of Resurrection
23
+ ACCOUNT_FLAG_EU_FORBID_CC = 0x100000, // NYI UNK
24
+ ACCOUNT_FLAG_OPENBETA_DELL = 0x200000, // NYI https://wowpedia.fandom.com/wiki/Dell_XPS_M1730_World_of_Warcraft_Edition
25
+ ACCOUNT_FLAG_PROPASS = 0x400000, // NYI UNK
26
+ ACCOUNT_FLAG_PROPASS_LOCK = 0x800000, // NYI Pro pass (arena tournament)
27
+ ACCOUNT_FLAG_PENDING_UPGRADE = 0x1000000, // NYI UNK
28
+ ACCOUNT_FLAG_RETAIL_FROM_TRIAL = 0x2000000, // NYI UNK
29
+ ACCOUNT_FLAG_EXPANSION2_COLLECTOR = 0x4000000, // NYI WotLK Collector's Edition
30
+ ACCOUNT_FLAG_OVERMIND_LINKED = 0x8000000, // NYI Linked with Battle.net account
31
+ ACCOUNT_FLAG_DEMOS = 0x10000000, // NYI UNK
32
+ ACCOUNT_FLAG_DEATH_KNIGHT_OK = 0x20000000, // Allowed to create Death Knight (account met heroic level requirement on WotLK+)
33
+ // Below might be StarCraft II related
34
+ ACCOUNT_FLAG_S2_REQUIRE_IGR = 0x40000000, // NYI UNK
35
+ ACCOUNT_FLAG_S2_TRIAL = 0x80000000, // NYI UNK
36
+ // ACCOUNT_FLAG_S2_RESTRICTED = 0xFFFFFFFF, // NYI UNK
37
+ }
38
+ }
39
+ export {};
@@ -0,0 +1,10 @@
1
+ declare global {
2
+ const enum AccountTypes {
3
+ SEC_PLAYER = 0,
4
+ SEC_MODERATOR = 1,
5
+ SEC_GAMEMASTER = 2,
6
+ SEC_ADMINISTRATOR = 3,
7
+ SEC_CONSOLE = 4, // must be always last in list, accounts must have less security level always also
8
+ }
9
+ }
10
+ export {};
@@ -0,0 +1,15 @@
1
+ declare global {
2
+ const enum AchievementFlags {
3
+ ACHIEVEMENT_FLAG_COUNTER = 0x00000001, // Just count statistic (never stop and complete)
4
+ ACHIEVEMENT_FLAG_HIDDEN = 0x00000002, // Not sent to client - internal use only
5
+ ACHIEVEMENT_FLAG_STORE_MAX_VALUE = 0x00000004, // Store only max value? used only in "Reach level xx"
6
+ ACHIEVEMENT_FLAG_SUMM = 0x00000008, // Use summ criteria value from all reqirements (and calculate max value)
7
+ ACHIEVEMENT_FLAG_MAX_USED = 0x00000010, // Show max criteria (and calculate max value ??)
8
+ ACHIEVEMENT_FLAG_REQ_COUNT = 0x00000020, // Use not zero req count (and calculate max value)
9
+ ACHIEVEMENT_FLAG_AVERAGE = 0x00000040, // Show as average value (value / time_in_days) depend from other flag (by def use last criteria value)
10
+ ACHIEVEMENT_FLAG_BAR = 0x00000080, // Show as progress bar (value / max vale) depend from other flag (by def use last criteria value)
11
+ ACHIEVEMENT_FLAG_REALM_FIRST_REACH = 0x00000100, //
12
+ ACHIEVEMENT_FLAG_REALM_FIRST_KILL = 0x00000200, //
13
+ }
14
+ }
15
+ export {};