Skip to content

Commit 2451bac

Browse files
committed
Updated SkyUI SDK snippets
Updated to SkyUI 5.1 (API version 4)
1 parent 5180768 commit 2451bac

10 files changed

+63
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<snippet>
2+
<tabTrigger>AddInputOption</tabTrigger>
3+
<scope>source.papyrus</scope>
4+
<description>SKI_ConfigBase.AddInputOption (SkyUI)</description>
5+
<content><![CDATA[AddInputOption(${1:string a_text}, ${2:string a_value}, ${3:int a_flags = 0})]]></content>
6+
</snippet>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<snippet>
2+
<tabTrigger>AddInputOptionST</tabTrigger>
3+
<scope>source.papyrus</scope>
4+
<description>SKI_ConfigBase.AddInputOptionST (SkyUI)</description>
5+
<content><![CDATA[AddInputOptionST(${1:string a_stateName}, ${2:string a_text}, ${3:string a_value}, ${4:int a_flags = 0})]]></content>
6+
</snippet>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<snippet>
2+
<tabTrigger>OnInputAcceptST</tabTrigger>
3+
<scope>source.papyrus</scope>
4+
<description>SKI_ConfigBase.OnInputAcceptST (SkyUI)</description>
5+
<content><![CDATA[Event OnInputAcceptST(${1:string a_input})
6+
${0}
7+
EndEvent]]></content>
8+
</snippet>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<snippet>
2+
<tabTrigger>OnInputOpenST</tabTrigger>
3+
<scope>source.papyrus</scope>
4+
<description>SKI_ConfigBase.OnInputOpenST (SkyUI)</description>
5+
<content><![CDATA[Event OnInputOpenST()
6+
${0}
7+
EndEvent]]></content>
8+
</snippet>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<snippet>
2+
<tabTrigger>OnOptionInputAccept</tabTrigger>
3+
<scope>source.papyrus</scope>
4+
<description>SKI_ConfigBase.OnOptionInputAccept (SkyUI)</description>
5+
<content><![CDATA[Event OnOptionInputAccept(${1:int a_option}, ${2:string a_input})
6+
${0}
7+
EndEvent]]></content>
8+
</snippet>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<snippet>
2+
<tabTrigger>OnOptionInputOpen</tabTrigger>
3+
<scope>source.papyrus</scope>
4+
<description>SKI_ConfigBase.OnOptionInputOpen (SkyUI)</description>
5+
<content><![CDATA[Event OnOptionInputOpen(${1:int a_option})
6+
${0}
7+
EndEvent]]></content>
8+
</snippet>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<snippet>
2+
<tabTrigger>SetInputDialogStartText</tabTrigger>
3+
<scope>source.papyrus</scope>
4+
<description>SKI_ConfigBase.SetInputDialogStartText (SkyUI)</description>
5+
<content><![CDATA[SetInputDialogStartText(${1:string a_text})]]></content>
6+
</snippet>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<snippet>
2+
<tabTrigger>SetInputOptionValue</tabTrigger>
3+
<scope>source.papyrus</scope>
4+
<description>SKI_ConfigBase.SetInputOptionValue (SkyUI)</description>
5+
<content><![CDATA[SetInputOptionValue(${1:int a_option}, ${2:string a_value}, ${3:bool a_noUpdate = false})]]></content>
6+
</snippet>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<snippet>
2+
<tabTrigger>SetInputOptionValueST</tabTrigger>
3+
<scope>source.papyrus</scope>
4+
<description>SKI_ConfigBase.SetInputOptionValueST (SkyUI)</description>
5+
<content><![CDATA[SetInputOptionValueST(${1:string a_value}, ${2:bool a_noUpdate = false}, ${3:string a_stateName})]]></content>
6+
</snippet>

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Includes function/event snippets and syntax definitions for:
1313
- [PapyrusUtil](http://www.nexusmods.com/skyrim/mods/58705/) (2.8)
1414
- [SKSE](http://skse.silverlock.org) (1.7.3)
1515
- [SkyUILib](https://github.com/schlangster/skyui-lib/wiki) (1)
16-
- [SkyUI SDK](https://github.com/schlangster/skyui/wiki) (5.0)
16+
- [SkyUI SDK](https://github.com/schlangster/skyui/wiki) (5.1)
1717
- [UIExtensions](http://www.nexusmods.com/skyrim/mods/57046/) (1.2.0)
1818

1919

0 commit comments

Comments
 (0)