Skip to content

Instantly share code, notes, and snippets.

@ark120202
Created October 29, 2020 19:46
Show Gist options
  • Save ark120202/a1248c6ca44557d4dfb8a46d46659685 to your computer and use it in GitHub Desktop.
Save ark120202/a1248c6ca44557d4dfb8a46d46659685 to your computer and use it in GitHub Desktop.
October 29, 2020 Dota 2 Update
@@ -11,18 +11,6 @@ declare interface CBaseAnimating extends CBaseModelEntity {
* Returns the duration in seconds of the active sequence.
*/
ActiveSequenceDuration(): number;
- /**
- * Get the attachment id's angles as a p,y,r vector.
- */
- GetAttachmentAngles(attachment: number): Vector;
- /**
- * Get the attachment id's forward vector.
- */
- GetAttachmentForward(attachment: number): Vector;
- /**
- * Get the attachment id's origin vector.
- */
- GetAttachmentOrigin(attachment: number): Vector;
/**
* Get the cycle of the animation.
*/
@@ -31,10 +19,6 @@ declare interface CBaseAnimating extends CBaseModelEntity {
* Get the value of the given animGraph parameter.
*/
GetGraphParameter(param: string): object;
- /**
- * Get scale of entity's model.
- */
- GetModelScale(): number;
/**
* Returns the name of the active sequence.
*/
@@ -47,10 +31,6 @@ declare interface CBaseAnimating extends CBaseModelEntity {
* Sets the active sequence by name, resetting the current cycle.
*/
ResetSequence(sequenceName: string): void;
- /**
- * Get the named attachment id.
- */
- ScriptLookupAttachment(attachmentName: string): number;
/**
* Returns the duration in seconds of the given sequence name.
*/
@@ -87,10 +67,6 @@ declare interface CBaseAnimating extends CBaseModelEntity {
* Pass the vector value to the specified param in the graph.
*/
SetGraphParameterVector(name: string, value: Vector): void;
- /**
- * Set scale of entity's model.
- */
- SetModelScale(scale: number): void;
/**
* Set the specified pose parameter to the specified value.
*/
@@ -116,18 +92,10 @@ declare interface CBaseCombatCharacter extends CBaseFlex {
* Returns an array of all the equipped weapons.
*/
GetEquippedWeapons(): object;
- /**
- * Get the combat character faction.
- */
- GetFaction(): number;
/**
* Gets the number of weapons currently equipped.
*/
GetWeaponCount(): number;
- /**
- * Returns the shoot position eyes (or hand in VR).
- */
- ShootPosition(hand: number, muzzle: number): Vector;
__kind__: 'instance';
}
@@ -266,6 +234,8 @@ declare interface CBaseEntity extends CEntityInstance {
GetMass(): number;
/**
* Get the maximum health of this entity.
+ *
+ * @both
*/
GetMaxHealth(): number;
/**
@@ -525,6 +495,18 @@ declare const CBaseModelEntity: DotaConstructor<CBaseModelEntity>;
declare const C_BaseModelEntity: typeof CBaseModelEntity;
declare interface CBaseModelEntity extends CBaseEntity {
+ /**
+ * Get the attachment id's angles as a p,y,r vector.
+ */
+ GetAttachmentAngles(attachment: number): Vector;
+ /**
+ * Get the attachment id's forward vector.
+ */
+ GetAttachmentForward(attachment: number): Vector;
+ /**
+ * Get the attachment id's origin vector.
+ */
+ GetAttachmentOrigin(attachment: number): Vector;
/**
* Get the material group hash of this entity.
*/
@@ -533,6 +515,10 @@ declare interface CBaseModelEntity extends CBaseEntity {
* Get the mesh group mask of this entity.
*/
GetMaterialGroupMask(): Uint64;
+ /**
+ * Get scale of entity's model.
+ */
+ GetModelScale(): number;
/**
* Get the alpha modulation of this entity.
*
@@ -543,6 +529,10 @@ declare interface CBaseModelEntity extends CBaseEntity {
* Get the render color of the entity.
*/
GetRenderColor(): Vector;
+ /**
+ * Get the named attachment id.
+ */
+ ScriptLookupAttachment(attachmentName: string): number;
/**
* Sets a bodygroup.
*/
@@ -568,6 +558,10 @@ declare interface CBaseModelEntity extends CBaseEntity {
*/
SetMaterialGroupMask(meshGroupMask: Uint64): void;
SetModel(modelName: string): void;
+ /**
+ * Set scale of entity's model.
+ */
+ SetModelScale(scale: number): void;
/**
* Set the alpha modulation of this entity.
*/
@@ -1823,6 +1817,18 @@ declare interface CDOTA_BaseNPC extends CBaseFlex {
GetCursorCastTarget(): CDOTA_BaseNPC | undefined;
GetCursorPosition(): Vector;
GetCursorTargetingNothing(): boolean;
+ /**
+ * Get the maximum attack damage of this unit.
+ *
+ * @both
+ */
+ GetDamageMax(): number;
+ /**
+ * Get the minimum attack damage of this unit.
+ *
+ * @both
+ */
+ GetDamageMin(): number;
/**
* Returns the vision range after modifiers.
*
@@ -2372,10 +2378,6 @@ declare interface CDOTA_BaseNPC extends CBaseFlex {
PlayVCD(vcd: string): void;
/** @both */
ProvidesVision(): boolean;
- /**
- * (bool RemovePositiveBuffs, bool RemoveDebuffs, bool BuffsCreatedThisFrameOnly,
- * bool RemoveStuns, bool RemoveExceptions.
- */
Purge(
removePositiveBuffs: boolean,
removeDebuffs: boolean,
@@ -2400,6 +2402,28 @@ declare interface CDOTA_BaseNPC extends CBaseFlex {
context: TContext,
callbackInfo: TCallbackInfo,
): void;
+ /**
+ * Queue a response system concept with the TLK_DOTA_CUSTOM concept, after a
+ * delay, for the same team this speaker is on.
+ */
+ QueueTeamConcept(
+ delay: number,
+ criteriaTable: object,
+ completionCallbackFn: object,
+ context: object,
+ callbackInfo: object,
+ ): void;
+ /**
+ * Queue a response system concept with the TLK_DOTA_CUSTOM concept, after a
+ * delay, for the same team this speaker is on. Is not played for spectators.
+ */
+ QueueTeamConceptNoSpectators(
+ delay: number,
+ criteriaTable: object,
+ completionCallbackFn: object,
+ context: object,
+ callbackInfo: object,
+ ): void;
/**
* Remove mana from this unit, this can be used for involuntary mana loss, not for
* mana that is spent.
@@ -2414,6 +2438,10 @@ declare interface CDOTA_BaseNPC extends CBaseFlex {
*/
RemoveAbilityByHandle(ability: CDOTABaseAbility): void;
RemoveAbilityFromIndexByName(abilityName: string): void;
+ /**
+ * (int targets [0=all, 1=enemy, 2=ally], bool bNow, bool bPermanent, bool bDeath).
+ */
+ RemoveAllModifiers(targets: number, now: boolean, permanent: boolean, death: boolean): void;
/**
* Remove the given gesture activity.
*/
@@ -2646,6 +2674,7 @@ declare interface CDOTA_BaseNPC extends CBaseFlex {
* @both
*/
UnitCanRespawn(): boolean;
+ WasKilledPassively(): boolean;
__kind__: 'instance';
}
@@ -2857,6 +2886,7 @@ declare interface CDOTA_BaseNPC_Hero extends CDOTA_BaseNPC {
*/
GetGold(): number;
GetGoldBounty(): number;
+ GetHeroID(): number;
/**
* Hero attack speed is also affected by agility.
*/
@@ -2887,6 +2917,7 @@ declare interface CDOTA_BaseNPC_Hero extends CDOTA_BaseNPC {
GetPlayerID(): PlayerID;
GetPrimaryAttribute(): Attributes;
GetPrimaryStatValue(): number;
+ GetReplicatingOtherHero(): object;
/**
* Is this hero prevented from respawning?
*/
@@ -2961,6 +2992,11 @@ declare interface CDOTA_BaseNPC_Hero extends CDOTA_BaseNPC {
* Gives this hero some gold.
*/
ModifyGold(goldChange: number, reliable: boolean, reason: EDOTA_ModifyGold_Reason): number;
+ /**
+ * Gives this hero some gold, using the gold filter if extra filtering is on.
+ * Args: int nGoldChange, bool bReliable, int reason.
+ */
+ ModifyGoldFiltered(goldChange: number, reliabe: boolean, reason: number): number;
/**
* Adds passed value to base attribute value, then calls CalculateStatBonus.
*/
@@ -3200,6 +3236,8 @@ declare const C_DOTA_Item: typeof CDOTA_Item;
declare interface CDOTA_Item extends CDOTABaseAbility {
CanBeUsedOutOfInventory(): boolean;
+ /** @client */
+ CanOnlyPlayerHeroPickup(): boolean;
/**
* Get the container for this item.
*/
@@ -3303,6 +3341,7 @@ declare interface CDOTA_Item extends CDOTABaseAbility {
* Sets whether item is unequipped or ready.
*/
SetItemState(state: number): void;
+ SetOnlyPlayerHeroPickup(onlyPlayerHero: boolean): void;
/**
* Set the purchaser of record for this item.
*/
@@ -3523,6 +3562,10 @@ declare interface CDOTA_Item_Lua extends CDOTA_Item {
* Channeling is taking place.
*/
OnChannelThink(interval: number): void;
+ /**
+ * Runs when item's charge count changes.
+ */
+ OnChargeCountChanged(): void;
/**
* Caster (hero only) gained a level, skilled an ability, or received a new stat
* bonus.
@@ -5138,6 +5181,7 @@ declare const CDOTA_PlayerResource: DotaConstructor<CDOTA_PlayerResource>;
declare interface CDOTA_PlayerResource extends CBaseEntity {
AddAegisPickup(playerId: PlayerID): void;
+ AddCandyEvent(playerId: PlayerID, reason: number): void;
AddClaimedFarm(playerId: PlayerID, farmValue: number, earnedValue: boolean): void;
AddGoldSpentOnSupport(playerId: PlayerID, cost: number): void;
AddNeutralItemToStash(playerId: PlayerID, teamNumber: DOTATeam_t, item: CDOTA_Item): void;
@@ -5377,6 +5421,17 @@ declare interface CDOTA_Unit_CustomGameAnnouncer extends CDOTA_BaseNPC {
__kind__: 'instance';
}
+declare const CDOTA_Unit_Diretide_Portal: DotaConstructor<CDOTA_Unit_Diretide_Portal>;
+
+declare interface CDOTA_Unit_Diretide_Portal extends CDOTA_BaseNPC_Building {
+ GetPartnerPortal(): object;
+ ResetPortal(): void;
+ SetInvasionRuneType(runeType: number): void;
+ SetPartnerPortal(portal: object): void;
+ SetPortalActive(active: boolean): void;
+ __kind__: 'instance';
+}
+
declare const CDOTA_Unit_Nian: DotaConstructor<CDOTA_Unit_Nian>;
declare interface CDOTA_Unit_Nian extends CDOTA_BaseNPC_Creature {
@@ -5459,6 +5514,8 @@ declare interface CDOTABaseAbility extends CBaseEntity {
GetCooldown(level: number): number;
GetCooldownTime(): number;
GetCooldownTimeRemaining(): number;
+ /** @both */
+ GetCurrentAbilityCharges(): number;
GetCursorPosition(): Vector;
GetCursorTarget(): CDOTA_BaseNPC | undefined;
GetCursorTargetingNothing(): boolean;
@@ -5573,6 +5630,7 @@ declare interface CDOTABaseAbility extends CBaseEntity {
SetAbilityIndex(index: number): void;
SetActivated(activated: boolean): void;
SetChanneling(channeling: boolean): void;
+ SetCurrentAbilityCharges(charges: number): void;
SetFrozenCooldown(frozenCooldown: boolean): void;
SetHidden(hidden: boolean): void;
SetInAbilityPhase(inAbilityPhase: boolean): void;
@@ -5710,6 +5768,10 @@ declare interface CDOTABaseGameMode extends CBaseEntity {
* Turns on capability to define custom buyback costs.
*/
GetCustomBuybackCostEnabled(): boolean;
+ /**
+ * Get the topbar score display value for dire.
+ */
+ GetCustomDireScore(): number;
/**
* Get the current custom glyph cooldown.
*/
@@ -5718,6 +5780,10 @@ declare interface CDOTABaseGameMode extends CBaseEntity {
* Allows definition of the max level heroes can achieve (default is 25).
*/
GetCustomHeroMaxLevel(): number;
+ /**
+ * Get the topbar score display value for radiant.
+ */
+ GetCustomRadiantScore(): number;
/**
* Get the current custom scan cooldown.
*/
@@ -5917,6 +5983,10 @@ declare interface CDOTABaseGameMode extends CBaseEntity {
* Turns on capability to define custom buyback costs.
*/
SetCustomBuybackCostEnabled(enabled: boolean): void;
+ /**
+ * Sets the topbar score display value for dire.
+ */
+ SetCustomDireScore(score: number): void;
/**
* Force all players to use the specified hero and disable the normal hero
* selection process. Must be used before hero selection.
@@ -5930,6 +6000,10 @@ declare interface CDOTABaseGameMode extends CBaseEntity {
* Allows definition of the max level heroes can achieve (default is 25).
*/
SetCustomHeroMaxLevel(maxLevel: number): void;
+ /**
+ * Sets the topbar score display value for radiant.
+ */
+ SetCustomRadiantScore(score: number): void;
/**
* Set a custom cooldown for team Scan ability.
*/
@@ -6350,6 +6424,10 @@ declare interface CDOTAGamerules {
* Enabled (true) or disable (false) auto launch for custom game setup.
*/
EnableCustomGameSetupAutoLaunch(enabled: boolean): void;
+ /**
+ * Sends a minimap ping to all players on the team.
+ */
+ ExecuteTeamPing(arg1: number, arg2: number, arg3: number, arg4: object, arg5: number): void;
/**
* Indicate that the custom game setup phase is complete, and advance to the game.
*/
@@ -6366,6 +6444,12 @@ declare interface CDOTAGamerules {
* Get the announcer for a team.
*/
GetAnnouncer(team: DOTATeam_t): CDOTA_BaseNPC | undefined;
+ /**
+ * Returns the hero unit names banned in this game, if any.
+ *
+ * @both
+ */
+ GetBannedHeroes(): object;
/**
* Returns the difficulty level of the custom game mode.
*
@@ -6414,6 +6498,24 @@ declare interface CDOTAGamerules {
* @both
*/
GetGameTime(): number;
+ /**
+ * Get the stock count of the item.
+ *
+ * @both
+ */
+ GetItemStockCount(arg1: number, arg2: string, arg3: number): number;
+ /**
+ * Get the time it takes to add a new item to stock.
+ *
+ * @both
+ */
+ GetItemStockDuration(arg1: number, arg2: string, arg3: number): number;
+ /**
+ * Get the time an item will be added to stock.
+ *
+ * @both
+ */
+ GetItemStockTime(arg1: number, arg2: string, arg3: number): number;
/**
* Get the MatchID for this game.
*/
@@ -6423,6 +6525,14 @@ declare interface CDOTAGamerules {
* information.
*/
GetMatchSignoutComplete(): boolean;
+ /**
+ * Gets next bounty rune spawn time.
+ */
+ GetNextBountyRuneSpawnTime(): number;
+ /**
+ * Gets next rune spawn time.
+ */
+ GetNextRuneSpawnTime(): number;
/**
* For New Bloom, get total damage taken by the Nian / Year Beast.
*/
@@ -6499,6 +6609,11 @@ declare interface CDOTAGamerules {
* Makes the specified team lose.
*/
MakeTeamLose(team: DOTATeam_t): void;
+ /**
+ * Like ModifyGold, but will use the gold filter if SetFilterMoreGold has been set
+ * true.
+ */
+ ModifyGoldFiltered(arg1: number, arg2: number, arg3: boolean, arg4: number): number;
/**
* Returns the number of items currently dropped on the ground.
*/
@@ -6575,6 +6690,15 @@ declare interface CDOTAGamerules {
* Sets a flag to enable/disable the default music handling code for custom games.
*/
SetCustomGameAllowMusicAtGameStart(allow: boolean): void;
+ /**
+ * Sets a flag to enable/disable the casting secondary abilities from units other
+ * than the player's own hero.
+ */
+ SetCustomGameAllowSecondaryAbilitiesOnOtherUnits(arg1: boolean): void;
+ /**
+ * Set number of hero bans each team gets.
+ */
+ SetCustomGameBansPerTeam(arg1: number): void;
/**
* Set the difficulty level of the custom game mode.
*/
@@ -6617,6 +6741,10 @@ declare interface CDOTAGamerules {
* Event-only.
*/
SetEventSignoutCustomTable(metadataTable: object): boolean;
+ /**
+ * Sets whether to filter more gold events than normal.
+ */
+ SetFilterMoreGold(arg1: boolean): void;
/**
* Sets whether First Blood has been triggered.
*/
@@ -6629,6 +6757,10 @@ declare interface CDOTAGamerules {
* Makes the specified team win.
*/
SetGameWinner(team: DOTATeam_t): void;
+ /**
+ * Set Glyph cooldown for team.
+ */
+ SetGlyphCooldown(arg1: number, arg2: number): void;
/**
* Set the auto gold increase per timed interval.
*/
@@ -6658,6 +6790,23 @@ declare interface CDOTAGamerules {
* of the screen.
*/
SetHideKillMessageHeaders(hideHeaders: boolean): void;
+ /**
+ * Set whether custom and event games should ignore Lobby teams when assigning
+ * players to teams. Defaults to true.
+ */
+ SetIgnoreLobbyTeamsInCustomGame(arg1: boolean): void;
+ /**
+ * Set the stock count of the item.
+ */
+ SetItemStockCount(arg1: number, arg2: number, arg3: string, arg4: number): void;
+ /**
+ * Sets next bounty rune spawn time.
+ */
+ SetNextBountyRuneSpawnTime(arg1: number): void;
+ /**
+ * Sets next rune spawn time.
+ */
+ SetNextRuneSpawnTime(arg1: number): void;
/**
* Show this unit's health on the overlay health bar.
*/
@@ -6692,6 +6841,10 @@ declare interface CDOTAGamerules {
* the pre-game phase.
*/
SetShowcaseTime(time: number): void;
+ /**
+ * Set whether to speak a Spawn concept instead of a Respawn concept on respawn.
+ */
+ SetSpeechUseSpawnInsteadOfRespawnConcept(arg1: boolean): void;
/**
* Set the starting gold amount.
*/
@@ -8005,6 +8158,10 @@ declare interface ProjectileManager {
* Returns current location of projectile.
*/
GetTrackingProjectileLocation(projectile: ProjectileID): Vector;
+ /**
+ * Is this a valid projectile?
+ */
+ IsValidProjectile(arg1: number): boolean;
/**
* Makes the specified unit dodge projectiles.
*/
@@ -9078,6 +9235,12 @@ declare function GetPhysAngularVelocity(arg1: object): Vector;
*/
declare function GetPhysVelocity(arg1: object): Vector;
+/**
+ * Given the item tier and the team, roll for the name of a valid neutral item
+ * drop, considering previous drops and consumables.
+ */
+declare function GetPotentialNeutralItemDrop(arg1: number, arg2: number): string;
+
/**
* Get the current real world date.
*/
@@ -9180,6 +9343,11 @@ declare function IsInToolsMode(): boolean;
*/
declare function IsLocationVisible(team: DOTATeam_t, location: Vector): boolean;
+/**
+ * Is this entity a mango tree? (hEntity).
+ */
+declare function IsMangoTree(arg1: object): boolean;
+
/**
* Returns true if the entity is valid and marked for deletion.
*
@@ -206,6 +206,7 @@ declare const enum DOTA_ABILITY_BEHAVIOR {
DOTA_ABILITY_BEHAVIOR_LAST_RESORT_POINT = -2147483648,
DOTA_ABILITY_BEHAVIOR_CAN_SELF_CAST = 0,
DOTA_ABILITY_BEHAVIOR_FREE_DRAW_TARGETING = 0,
+ DOTA_ABILITY_BEHAVIOR_IGNORE_SILENCE = 0,
DOTA_ABILITY_BEHAVIOR_NONE = 0,
DOTA_ABILITY_BEHAVIOR_SHOW_IN_GUIDES = 0,
DOTA_ABILITY_BEHAVIOR_SUPPRESS_ASSOCIATED_CONSUMABLE = 0,
@@ -776,75 +777,81 @@ declare const enum DOTASlotType_t {
DOTA_LOADOUT_TYPE_GLOVES = 12,
DOTA_LOADOUT_TYPE_TAIL = 13,
DOTA_LOADOUT_TYPE_MISC = 14,
- DOTA_LOADOUT_TYPE_BODY_HEAD = 15,
- DOTA_LOADOUT_TYPE_MOUNT = 16,
- DOTA_LOADOUT_TYPE_SUMMON = 17,
- DOTA_LOADOUT_TYPE_SHAPESHIFT = 18,
- DOTA_LOADOUT_TYPE_TAUNT = 19,
- DOTA_LOADOUT_TYPE_AMBIENT_EFFECTS = 20,
- DOTA_LOADOUT_TYPE_ABILITY_ATTACK = 21,
- DOTA_LOADOUT_TYPE_ABILITY1 = 22,
- DOTA_LOADOUT_TYPE_ABILITY2 = 23,
- DOTA_LOADOUT_TYPE_ABILITY3 = 24,
- DOTA_LOADOUT_TYPE_ABILITY4 = 25,
- DOTA_LOADOUT_TYPE_ABILITY_ULTIMATE = 26,
- DOTA_LOADOUT_TYPE_VOICE = 27,
- DOTA_LOADOUT_PERSONA_1_START = 28,
- DOTA_LOADOUT_TYPE_WEAPON_PERSONA_1 = 28,
- DOTA_LOADOUT_TYPE_OFFHAND_WEAPON_PERSONA_1 = 29,
- DOTA_LOADOUT_TYPE_WEAPON2_PERSONA_1 = 30,
- DOTA_LOADOUT_TYPE_OFFHAND_WEAPON2_PERSONA_1 = 31,
- DOTA_LOADOUT_TYPE_HEAD_PERSONA_1 = 32,
- DOTA_LOADOUT_TYPE_SHOULDER_PERSONA_1 = 33,
- DOTA_LOADOUT_TYPE_ARMS_PERSONA_1 = 34,
- DOTA_LOADOUT_TYPE_ARMOR_PERSONA_1 = 35,
- DOTA_LOADOUT_TYPE_BELT_PERSONA_1 = 36,
- DOTA_LOADOUT_TYPE_NECK_PERSONA_1 = 37,
- DOTA_LOADOUT_TYPE_BACK_PERSONA_1 = 38,
- DOTA_LOADOUT_TYPE_LEGS_PERSONA_1 = 39,
- DOTA_LOADOUT_TYPE_GLOVES_PERSONA_1 = 40,
- DOTA_LOADOUT_TYPE_TAIL_PERSONA_1 = 41,
- DOTA_LOADOUT_TYPE_MISC_PERSONA_1 = 42,
- DOTA_LOADOUT_TYPE_BODY_HEAD_PERSONA_1 = 43,
- DOTA_LOADOUT_TYPE_MOUNT_PERSONA_1 = 44,
- DOTA_LOADOUT_TYPE_SUMMON_PERSONA_1 = 45,
- DOTA_LOADOUT_TYPE_SHAPESHIFT_PERSONA_1 = 46,
- DOTA_LOADOUT_TYPE_TAUNT_PERSONA_1 = 47,
- DOTA_LOADOUT_TYPE_AMBIENT_EFFECTS_PERSONA_1 = 48,
- DOTA_LOADOUT_TYPE_ABILITY_ATTACK_PERSONA_1 = 49,
- DOTA_LOADOUT_TYPE_ABILITY1_PERSONA_1 = 50,
- DOTA_LOADOUT_TYPE_ABILITY2_PERSONA_1 = 51,
- DOTA_LOADOUT_TYPE_ABILITY3_PERSONA_1 = 52,
- DOTA_LOADOUT_TYPE_ABILITY4_PERSONA_1 = 53,
- DOTA_LOADOUT_TYPE_ABILITY_ULTIMATE_PERSONA_1 = 54,
- DOTA_LOADOUT_PERSONA_1_END = 55,
- DOTA_LOADOUT_TYPE_VOICE_PERSONA_1 = 55,
- DOTA_LOADOUT_TYPE_PERSONA_SELECTOR = 56,
- DOTA_LOADOUT_TYPE_COURIER = 57,
- DOTA_PLAYER_LOADOUT_START = 57,
- DOTA_LOADOUT_TYPE_ANNOUNCER = 58,
- DOTA_LOADOUT_TYPE_MEGA_KILLS = 59,
- DOTA_LOADOUT_TYPE_MUSIC = 60,
- DOTA_LOADOUT_TYPE_WARD = 61,
- DOTA_LOADOUT_TYPE_HUD_SKIN = 62,
- DOTA_LOADOUT_TYPE_LOADING_SCREEN = 63,
- DOTA_LOADOUT_TYPE_WEATHER = 64,
- DOTA_LOADOUT_TYPE_HEROIC_STATUE = 65,
- DOTA_LOADOUT_TYPE_MULTIKILL_BANNER = 66,
- DOTA_LOADOUT_TYPE_CURSOR_PACK = 67,
- DOTA_LOADOUT_TYPE_TELEPORT_EFFECT = 68,
- DOTA_LOADOUT_TYPE_BLINK_EFFECT = 69,
- DOTA_LOADOUT_TYPE_EMBLEM = 70,
- DOTA_LOADOUT_TYPE_TERRAIN = 71,
- DOTA_LOADOUT_TYPE_RADIANT_CREEPS = 72,
- DOTA_LOADOUT_TYPE_DIRE_CREEPS = 73,
- DOTA_LOADOUT_TYPE_RADIANT_TOWER = 74,
- DOTA_LOADOUT_TYPE_DIRE_TOWER = 75,
- DOTA_LOADOUT_TYPE_VERSUS_SCREEN = 76,
- DOTA_LOADOUT_TYPE_STREAK_EFFECT = 77,
- DOTA_PLAYER_LOADOUT_END = 77,
- DOTA_LOADOUT_TYPE_NONE = 78,
- DOTA_LOADOUT_TYPE_COUNT = 79,
+ DOTA_LOADOUT_TYPE_COSTUME = 15,
+ DOTA_LOADOUT_TYPE_BODY_HEAD = 16,
+ DOTA_LOADOUT_TYPE_MOUNT = 17,
+ DOTA_LOADOUT_TYPE_SUMMON = 18,
+ DOTA_LOADOUT_TYPE_SHAPESHIFT = 19,
+ DOTA_LOADOUT_TYPE_TAUNT = 20,
+ DOTA_LOADOUT_TYPE_AMBIENT_EFFECTS = 21,
+ DOTA_LOADOUT_TYPE_ABILITY_ATTACK = 22,
+ DOTA_LOADOUT_TYPE_ABILITY1 = 23,
+ DOTA_LOADOUT_TYPE_ABILITY2 = 24,
+ DOTA_LOADOUT_TYPE_ABILITY3 = 25,
+ DOTA_LOADOUT_TYPE_ABILITY4 = 26,
+ DOTA_LOADOUT_TYPE_ABILITY_ULTIMATE = 27,
+ DOTA_LOADOUT_TYPE_VOICE = 28,
+ DOTA_LOADOUT_PERSONA_1_START = 29,
+ DOTA_LOADOUT_TYPE_WEAPON_PERSONA_1 = 29,
+ DOTA_LOADOUT_TYPE_OFFHAND_WEAPON_PERSONA_1 = 30,
+ DOTA_LOADOUT_TYPE_WEAPON2_PERSONA_1 = 31,
+ DOTA_LOADOUT_TYPE_OFFHAND_WEAPON2_PERSONA_1 = 32,
+ DOTA_LOADOUT_TYPE_HEAD_PERSONA_1 = 33,
+ DOTA_LOADOUT_TYPE_SHOULDER_PERSONA_1 = 34,
+ DOTA_LOADOUT_TYPE_ARMS_PERSONA_1 = 35,
+ DOTA_LOADOUT_TYPE_ARMOR_PERSONA_1 = 36,
+ DOTA_LOADOUT_TYPE_BELT_PERSONA_1 = 37,
+ DOTA_LOADOUT_TYPE_NECK_PERSONA_1 = 38,
+ DOTA_LOADOUT_TYPE_BACK_PERSONA_1 = 39,
+ DOTA_LOADOUT_TYPE_LEGS_PERSONA_1 = 40,
+ DOTA_LOADOUT_TYPE_GLOVES_PERSONA_1 = 41,
+ DOTA_LOADOUT_TYPE_TAIL_PERSONA_1 = 42,
+ DOTA_LOADOUT_TYPE_MISC_PERSONA_1 = 43,
+ DOTA_LOADOUT_TYPE_BODY_HEAD_PERSONA_1 = 44,
+ DOTA_LOADOUT_TYPE_MOUNT_PERSONA_1 = 45,
+ DOTA_LOADOUT_TYPE_SUMMON_PERSONA_1 = 46,
+ DOTA_LOADOUT_TYPE_SHAPESHIFT_PERSONA_1 = 47,
+ DOTA_LOADOUT_TYPE_TAUNT_PERSONA_1 = 48,
+ DOTA_LOADOUT_TYPE_AMBIENT_EFFECTS_PERSONA_1 = 49,
+ DOTA_LOADOUT_TYPE_ABILITY_ATTACK_PERSONA_1 = 50,
+ DOTA_LOADOUT_TYPE_ABILITY1_PERSONA_1 = 51,
+ DOTA_LOADOUT_TYPE_ABILITY2_PERSONA_1 = 52,
+ DOTA_LOADOUT_TYPE_ABILITY3_PERSONA_1 = 53,
+ DOTA_LOADOUT_TYPE_ABILITY4_PERSONA_1 = 54,
+ DOTA_LOADOUT_TYPE_ABILITY_ULTIMATE_PERSONA_1 = 55,
+ DOTA_LOADOUT_PERSONA_1_END = 56,
+ DOTA_LOADOUT_TYPE_VOICE_PERSONA_1 = 56,
+ DOTA_LOADOUT_TYPE_PERSONA_SELECTOR = 57,
+ DOTA_LOADOUT_TYPE_COURIER = 58,
+ DOTA_PLAYER_LOADOUT_START = 58,
+ DOTA_LOADOUT_TYPE_ANNOUNCER = 59,
+ DOTA_LOADOUT_TYPE_MEGA_KILLS = 60,
+ DOTA_LOADOUT_TYPE_MUSIC = 61,
+ DOTA_LOADOUT_TYPE_WARD = 62,
+ DOTA_LOADOUT_TYPE_HUD_SKIN = 63,
+ DOTA_LOADOUT_TYPE_LOADING_SCREEN = 64,
+ DOTA_LOADOUT_TYPE_WEATHER = 65,
+ DOTA_LOADOUT_TYPE_HEROIC_STATUE = 66,
+ DOTA_LOADOUT_TYPE_MULTIKILL_BANNER = 67,
+ DOTA_LOADOUT_TYPE_CURSOR_PACK = 68,
+ DOTA_LOADOUT_TYPE_TELEPORT_EFFECT = 69,
+ DOTA_LOADOUT_TYPE_BLINK_EFFECT = 70,
+ DOTA_LOADOUT_TYPE_EMBLEM = 71,
+ DOTA_LOADOUT_TYPE_TERRAIN = 72,
+ DOTA_LOADOUT_TYPE_RADIANT_CREEPS = 73,
+ DOTA_LOADOUT_TYPE_DIRE_CREEPS = 74,
+ DOTA_LOADOUT_TYPE_RADIANT_TOWER = 75,
+ DOTA_LOADOUT_TYPE_DIRE_TOWER = 76,
+ DOTA_LOADOUT_TYPE_VERSUS_SCREEN = 77,
+ DOTA_LOADOUT_TYPE_STREAK_EFFECT = 78,
+ DOTA_LOADOUT_TYPE_KILL_EFFECT = 79,
+ DOTA_LOADOUT_TYPE_DEATH_EFFECT = 80,
+ DOTA_LOADOUT_TYPE_HEAD_EFFECT = 81,
+ DOTA_LOADOUT_TYPE_MAP_EFFECT = 82,
+ DOTA_LOADOUT_TYPE_COURIER_EFFECT = 83,
+ DOTA_PLAYER_LOADOUT_END = 83,
+ DOTA_LOADOUT_TYPE_NONE = 84,
+ DOTA_LOADOUT_TYPE_COUNT = 85,
}
/**
@@ -862,7 +869,8 @@ declare const enum DOTASpeechType_t {
DOTA_SPEECH_GOOD_TEAM = 6,
DOTA_SPEECH_BAD_TEAM = 7,
DOTA_SPEECH_SPECTATOR = 8,
- DOTA_SPEECH_RECIPIENT_TYPE_MAX = 9,
+ DOTA_SPEECH_USER_TEAM_NOSPECTATOR = 9,
+ DOTA_SPEECH_RECIPIENT_TYPE_MAX = 10,
}
/**
@@ -2319,15 +2327,15 @@ declare const enum GameActivity_t {
ACT_DOTA_SHUFFLE_R = 1750,
ACT_DOTA_OVERRIDE_LOADOUT = 1751,
ACT_DOTA_TAUNT_SPECIAL = 1752,
- ACT_DOTA_DISABLED_END = 1754,
- ACT_DOTA_RADIANT_CREEP_HAMMER = 1757,
- ACT_DOTA_CYCLONE = 1758,
- ACT_DOTA_IMPALE = 1759,
- ACT_DOTA_TORRENT = 1760,
+ ACT_DOTA_DISABLED_END = 1753,
+ ACT_DOTA_RELAX_IN = 1755,
+ ACT_DOTA_RELAX_OUT = 1756,
+ ACT_DOTA_CAST_FENCE = 1757,
+ ACT_DOTA_SPWN = 1758,
+ ACT_DOTA_RADIANT_CREEP_HAMMER = 1760,
ACT_DOTA_RUN_ALT = 1761,
- ACT_DOTA_RELAX_IN = 1762,
- ACT_DOTA_RELAX_OUT = 1763,
- ACT_DOTA_CAST_FENCE = 1764,
+ ACT_DOTA_CYCLONE = 1762,
+ ACT_DOTA_IMPALE = 1763,
}
/**
@@ -3414,198 +3422,61 @@ declare const enum ShowGenericPopupType {
*/
declare const enum SourceEngineAnimationEvent {
AE_EMPTY = 0,
- AE_NPC_LEFTFOOT = 1,
- AE_NPC_RIGHTFOOT = 2,
- AE_NPC_BODYDROP_LIGHT = 3,
- AE_NPC_BODYDROP_HEAVY = 4,
- AE_NPC_SWISHSOUND = 5,
- AE_NPC_180TURN = 6,
- AE_NPC_ITEM_PICKUP = 7,
- AE_NPC_WEAPON_DROP = 8,
- AE_NPC_WEAPON_SET_SEQUENCE_NAME = 9,
- AE_NPC_WEAPON_SET_SEQUENCE_NUMBER = 10,
- AE_NPC_WEAPON_SET_ACTIVITY = 11,
- AE_NPC_HOLSTER = 12,
- AE_NPC_DRAW = 13,
- AE_NPC_WEAPON_FIRE = 14,
- AE_CL_PLAYSOUND = 15,
- AE_CL_PLAYSOUND_ATTACHMENT = 16,
- AE_SV_PLAYSOUND = 17,
- AE_CL_STOPSOUND = 18,
- AE_START_SCRIPTED_EFFECT = 19,
- AE_STOP_SCRIPTED_EFFECT = 20,
- AE_CLIENT_EFFECT_ATTACH = 21,
- AE_MUZZLEFLASH = 22,
- AE_NPC_MUZZLEFLASH = 23,
- AE_THUMPER_THUMP = 24,
- AE_AMMOCRATE_PICKUP_AMMO = 25,
- AE_NPC_RAGDOLL = 26,
- AE_NPC_ADDGESTURE = 27,
- AE_NPC_RESTARTGESTURE = 28,
- AE_NPC_ATTACK_BROADCAST = 29,
- AE_NPC_HURT_INTERACTION_PARTNER = 30,
- AE_NPC_SET_INTERACTION_CANTDIE = 31,
- AE_SV_DUSTTRAIL = 32,
- AE_CL_CREATE_PARTICLE_EFFECT = 33,
- AE_CL_STOP_PARTICLE_EFFECT = 34,
- AE_CL_ADD_PARTICLE_EFFECT_CP = 35,
- AE_CL_CREATE_PARTICLE_BRASS = 36,
- AE_RAGDOLL = 37,
- AE_CL_ENABLE_BODYGROUP = 38,
- AE_CL_DISABLE_BODYGROUP = 39,
- AE_CL_BODYGROUP_SET_VALUE = 40,
- AE_SV_BODYGROUP_SET_VALUE = 41,
- AE_CL_BODYGROUP_SET_VALUE_CMODEL_WPN = 42,
- AE_WPN_PRIMARYATTACK = 43,
- AE_WPN_INCREMENTAMMO = 44,
- AE_WPN_HIDE = 45,
- AE_WPN_UNHIDE = 46,
- AE_WPN_PLAYWPNSOUND = 47,
- AE_MARINE_FOOTSTEP = 49,
- AE_MARINE_RELOAD_SOUND_A = 50,
- AE_MARINE_RELOAD_SOUND_B = 51,
- AE_MARINE_RELOAD_SOUND_C = 52,
- AE_REMOVE_CLIENT_AIM = 53,
- AE_FOOTSTEP_LEFT = 54,
- AE_FOOTSTEP_RIGHT = 55,
- AE_ATTACK_START = 56,
- AE_ATTACK_HIT = 57,
- AE_ATTACK_END = 58,
- AE_OPTIONAL_END = 59,
- AE_HIDE_WEAPON = 60,
- AE_SHOW_WEAPON = 61,
- AE_PICKUP_CLIPIN = 62,
- AE_PICKUP_CHARGING = 63,
- AE_PICKUP_FASSIST = 64,
- AE_RELOAD_CLIPOUT = 65,
- AE_RELOAD_CLIPIN = 66,
- AE_RELOAD_EMPTY_CLIPOUT = 67,
- AE_RELOAD_EMPTY_CLIPIN = 68,
- AE_RELOAD_EMPTY_CLIPIN2 = 69,
- AE_RELOAD_SHELL_INSERT = 70,
- AE_RELOAD_PUMPEND = 71,
- AE_LOCK_STATE_CHANGED = 72,
- AE_TUG_INCAP = 73,
- AE_DEFIBRILLATOR_SHOCK = 74,
- AE_HIT_HEAD_FRONT = 75,
- AE_HIT_HEAD_BACK = 76,
- AE_HIT_STOMACH = 77,
- AE_HIT_CHEST = 78,
- AE_HIT_BACK_UPPER = 79,
- AE_HIT_BACK_LOWER = 80,
- AE_HIT_SHOULDER_RIGHT_FRONT = 81,
- AE_HIT_SHOULDER_RIGHT_BACK = 82,
- AE_HIT_SHOULDER_LEFT_FRONT = 83,
- AE_HIT_SHOULDER_LEFT_BACK = 84,
- AE_HIT_LEG_RIGHT_FRONT = 85,
- AE_HIT_LEG_RIGHT_BACK = 86,
- AE_HIT_LEG_LEFT_FRONT = 87,
- AE_HIT_LEG_LEFT_BACK = 88,
- AE_HIT_ARM_RIGHT_SEVERED = 89,
- AE_HIT_ARM_LEFT_SEVERED = 90,
- AE_HIT_LEG_RIGHT_SEVERED = 91,
- AE_HIT_LEG_LEFT_SEVERED = 92,
- AE_HIT_FRONT = 93,
- AE_HIT_BACK = 94,
- AE_HIT_LEFT = 95,
- AE_HIT_RIGHT = 96,
- AE_FIRE_INPUT = 97,
- AE_SV_FOOTSTEP_LEFT = 98,
- AE_SV_FOOTSTEP_RIGHT = 99,
- AE_CL_FOOTSTEP_LEFT = 100,
- AE_CL_FOOTSTEP_RIGHT = 101,
- AE_CL_MFOOTSTEP_LEFT = 102,
- AE_CL_MFOOTSTEP_RIGHT = 103,
- AE_CL_MFOOTSTEP_LEFT_LOUD = 104,
- AE_CL_MFOOTSTEP_RIGHT_LOUD = 105,
- AE_WEAPON_MELEE_HIT = 106,
- AE_WEAPON_SMG1 = 107,
- AE_WEAPON_MELEE_SWISH = 108,
- AE_WEAPON_SHOTGUN_FIRE = 109,
- AE_WEAPON_THROW = 110,
- AE_WEAPON_AR1 = 111,
- AE_WEAPON_AR2 = 112,
- AE_WEAPON_HMG1 = 113,
- AE_WEAPON_SMG2 = 114,
- AE_WEAPON_MISSILE_FIRE = 115,
- AE_WEAPON_SNIPER_RIFLE_FIRE = 116,
- AE_WEAPON_AR2_GRENADE = 117,
- AE_WEAPON_THROW2 = 118,
- AE_WEAPON_PISTOL_FIRE = 119,
- AE_WEAPON_RELOAD = 120,
- AE_WEAPON_THROW3 = 121,
- AE_WEAPON_RELOAD_SOUND = 122,
- AE_WEAPON_RELOAD_FILL_CLIP = 123,
- AE_WEAPON_SMG1_BURST1 = 124,
- AE_WEAPON_SMG1_BURSTN = 125,
- AE_WEAPON_AR2_ALTFIRE = 126,
- AE_WEAPON_SEQUENCE_FINISHED = 127,
- AE_CL_SPEECH = 128,
- AE_MELEE_START_COLLISION_DAMAGE = 129,
- AE_MELEE_STOP_COLLISION_DAMAGE = 130,
- AE_MELEE_FORCE_START_WEAPON_TRAIL = 131,
- AE_MELEE_FORCE_STOP_WEAPON_TRAIL = 132,
- AE_ACTION_ENTERING_IDLE = 133,
- AE_ACTION_OVERLAP_MOVE = 134,
- AE_ACTION_ALLOW_MOVE_INTERRUPT = 135,
- AE_ACTION_AVOID_DAMAGE = 136,
- AE_ACTION_STOP_AVOIDING_DAMAGE = 137,
- AE_ACTION_SET_TURN_RATE_SCALE = 138,
- AE_ACTION_ALLOW_COMBO = 139,
- AE_ACTION_PREVENT_COMBO = 140,
- AE_ACTION_ALLOW_DODGE = 141,
- AE_ACTION_PREVENT_DODGE = 142,
- AE_ABILITY_START_EVENT = 143,
- AE_ABILITY_END_EVENT = 144,
- AE_ABILITY_TICK = 145,
- AE_ACTION_START_TURN = 146,
- AE_ACTION_END_TURN = 147,
- AE_ACTION_USE = 148,
- AE_SHEATHE_WEAPONS = 149,
- AE_DRAW_WEAPONS = 150,
- AE_PICK_UP_ITEM = 151,
- AE_DROP_ITEM = 152,
- AE_TOSS_ITEM = 153,
- AE_EF_NODRAW = 154,
- AE_EF_DRAW = 155,
- AE_WEAPON_SLAM_GROUND = 156,
- AE_MANTLE_LEAP = 157,
- AE_MANTLE_GRAB = 158,
- AE_DROP_PRIMARY_WEAPON = 159,
- AE_CL_PLAYSOUND_POSITION = 160,
- AE_KEYFIELD_SOUND = 161,
- AE_ACTION_DROP_ITEM = 162,
- AE_SOUND_EMITTED = 163,
- AE_SCRIPT_EVENT_NOINTERRUPT = 164,
- AE_SCRIPT_EVENT_CANINTERRUPT = 165,
- AE_SCRIPT_EVENT_FIREEVENT = 166,
- AE_SCRIPT_EVENT_DEAD = 167,
- AE_SCRIPT_EVENT_NOT_DEAD = 168,
- AE_SCRIPT_EVENT_FIRE_INPUT = 169,
- AE_SCRIPT_EVENT_CUSTOMINTERRUPT_START = 170,
- AE_SCRIPT_EVENT_CUSTOMINTERRUPT_END = 171,
- AE_CL_PLAYSOUND_LOOPING = 172,
- AE_IK_SET_LOCK_ROTATION_ALPHA = 173,
- AE_IK_ALLOW_PLANE_TILT_NORMAL_UPDATES = 174,
- AE_IK_SET_MASTER_BLEND_AMOUNT = 175,
- AE_IK_SET_CHAIN_BLEND_AMOUNT = 176,
- AE_CL_CREATE_PARTICLE_EFFECT_CFG = 177,
- AE_CL_CREATE_ANIM_SCOPE_PROP = 178,
- AE_CL_CLOTH_ATTR = 179,
- AE_FOOTSTEP = 180,
- AE_NPC_GIB = 181,
- AE_HAPTIC_PULSE = 182,
- AE_CL_CLOTH_GROUND_OFFSET = 183,
- AE_CL_CLOTH_STIFFEN = 184,
- AE_NPC_WEAPON_FIRE_SHARED = 185,
- AE_CL_SUPPRESS_EVENTS_WITH_TAG = 186,
- AE_CL_CLOTH_EFFECT = 187,
- AE_CL_DOTA_PLAY_STATUS_EFFECT = 189,
- AE_CL_DOTA_STOP_STATUS_EFFECT = 190,
- AE_CL_DOTA_NPC_CREATE_PARTICLE_EFFECT = 191,
- AE_CL_DOTA_RUBICK_ARCANA_CREATE_PARTICLE_EFFECT = 192,
- AE_DOTA_SUPPRESS_CONSTANT_LAYER = 193,
- AE_DOTA_PLAY_SOUND_ATTACK_SPECIAL = 194,
+ AE_CL_PLAYSOUND = 1,
+ AE_CL_PLAYSOUND_ATTACHMENT = 2,
+ AE_CL_PLAYSOUND_POSITION = 3,
+ AE_SV_PLAYSOUND = 4,
+ AE_CL_STOPSOUND = 5,
+ AE_CL_PLAYSOUND_LOOPING = 6,
+ AE_CLIENT_EFFECT_ATTACH = 7,
+ AE_CL_CREATE_PARTICLE_EFFECT = 8,
+ AE_CL_STOP_PARTICLE_EFFECT = 9,
+ AE_CL_ADD_PARTICLE_EFFECT_CP = 10,
+ AE_CL_CREATE_PARTICLE_EFFECT_CFG = 11,
+ AE_CL_SUPPRESS_EVENTS_WITH_TAG = 12,
+ AE_START_SCRIPTED_EFFECT = 13,
+ AE_STOP_SCRIPTED_EFFECT = 14,
+ AE_MUZZLEFLASH = 15,
+ AE_NPC_MUZZLEFLASH = 16,
+ AE_SV_DUSTTRAIL = 17,
+ AE_FOOTSTEP = 18,
+ AE_CL_FOOTSTEP_LEFT = 19,
+ AE_CL_FOOTSTEP_RIGHT = 20,
+ AE_CL_MFOOTSTEP_LEFT = 21,
+ AE_CL_MFOOTSTEP_RIGHT = 22,
+ AE_CL_MFOOTSTEP_LEFT_LOUD = 23,
+ AE_CL_MFOOTSTEP_RIGHT_LOUD = 24,
+ AE_RAGDOLL = 25,
+ AE_CL_ENABLE_BODYGROUP = 26,
+ AE_CL_DISABLE_BODYGROUP = 27,
+ AE_CL_BODYGROUP_SET_VALUE = 28,
+ AE_SV_BODYGROUP_SET_VALUE = 29,
+ AE_CL_BODYGROUP_SET_VALUE_CMODEL_WPN = 30,
+ AE_WPN_PRIMARYATTACK = 31,
+ AE_WPN_PLAYWPNSOUND = 32,
+ AE_CL_SPEECH = 33,
+ AE_FIRE_INPUT = 34,
+ AE_IK_SET_LOCK_ROTATION_ALPHA = 35,
+ AE_IK_ALLOW_PLANE_TILT_NORMAL_UPDATES = 36,
+ AE_IK_SET_MASTER_BLEND_AMOUNT = 37,
+ AE_IK_SET_CHAIN_BLEND_AMOUNT = 38,
+ AE_CL_CLOTH_ATTR = 39,
+ AE_CL_CLOTH_GROUND_OFFSET = 40,
+ AE_CL_CLOTH_STIFFEN = 41,
+ AE_CL_CLOTH_EFFECT = 42,
+ AE_CL_CREATE_ANIM_SCOPE_PROP = 43,
+ AE_HAPTIC_PULSE = 44,
+ AE_CL_DOTA_PLAY_STATUS_EFFECT = 45,
+ AE_CL_DOTA_STOP_STATUS_EFFECT = 46,
+ AE_CL_DOTA_NPC_CREATE_PARTICLE_EFFECT = 47,
+ AE_CL_DOTA_RUBICK_ARCANA_CREATE_PARTICLE_EFFECT = 48,
+ AE_DOTA_PET_ITEM_PICKUP = 49,
+ AE_DOTA_PET_ITEM_DROP = 50,
+ AE_DOTA_SUPPRESS_CONSTANT_LAYER = 51,
+ AE_DOTA_PLAY_SOUND_ATTACK_SPECIAL = 52,
+ AE_DOTA_CREATE_CLINKZ_ATTACK = 53,
+ AE_DOTA_PLAY_SOUND_ATTACK_BACKSTAB = 54,
+ AE_DOTA_DIE_PHANTOM_DEATH_PARTICLES = 55,
}
/**
@@ -3716,28 +3587,6 @@ declare const enum SourceEngineDamageTypes {
* Plasma.
*/
DMG_PLASMA = 16777216,
- /**
- * Airboat gun damage.
- */
- DMG_AIRBOAT = 33554432,
- /**
- * Forces the entity to dissolve on death. This is what the combine ball uses when
- * it hits a target.
- */
- DMG_DISSOLVE = 67108864,
- /**
- * This won't hurt the player underwater.
- */
- DMG_BLAST_SURFACE = 134217728,
- /**
- * Direct damage to the entity that does not go through any damage value
- * modifications.
- */
- DMG_DIRECT = 268435456,
- /**
- * The pellets fired from a shotgun.
- */
- DMG_BUCKSHOT = 536870912,
}
/**
@@ -3755,11 +3604,11 @@ declare const enum SourceEngineSoundData {
MELEE_MISS = 8,
MELEE_HIT = 9,
MELEE_HIT_WORLD = 10,
- SPECIAL1 = 11,
- SPECIAL2 = 12,
- SPECIAL3 = 13,
- TAUNT = 14,
- FASTRELOAD = 15,
+ SPECIAL1 = 12,
+ SPECIAL2 = 13,
+ SPECIAL3 = 14,
+ TAUNT = 15,
+ FASTRELOAD = 16,
}
/**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment