Difference between revisions of "Manual:DIL Manual/extraptr"

From DikuMUD Wiki
Jump to navigation Jump to search
(Adding members)
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
  
 
Members:
 
Members:
 
+
{| class="wikitable"
next : extraptr to the next linked extra description. NULL if none
+
|-
 
+
! member !! type !! description
names : stringlist of names on the extra description. NULL if none
+
|-
 
+
| next || extraptr || Points to the next linked extra description. NULL if none
vals : intlist of integers on the extra description. NULL if none
+
|-
 
+
| names || [[Manual:DIL_Manual/stringlist|stringlist]] || Array of names on the extra description. NULL if none
descr :string of text.
+
|-
 +
| 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