Difference between revisions of "Manual:DIL Manual/extraptr"
Jump to navigation
Jump to search
(XML import) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
the 'in' operator (See below). Extraptr variables are 'volatile', and thus | the 'in' operator (See below). Extraptr variables are 'volatile', and thus | ||
cleared whenever there is a possibility that they are rendered unusable. | cleared whenever there is a possibility that they are rendered unusable. | ||
+ | |||
+ | Members: | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! member !! type !! description | ||
+ | |- | ||
+ | | next || extraptr || Points to the next linked extra description. NULL if none | ||
+ | |- | ||
+ | | names || [[Manual:DIL_Manual/stringlist|stringlist]] || Array of names on the extra description. NULL if none | ||
+ | |- | ||
+ | | vals || [[Manual:DIL_Manual/integerlist|intlist]] || Array of integers on the extra description. NULL if none | ||
+ | |- | ||
+ | | descr || [[Manual:DIL_Manual/string|string]] || string of text | ||
+ | |} |
Latest revision as of 07:03, 2 June 2020
Extraptr:
Extra descriptions, quests structures, etc can be searched and manipulated using variables of this type. There is no way to declare static structures of this type in DIL programs. Lists of extra descriptions are easily searched with the 'in' operator (See below). Extraptr variables are 'volatile', and thus cleared whenever there is a possibility that they are rendered unusable.
Members:
member | type | description |
---|---|---|
next | extraptr | Points to the next linked extra description. NULL if none |
names | stringlist | Array of names on the extra description. NULL if none |
vals | intlist | Array of integers on the extra description. NULL if none |
descr | string | string of text |