Core Rules
WoTC AD&D 2nd Edition -- Drakein API Reference
Loading...
Searching...
No Matches
IEncounterOb.h File Reference

One encounter record (top-level in Encount.dat / EncountU.dat). More...

#include "API.h"

Classes

class  CoreRules::IEncounterOb
 One encounter record. More...

Namespaces

namespace  CoreRules

Functions

IEncounterObCoreRules::CreateEncounterOb ()
 Factory for a standalone encounter (not in any table).
void CoreRules::DestroyEncounterOb (IEncounterOb *p)
 Release a standalone encounter.

Detailed Description

One encounter record (top-level in Encount.dat / EncountU.dat).

Encounters bundle identity (name / type / template / description) with participants (monster packages, NPC packages, traps) and rewards (treasure bundle + additional-items bundle). Loaded into the global Encounter_Record table.

Composite class: owns Monster-Package and NPC-Package and Trap children plus two IInventoryBundle instances by value. IsDirty walks all of them.