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

From DikuMUD Wiki
Jump to navigation Jump to search
(Adding members)
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 || stringlist || Array of names on the extra description. NULL if none
descr :string of text.
+
|-
 +
| vals || intlist || Array of integers on the extra description. NULL if none
 +
|-
 +
| descr || string || string of text
 +
|}

Revision as of 10:55, 1 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