Skip to content

Commit ff580f8

Browse files
committed
Updated snippets
Added snippets that were missing due to a bug in the program that stopped the program from generating snippets for functions that return arrays.
1 parent 3a81e2a commit ff580f8

9 files changed

+54
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<snippet>
2+
<tabTrigger>GetFactions</tabTrigger>
3+
<scope>source.papyrus</scope>
4+
<description>Actor.GetFactions (SKSE)</description>
5+
<content><![CDATA[GetFactions(${1:int minRank}, ${2:int maxRank})]]></content>
6+
</snippet>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<snippet>
2+
<tabTrigger>GetPerks</tabTrigger>
3+
<scope>source.papyrus</scope>
4+
<description>ActorValueInfo.GetPerks (SKSE)</description>
5+
<content><![CDATA[GetPerks(${1:Actor akActor = None}, ${2:bool unowned = true}, ${3:bool allRanks = false})]]></content>
6+
</snippet>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<snippet>
2+
<tabTrigger>GetContainerForms</tabTrigger>
3+
<scope>source.papyrus</scope>
4+
<description>ObjectReference.GetContainerForms (SKSE)</description>
5+
<content><![CDATA[GetContainerForms()]]></content>
6+
</snippet>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<snippet>
2+
<tabTrigger>CreateAliasArray</tabTrigger>
3+
<scope>source.papyrus</scope>
4+
<description>Utility.CreateAliasArray (SKSE)</description>
5+
<content><![CDATA[CreateAliasArray(${1:int size}, ${2:Alias fill = None})]]></content>
6+
</snippet>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<snippet>
2+
<tabTrigger>CreateBoolArray</tabTrigger>
3+
<scope>source.papyrus</scope>
4+
<description>Utility.CreateBoolArray (SKSE)</description>
5+
<content><![CDATA[CreateBoolArray(${1:int size}, ${2:bool fill = false})]]></content>
6+
</snippet>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<snippet>
2+
<tabTrigger>CreateFloatArray</tabTrigger>
3+
<scope>source.papyrus</scope>
4+
<description>Utility.CreateFloatArray (SKSE)</description>
5+
<content><![CDATA[CreateFloatArray(${1:int size}, ${2:float fill = 0})]]></content>
6+
</snippet>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<snippet>
2+
<tabTrigger>CreateFormArray</tabTrigger>
3+
<scope>source.papyrus</scope>
4+
<description>Utility.CreateFormArray (SKSE)</description>
5+
<content><![CDATA[CreateFormArray(${1:int size}, ${2:Form fill = None})]]></content>
6+
</snippet>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<snippet>
2+
<tabTrigger>CreateIntArray</tabTrigger>
3+
<scope>source.papyrus</scope>
4+
<description>Utility.CreateIntArray (SKSE)</description>
5+
<content><![CDATA[CreateIntArray(${1:int size}, ${2:int fill = 0})]]></content>
6+
</snippet>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<snippet>
2+
<tabTrigger>CreateStringArray</tabTrigger>
3+
<scope>source.papyrus</scope>
4+
<description>Utility.CreateStringArray (SKSE)</description>
5+
<content><![CDATA[CreateStringArray(${1:int size}, ${2:string fill})]]></content>
6+
</snippet>

0 commit comments

Comments
 (0)