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

From DikuMUD Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
+
==extraptr==
 
+
Extra descriptions, quests structures, etc can be searched and manipulated
<span id="eptr"></span>
+
using variables of this type. There is no way to declare static structures of
'''Extraptr:'''
+
this type in DIL programs. Lists of extra descriptions are easily searched with
 
+
the 'in' operator (See below).  Extraptr variables are 'volatile', and thus
  Extra descriptions, quests structures, etc can be searched and manipulated
+
cleared whenever there is a possibility that they are rendered unusable.
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:
 
Members:

Revision as of 10:46, 29 November 2025

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