-
Notifications
You must be signed in to change notification settings - Fork 6
/
FormList.psc
31 lines (21 loc) · 940 Bytes
/
FormList.psc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Scriptname FormList extends Form
; Adds the given form to this form list
Function AddForm(Form apForm) native
; Finds the specified form in the form list and returns its index.
; If not found, returns a negative number
int Function Find(Form apForm) native
; Returns the number of forms in the list
int Function GetSize() native
; Returns the form at index 'aiIndex' in the list
Form Function GetAt(int aiIndex) native
; Queries the form list to see if it contains the passed in form
bool Function HasForm(Form akForm) native
; Removes the given added form from this form list
Function RemoveAddedForm(Form apForm) native
; Removes all script added forms from this form list
Function Revert() native
; SKSE additions built 2015-05-24 00:46:48.937000 UTC
; Returns a Form array of this list (Invalid entries will be None)
Form[] Function ToArray() native
; Adds an Array of Forms to this list
Function AddForms(Form[] forms) native