Commit 4fc4703e authored by JoyJ's avatar JoyJ

add docs

parent f9b36aa1
This diff is collapsed.
{
"AddStyle": {
"description": "Add a CSS class to a panel.",
"panelEvent": true,
"args": [
{
"name": "class",
"type": "string"
}
]
},
"AddStyleAfterDelay": {
"description": "Add a CSS class to a panel after a specified delay. ",
"panelEvent": true,
"args": [
{
"name": "class",
"type": "string"
},
{
"name": "pre-delay",
"type": "float"
}
]
},
"AddStyleToEachChild": {
"description": "Add a CSS class to all children of this panel.",
"panelEvent": true,
"args": [
{
"name": "class",
"type": "string"
}
]
},
"AddTimedStyle": {
"description": "Add a class for a specified duration, with optional pre-delay; clears existing timers when called with same class. ",
"panelEvent": true,
"args": [
{
"name": "class",
"type": "string"
},
{
"name": "duration",
"type": "float"
},
{
"name": "pre-delay",
"type": "float"
}
]
},
"AsyncEvent": {
"description": "Fire another event after a delay (in seconds).",
"panelEvent": false,
"args": [
{
"name": "delay",
"type": "float"
},
{
"name": "eventToFire",
"type": "event"
}
]
},
"DOTAHideAbilityTooltip": {
"description": "Hide the ability tooltip",
"panelEvent": true,
"args": []
},
"DOTAHideBuffTooltip": {
"description": "Hide the buff tooltip",
"panelEvent": true,
"args": []
},
"DOTAHideDroppedItemTooltip": {
"description": "Hide the dropped item tooltip",
"panelEvent": true,
"args": []
},
"DOTAHideEconItemTooltip": {
"description": "Hide the econ item tooltip.",
"panelEvent": true,
"args": []
},
"DOTAHideProfileCardBattleCupTooltip": {
"description": "Hide the profile card / battle cup tooltip.",
"panelEvent": true,
"args": []
},
"DOTAHideProfileCardTooltip": {
"description": "Hide the profile card tooltip.",
"panelEvent": true,
"args": []
},
"DOTAHideRankTierTooltip": {
"description": "Hide the rank tier tooltip.",
"panelEvent": true,
"args": []
},
"DOTAHideRuneTooltip": {
"description": "Hide the rune tooltip",
"panelEvent": true,
"args": []
},
"DOTAHideTextTooltip": {
"description": "Hide the text tooltip",
"panelEvent": true,
"args": []
},
"DOTAHideTitleImageTextTooltip": {
"description": "Hide the title image text tooltip.",
"panelEvent": true,
"args": []
},
"DOTAHideTitleTextTooltip": {
"description": "Hide the title text tooltip.",
"panelEvent": true,
"args": []
},
"DOTAShowAbilityInventoryItemTooltip": {
"description": "Show tooltip for an item in the entityIndex NPC's inventory.",
"panelEvent": true,
"args": [
{
"name": "entityIndex",
"type": "int32"
},
{
"name": "inventorySlot",
"type": "int32"
}
]
},
"DOTAShowAbilityShopItemTooltip": {
"description": "Show tooltip for an item in the entityIndex NPC's shop.",
"panelEvent": true,
"args": [
{
"name": "abilityName",
"type": "string"
},
{
"name": "guideName",
"type": "string"
},
{
"name": "entityIndex",
"type": "int32"
}
]
},
"DOTAShowAbilityTooltip": {
"description": "Show an ability tooltip.",
"panelEvent": true,
"args": [
{
"name": "abilityName",
"type": "string"
}
]
},
"DOTAShowAbilityTooltipForEntityIndex": {
"description": "Show an ability tooltip. Level information comes from the entity specified by the entityIndex.",
"panelEvent": true,
"args": [
{
"name": "abilityName",
"type": "string"
},
{
"name": "entityIndex",
"type": "int32"
}
]
},
"DOTAShowAbilityTooltipForGuide": {
"description": "Show an ability tooltip annotated with a particular guide's info.",
"panelEvent": true,
"args": [
{
"name": "abilityName",
"type": "string"
},
{
"name": "guideName",
"type": "string"
}
]
},
"DOTAShowAbilityTooltipForHero": {
"description": "Show an ability tooltip for the specified hero.",
"panelEvent": true,
"args": [
{
"name": "abilityName",
"type": "string"
},
{
"name": "heroid",
"type": "int32"
},
{
"name": "bool",
"type": "boo"
}
]
},
"DOTAShowAbilityTooltipForLevel": {
"description": "Show an ability tooltip for a specific level.",
"panelEvent": true,
"args": [
{
"name": "abilityName",
"type": "string"
},
{
"name": "int32",
"type": "int3"
}
]
},
"DOTAShowBuffTooltip": {
"description": "Show a buff tooltip for the specified entityIndex + buff serial.",
"panelEvent": true,
"args": [
{
"name": "entityIndex",
"type": "int32"
},
{
"name": "buffSerial",
"type": "int32"
},
{
"name": "bOnEnemy",
"type": "bool"
}
]
},
"DOTAShowEconItemTooltip": {
"description": "Show the econ item tooltip for a given item, style, and hero. Use 0 for the default style, and -1 for the default hero.",
"panelEvent": true,
"args": [
{
"name": "itemDef",
"type": "class item_definition_index_t"
},
{
"name": "styleIndex",
"type": "class style_index_t"
},
{
"name": "heroID",
"type": "int32"
}
]
}
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
{
"AddStyle": {
"description": "Add a CSS class to a panel.",
"panelEvent": true,
"args": [
{
"name": "class",
"type": "panoramasymbol"
}
]
},
"AddStyleAfterDelay": {
"description": "Add a CSS class to a panel after a specified delay. ",
"panelEvent": true,
"args": [
{
"name": "class",
"type": "panoramasymbol"
},
{
"name": "pre-delay",
"type": "float"
}
]
},
"AddStyleToEachChild": {
"description": "Add a CSS class to all children of this panel.",
"panelEvent": true,
"args": [
{
"name": "class",
"type": "panoramasymbol"
}
]
},
"AddTimedStyle": {
"description": "Add a class for a specified duration, with optional pre-delay; clears existing timers when called with same class. ",
"panelEvent": true,
"args": [
{
"name": "class",
"type": "panoramasymbol"
},
{
"name": "duration",
"type": "float"
},
{
"name": "pre-delay",
"type": "float"
}
]
},
"AsyncEvent": {
"description": "Fire another event after a delay (in seconds).",
"panelEvent": false,
"args": [
{
"name": "delay",
"type": "float"
},
{
"name": "eventToFire",
"type": "event"
}
]
},
"DOTADisplayDashboardTip": {
"description": "Tip to display, panel to attach to (default 'DefaultTipAttachment')",
"panelEvent": false,
"args": [
{
"name": "string",
"type": "string"
},
{
"name": "string",
"type": "string optional"
}
]
},
"DOTAHideAbilityTooltip": {
"description": "Hide the ability tooltip",
"panelEvent": true,
"args": []
},
"DOTAHideBuffTooltip": {
"description": "Hide the buff tooltip",
"panelEvent": true,
"args": []
},
"DOTAHideDroppedItemTooltip": {
"description": "Hide the dropped item tooltip",
"panelEvent": true,
"args": []
},
"DOTAHideEconItemTooltip": {
"description": "Hide the econ item tooltip.",
"panelEvent": true,
"args": []
},
"DOTAHideProfileCardBattleCupTooltip": {
"description": "Hide the profile card / battle cup tooltip.",
"panelEvent": true,
"args": []
},
"DOTAHideProfileCardTooltip": {
"description": "Hide the profile card tooltip.",
"panelEvent": true,
"args": []
},
"DOTAHideRankTierTooltip": {
"description": "Hide the rank tier tooltip.",
"panelEvent": true,
"args": []
},
"DOTAHideRuneTooltip": {
"description": "Hide the rune tooltip",
"panelEvent": true,
"args": []
},
"DOTAHideTextTooltip": {
"description": "Hide the text tooltip",
"panelEvent": true,
"args": []
},
"DOTAHideTI10EventGameTooltip": {
"description": "Hide the ti10 event game tooltip",
"panelEvent": true,
"args": []
},
"DOTAHideTitleImageTextTooltip": {
"description": "Hide the title image text tooltip.",
"panelEvent": true,
"args": []
},
"DOTAHideTitleTextTooltip": {
"description": "Hide the title text tooltip.",
"panelEvent": true,
"args": []
},
"DOTALiveStreamUpcoming": {
"description": "Notify change in RTime32 we expect the stream to start",
"panelEvent": true,
"args": [
{
"name": "time",
"type": "uint32"
}
]
},
"DOTALiveStreamVideoLive": {
"description": "Notify change in stream state (we detected the stream going live)",
"panelEvent": true,
"args": [
{
"name": "isLive",
"type": "bool"
}
]
},
"DOTALiveStreamVideoPlaying": {
"description": "Notify change in video state (is it pointing at a live stream page or not)",
"panelEvent": true,
"args": [
{
"name": "isShowingVideo",
"type": "bool"
}
]
},
"DOTAShowAbilityInventoryItemTooltip": {
"description": "Show tooltip for an item in the entityIndex NPC's inventory.",
"panelEvent": true,
"args": [
{
"name": "entityIndex",
"type": "int32"
},
{
"name": "inventorySlot",
"type": "int32"
}
]
},
"DOTAShowAbilityShopItemTooltip": {
"description": "Show tooltip for an item in the entityIndex NPC's shop.",
"panelEvent": true,
"args": [
{
"name": "abilityName",
"type": "string"
},
{
"name": "guideName",
"type": "string"
},
{
"name": "entityIndex",
"type": "int32"
}
]
},
"DOTAShowAbilityTooltip": {
"description": "Show an ability tooltip.",
"panelEvent": true,
"args": [
{
"name": "abilityName",
"type": "string"
}
]
},
"DOTAShowAbilityTooltipForEntityIndex": {
"description": "Show an ability tooltip. Level information comes from the entity specified by the entityIndex.",
"panelEvent": true,
"args": [
{
"name": "abilityName",
"type": "string"
},
{
"name": "entityIndex",
"type": "int32"
}
]
},
"DOTAShowAbilityTooltipForGuide": {
"description": "Show an ability tooltip annotated with a particular guide's info.",
"panelEvent": true,
"args": [
{
"name": "abilityName",
"type": "string"
},
{
"name": "guideName",
"type": "string"
}
]
},
"DOTAShowAbilityTooltipForHero": {
"description": "Show an ability tooltip for the specified hero.",
"panelEvent": true,
"args": [
{
"name": "abilityName",
"type": "string"
},
{
"name": "heroid",
"type": "int32"
},
{
"name": "bool",
"type": "boo"
}
]
}
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
{
"Global": {
"functions": {
"GetHeroLevel": {
"arg_names": [
"nPlayerID"
]
}
}
}
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
{
"whitelist": {
"npc_dota_hero_ancient_apparition": "1",
"npc_dota_hero_antimage": "1",
"npc_dota_hero_axe": "1",
"npc_dota_hero_bane": "1",
"npc_dota_hero_beastmaster": "1",
"npc_dota_hero_bloodseeker": "1",
"npc_dota_hero_chen": "1",
"npc_dota_hero_crystal_maiden": "1",
"npc_dota_hero_dark_seer": "1",
"npc_dota_hero_dazzle": "1",
"npc_dota_hero_dragon_knight": "1",
"npc_dota_hero_doom_bringer": "1",
"npc_dota_hero_drow_ranger": "1",
"npc_dota_hero_earthshaker": "1",
"npc_dota_hero_enchantress": "1",
"npc_dota_hero_enigma": "1",
"npc_dota_hero_faceless_void": "1",
"npc_dota_hero_furion": "1",
"npc_dota_hero_juggernaut": "1",
"npc_dota_hero_kunkka": "1",
"npc_dota_hero_leshrac": "1",
"npc_dota_hero_lich": "1",
"npc_dota_hero_life_stealer": "1",
"npc_dota_hero_lina": "1",
"npc_dota_hero_lion": "1",
"npc_dota_hero_mirana": "1",
"npc_dota_hero_morphling": "1",
"npc_dota_hero_necrolyte": "1",
"npc_dota_hero_nevermore": "1",
"npc_dota_hero_night_stalker": "1",
"npc_dota_hero_omniknight": "1",
"npc_dota_hero_puck": "1",
"npc_dota_hero_pudge": "1",
"npc_dota_hero_pugna": "1",
"npc_dota_hero_rattletrap": "1",
"npc_dota_hero_razor": "1",
"npc_dota_hero_riki": "1",
"npc_dota_hero_sand_king": "1",
"npc_dota_hero_shadow_shaman": "1",
"npc_dota_hero_slardar": "1",
"npc_dota_hero_sniper": "1",
"npc_dota_hero_spectre": "1",
"npc_dota_hero_storm_spirit": "1",
"npc_dota_hero_sven": "1",
"npc_dota_hero_tidehunter": "1",
"npc_dota_hero_tinker": "1",
"npc_dota_hero_tiny": "1",
"npc_dota_hero_vengefulspirit": "1",
"npc_dota_hero_venomancer": "1",
"npc_dota_hero_viper": "1",
"npc_dota_hero_weaver": "1",
"npc_dota_hero_windrunner": "1",
"npc_dota_hero_witch_doctor": "1",
"npc_dota_hero_zuus": "1",
"npc_dota_hero_broodmother": "1",
"npc_dota_hero_skeleton_king": "1",
"npc_dota_hero_queenofpain": "1",
"npc_dota_hero_huskar": "1",
"npc_dota_hero_jakiro": "1",
"npc_dota_hero_batrider": "1",
"npc_dota_hero_warlock": "1",
"npc_dota_hero_alchemist": "1",
"npc_dota_hero_death_prophet": "1",
"npc_dota_hero_ursa": "1",
"npc_dota_hero_bounty_hunter": "1",
"npc_dota_hero_silencer": "1",
"npc_dota_hero_spirit_breaker": "1",
"npc_dota_hero_invoker": "1",
"npc_dota_hero_clinkz": "1",
"npc_dota_hero_obsidian_destroyer": "1",
"npc_dota_hero_shadow_demon": "1",
"npc_dota_hero_lycan": "1",
"npc_dota_hero_lone_druid": "1",
"npc_dota_hero_brewmaster": "1",
"npc_dota_hero_phantom_lancer": "1",
"npc_dota_hero_treant": "1",
"npc_dota_hero_ogre_magi": "1",
"npc_dota_hero_chaos_knight": "1",
"npc_dota_hero_phantom_assassin": "1",
"npc_dota_hero_gyrocopter": "1",
"npc_dota_hero_rubick": "1",
"npc_dota_hero_luna": "1",
"npc_dota_hero_wisp": "1",
"npc_dota_hero_disruptor": "1",
"npc_dota_hero_undying": "1",
"npc_dota_hero_templar_assassin": "1",
"npc_dota_hero_naga_siren": "1",
"npc_dota_hero_nyx_assassin": "1",
"npc_dota_hero_keeper_of_the_light": "1",
"npc_dota_hero_visage": "1",
"npc_dota_hero_meepo": "1",
"npc_dota_hero_magnataur": "1",
"npc_dota_hero_centaur": "1",
"npc_dota_hero_slark": "1",
"npc_dota_hero_shredder": "1",
"npc_dota_hero_medusa": "1",
"npc_dota_hero_troll_warlord": "1",
"npc_dota_hero_tusk": "1",
"npc_dota_hero_bristleback": "1",
"npc_dota_hero_skywrath_mage": "1",
"npc_dota_hero_elder_titan": "1",
"npc_dota_hero_abaddon": "1",
"npc_dota_hero_earth_spirit": "1",
"npc_dota_hero_ember_spirit": "1",
"npc_dota_hero_legion_commander": "1",
"npc_dota_hero_phoenix": "1",
"npc_dota_hero_terrorblade": "1",
"npc_dota_hero_techies": "1",
"npc_dota_hero_oracle": "1",
"npc_dota_hero_winter_wyvern": "1",
"npc_dota_hero_arc_warden": "1",
"npc_dota_hero_abyssal_underlord": "1",
"npc_dota_hero_monkey_king": "1",
"npc_dota_hero_dark_willow": "1",
"npc_dota_hero_pangolier": "1",
"npc_dota_hero_grimstroke": "1",
"npc_dota_hero_mars": "1",
"npc_dota_hero_snapfire": "1",
"npc_dota_hero_void_spirit": "1",
"npc_dota_hero_hoodwink": "1",
"npc_dota_hero_dawnbreaker": "1",
"npc_dota_hero_marci": "1",
"npc_dota_hero_primal_beast": "1",
"npc_dota_hero_muerta": "1"
}
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
"CommonItems"
{
"item_tpscroll" "1"
"item_ward_observer" "1"
"item_ward_sentry" "1"
"item_smoke_of_deceit" "1"
"item_dust" "1"
"item_tome_of_knowledge" "1"
"item_clarity" "1"
"item_faerie_fire" "1"
"item_enchanted_mango" "1"
"item_tango" "1"
"item_flask" "1"
"item_infused_raindrop" "1"
"item_magic_wand" "1"
"item_bottle" "1"
"item_wind_lace" "1"
"item_gem" "1"
"item_blink" "1"
"item_travel_boots" "1"
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
// Dota Heroes File
"DOTAAbilities"
{
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
// Dota Heroes File
"DOTAAbilities"
{
"Version" "1"
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
// Dota Heroes File
"DOTAHeroes"
{
"Version" "1"
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
"DOTACardPortraitInfo"
{
"DefaultActivity" "ACT_DOTA_CAPTURE"
"UseModelScale" "0"
"models/heroes/antimage_female/antimage_female.vmdl"
{
"cameras"
{
"Default"
{
"PortraitPosition" "99.922729 -191.042252 102.635201"
"PortraitAngles" "347.163422 116.304001 -9.360001"
"PortraitFOV" "10.000000"
"PortraitFar" "3303.399902"
}
}
"PortraitLightPosition" "54.049202 87.702721 229.578262"
"PortraitLightAngles" "32.906242 -122.835106 -12.825317"
"PortraitLightFOV" "50.504002"
"PortraitLightDistance" "212.979996"
"PortraitLightColor" "51 153 255"
"PortraitLightScale" "4.213000"
"PortraitShadowColor" "173 21 255"
"PortraitShadowScale" "1.000000"
"PortraitGroundShadowScale" "1.500000"
"PortraitAmbientDirection" "0.708 -0.647 0.282"
"PortraitAmbientColor" "206 142 90"
"PortraitAmbientScale" "10.000000"
"PortraitSpecularColor" "251 74 84"
"PortraitSpecularDirection" "0.000000 0.000000 -1.000000"
"PortraitSpecularPower" "16.000000"
"PortraitBackgroundColor1" "1.000000 1.000000 1.000000"
"PortraitBackgroundColor2" "1.000000 1.000000 1.000000"
"PortraitBackgroundColor3" "1.000000 1.000000 1.000000"
"PortraitBackgroundColor4" "1.000000 1.000000 1.000000"
"PortraitBackgroundTexture" "materials\portraits_card\portrait_backgrounds\antimage_persona.vmat"
"PortraitAnimationActivity" "ACT_DOTA_CAPTURE"
"PortraitAnimationCycle" "0.142857"
"PortraitAnimationRate" "1.000000"
"PortraitPlayIdleExpression" "0"
"PortraitHideHero" "0"
"PortraitHideParticles" "0"
"PortraitHideDropShadow" "0"
"PortraitDesaturateParticles" "0"
"PortraitDesaturateHero" "1"
}
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment