Skip to content

Commit

Permalink
Updated SkyUI SDK snippets
Browse files Browse the repository at this point in the history
Updated to SkyUI 5.1 (API version 4)
  • Loading branch information
Kapiainen committed Aug 18, 2015
1 parent 5180768 commit 2451bac
Show file tree
Hide file tree
Showing 10 changed files with 63 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Libraries/SkyUI/SKI_ConfigBase.AddInputOption.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>AddInputOption</tabTrigger>
<scope>source.papyrus</scope>
<description>SKI_ConfigBase.AddInputOption (SkyUI)</description>
<content><![CDATA[AddInputOption(${1:string a_text}, ${2:string a_value}, ${3:int a_flags = 0})]]></content>
</snippet>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>AddInputOptionST</tabTrigger>
<scope>source.papyrus</scope>
<description>SKI_ConfigBase.AddInputOptionST (SkyUI)</description>
<content><![CDATA[AddInputOptionST(${1:string a_stateName}, ${2:string a_text}, ${3:string a_value}, ${4:int a_flags = 0})]]></content>
</snippet>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<snippet>
<tabTrigger>OnInputAcceptST</tabTrigger>
<scope>source.papyrus</scope>
<description>SKI_ConfigBase.OnInputAcceptST (SkyUI)</description>
<content><![CDATA[Event OnInputAcceptST(${1:string a_input})
${0}
EndEvent]]></content>
</snippet>
8 changes: 8 additions & 0 deletions Libraries/SkyUI/SKI_ConfigBase.OnInputOpenST.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<snippet>
<tabTrigger>OnInputOpenST</tabTrigger>
<scope>source.papyrus</scope>
<description>SKI_ConfigBase.OnInputOpenST (SkyUI)</description>
<content><![CDATA[Event OnInputOpenST()
${0}
EndEvent]]></content>
</snippet>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<snippet>
<tabTrigger>OnOptionInputAccept</tabTrigger>
<scope>source.papyrus</scope>
<description>SKI_ConfigBase.OnOptionInputAccept (SkyUI)</description>
<content><![CDATA[Event OnOptionInputAccept(${1:int a_option}, ${2:string a_input})
${0}
EndEvent]]></content>
</snippet>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<snippet>
<tabTrigger>OnOptionInputOpen</tabTrigger>
<scope>source.papyrus</scope>
<description>SKI_ConfigBase.OnOptionInputOpen (SkyUI)</description>
<content><![CDATA[Event OnOptionInputOpen(${1:int a_option})
${0}
EndEvent]]></content>
</snippet>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>SetInputDialogStartText</tabTrigger>
<scope>source.papyrus</scope>
<description>SKI_ConfigBase.SetInputDialogStartText (SkyUI)</description>
<content><![CDATA[SetInputDialogStartText(${1:string a_text})]]></content>
</snippet>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>SetInputOptionValue</tabTrigger>
<scope>source.papyrus</scope>
<description>SKI_ConfigBase.SetInputOptionValue (SkyUI)</description>
<content><![CDATA[SetInputOptionValue(${1:int a_option}, ${2:string a_value}, ${3:bool a_noUpdate = false})]]></content>
</snippet>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>SetInputOptionValueST</tabTrigger>
<scope>source.papyrus</scope>
<description>SKI_ConfigBase.SetInputOptionValueST (SkyUI)</description>
<content><![CDATA[SetInputOptionValueST(${1:string a_value}, ${2:bool a_noUpdate = false}, ${3:string a_stateName})]]></content>
</snippet>
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Includes function/event snippets and syntax definitions for:
- [PapyrusUtil](http://www.nexusmods.com/skyrim/mods/58705/) (2.8)
- [SKSE](http://skse.silverlock.org) (1.7.3)
- [SkyUILib](https://github.com/schlangster/skyui-lib/wiki) (1)
- [SkyUI SDK](https://github.com/schlangster/skyui/wiki) (5.0)
- [SkyUI SDK](https://github.com/schlangster/skyui/wiki) (5.1)
- [UIExtensions](http://www.nexusmods.com/skyrim/mods/57046/) (1.2.0)


Expand Down

0 comments on commit 2451bac

Please sign in to comment.