Skip to content

Commit

Permalink
API updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Resike committed Nov 6, 2018
1 parent ba79b08 commit 505da77
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -827,8 +827,8 @@
{"trigger": "GetSpellCount\t(\"name\")", "contents": "GetSpellCount(\"${1:name}\")$0"},
{"trigger": "GetSpellCritChance\t(school)", "contents": "GetSpellCritChance(${1:school})$0"},
{"trigger": "GetSpellDescription\t(spellID)", "contents": "GetSpellDescription(${1:spellID})$0"},
{"trigger": "GetSpellInfo\t(id, [spellRank])", "contents": "GetSpellInfo(${1:id}, ${2:[spellRank]})$0"},
{"trigger": "GetSpellInfo\t(\"name\", [spellRank])", "contents": "GetSpellInfo(\"${1:name}\", ${2:[spellRank]})$0"},
{"trigger": "GetSpellInfo\t(id, ["spellRank"])", "contents": "GetSpellInfo(${1:id}, ${2:["spellRank"]})$0"},
{"trigger": "GetSpellInfo\t(\"name\", ["spellRank"])", "contents": "GetSpellInfo(\"${1:name}\", ${2:["spellRank"]})$0"},
{"trigger": "GetSpellLink\t(id)", "contents": "GetSpellLink(${1:id})$0"},
{"trigger": "GetSpellLink\t(index, \"bookType\")", "contents": "GetSpellLink(${1:index}, \"${2:bookType}\")$0"},
{"trigger": "GetSpellLink\t(\"name\")", "contents": "GetSpellLink(\"${1:name}\")$0"},
Expand Down Expand Up @@ -2168,8 +2168,8 @@
{"trigger": "_GetSpellCount\t(\"name\")", "contents": "${1:numCasts} = GetSpellCount(\"${2:name}\")$0"},
{"trigger": "_GetSpellCritChance\t(school)", "contents": "${1:minCrit} = GetSpellCritChance(${2:school})$0"},
{"trigger": "_GetSpellDescription\t(spellID)", "contents": "${1:desc} = GetSpellDescription(${2:spellID})$0"},
{"trigger": "_GetSpellInfo\t(id, [spellRank])", "contents": "${1:name}, ${2:rank}, ${3:icon}, ${4:castTime}, ${5:minRange}, ${6:maxRange}, ${7:spellID} = GetSpellInfo(${8:id}, ${9:[spellRank]})$0"},
{"trigger": "_GetSpellInfo\t(\"name\", [spellRank])", "contents": "${1:name}, ${2:rank}, ${3:icon}, ${4:castTime}, ${5:minRange}, ${6:maxRange}, ${7:spellID} = GetSpellInfo(\"${8:name}\", ${9:[spellRank]})$0"},
{"trigger": "_GetSpellInfo\t(id, ["spellRank"])", "contents": "${1:name}, ${2:rank}, ${3:icon}, ${4:castTime}, ${5:minRange}, ${6:maxRange}, ${7:spellID} = GetSpellInfo(${8:id}, ${9:["spellRank"]})$0"},
{"trigger": "_GetSpellInfo\t(\"name\", ["spellRank"])", "contents": "${1:name}, ${2:rank}, ${3:icon}, ${4:castTime}, ${5:minRange}, ${6:maxRange}, ${7:spellID} = GetSpellInfo(\"${8:name}\", ${9:["spellRank"]})$0"},
{"trigger": "_GetSpellLink\t(id)", "contents": "${1:link}, ${2:tradeLink} = GetSpellLink(${3:id})$0"},
{"trigger": "_GetSpellLink\t(index, \"bookType\")", "contents": "${1:link}, ${2:tradeLink} = GetSpellLink(${3:index}, \"${4:bookType}\")$0"},
{"trigger": "_GetSpellLink\t(\"name\")", "contents": "${1:link}, ${2:tradeLink} = GetSpellLink(\"${3:name}\")$0"},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<snippet>
<content><![CDATA[GetSpellInfo(${1:id}, ${2:[spellRank]})$0]]></content>
<content><![CDATA[GetSpellInfo(${1:id}, ${2:["spellRank"]})$0]]></content>
<tabTrigger>GetSpellInfo</tabTrigger>
<description>(id, [spellRank])</description>
<description>(id, ["spellRank"])</description>
<scope>source.lua - entity - punctuation - keyword - string - meta.function.arguments.lua - meta.punctuation.lua - meta.method-call.lua</scope>
</snippet>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<snippet>
<content><![CDATA[GetSpellInfo("${1:name}", ${2:[spellRank]})$0]]></content>
<content><![CDATA[GetSpellInfo("${1:name}", ${2:["spellRank"]})$0]]></content>
<tabTrigger>GetSpellInfo</tabTrigger>
<description>("name", [spellRank])</description>
<description>("name", ["spellRank"])</description>
<scope>source.lua - entity - punctuation - keyword - string - meta.function.arguments.lua - meta.punctuation.lua - meta.method-call.lua</scope>
</snippet>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<snippet>
<content><![CDATA[${1:name}, ${2:rank}, ${3:icon}, ${4:castTime}, ${5:minRange}, ${6:maxRange}, ${7:spellID} = GetSpellInfo(${8:id}, ${9:[spellRank]})$0]]></content>
<content><![CDATA[${1:name}, ${2:rank}, ${3:icon}, ${4:castTime}, ${5:minRange}, ${6:maxRange}, ${7:spellID} = GetSpellInfo(${8:id}, ${9:["spellRank"]})$0]]></content>
<tabTrigger>_GetSpellInfo</tabTrigger>
<description>(id, [spellRank])</description>
<description>(id, ["spellRank"])</description>
<scope>source.lua - entity - punctuation - keyword - string - meta.function.arguments.lua - meta.punctuation.lua - meta.method-call.lua</scope>
</snippet>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<snippet>
<content><![CDATA[${1:name}, ${2:rank}, ${3:icon}, ${4:castTime}, ${5:minRange}, ${6:maxRange}, ${7:spellID} = GetSpellInfo("${8:name}", ${9:[spellRank]})$0]]></content>
<content><![CDATA[${1:name}, ${2:rank}, ${3:icon}, ${4:castTime}, ${5:minRange}, ${6:maxRange}, ${7:spellID} = GetSpellInfo("${8:name}", ${9:["spellRank"]})$0]]></content>
<tabTrigger>_GetSpellInfo</tabTrigger>
<description>("name", [spellRank])</description>
<description>("name", ["spellRank"])</description>
<scope>source.lua - entity - punctuation - keyword - string - meta.function.arguments.lua - meta.punctuation.lua - meta.method-call.lua</scope>
</snippet>

0 comments on commit 505da77

Please sign in to comment.