|
| virtual | ~IEncTemplateOb () |
| virtual const char * | GetName () const =0 |
| | Template name (unique within the EncTemplate_Record table).
|
| virtual bool | SetName (const char *v)=0 |
| | Rename the template.
|
| virtual long | GetFrequencyPct () const =0 |
| | Frequency percent (0=Exempt, 4=VRare, 11=Rare, 20=Uncommon, 65=Common).
|
| virtual bool | SetFrequencyPct (long v)=0 |
| | Set frequency percent.
|
| virtual long | GetHitDice () const =0 |
| | Hit-dice band (filter for which power level of party this fits).
|
| virtual bool | SetHitDice (long v)=0 |
| | Set hit-dice band.
|
| virtual const char * | GetMonsterType () const =0 |
| | Monster type filter (e.g. "Humanoid", "Undead").
|
| virtual bool | SetMonsterType (const char *v)=0 |
| | Set monster type filter.
|
| virtual const char * | GetDescription () const =0 |
| | Free-form description shown in the editor.
|
| virtual void | SetDescription (const char *v)=0 |
| | Set description.
|
| virtual const char * | GetTerrain () const =0 |
| | Terrain description (free-form prose; separate from terrain-flag matrix).
|
| virtual void | SetTerrain (const char *v)=0 |
| | Set terrain description.
|
| virtual bool | IsLairAndWandering () const =0 |
| | true if this template fires in both lair and wandering encounters.
|
| virtual void | IsLairAndWandering (bool v)=0 |
| | Set lair-and-wandering mode (clears the other two flags).
|
| virtual bool | IsLair () const =0 |
| | true if this template fires only in lair encounters.
|
| virtual void | IsLair (bool v)=0 |
| | Set lair-only mode (clears the other two flags).
|
| virtual bool | IsWandering () const =0 |
| | true if this template fires only as a wandering encounter.
|
| virtual void | IsWandering (bool v)=0 |
| | Set wandering-only mode (clears the other two flags).
|
| virtual int | GetMonsterPropsCount () const =0 |
| | Number of Monster-Properties rows.
|
| virtual const IEncTemplateMonsterPropertiesOb * | GetMonsterProps (int index) const =0 |
| | Monster-Properties row at index (read-only).
|
| virtual IEncTemplateMonsterPropertiesOb * | GetMonsterProps (int index)=0 |
| | Monster-Properties row at index (mutable).
|
| virtual bool | AddMonsterProps (const IEncTemplateMonsterPropertiesOb *src)=0 |
| | Append a deep copy of src as a Monster-Properties row.
|
| virtual bool | RemoveMonsterPropsAt (int index)=0 |
| | Remove Monster-Properties row at index.
|
| virtual void | ClearMonsterProps ()=0 |
| | Remove all Monster-Properties rows.
|
| virtual int | GetNPCPropsCount () const =0 |
| | Number of NPC-Properties rows.
|
| virtual const IEncTemplateNPCPropertiesOb * | GetNPCProps (int index) const =0 |
| | NPC-Properties row at index (read-only).
|
| virtual IEncTemplateNPCPropertiesOb * | GetNPCProps (int index)=0 |
| | NPC-Properties row at index (mutable).
|
| virtual bool | AddNPCProps (const IEncTemplateNPCPropertiesOb *src)=0 |
| | Append a deep copy of src as an NPC-Properties row.
|
| virtual bool | RemoveNPCPropsAt (int index)=0 |
| | Remove NPC-Properties row at index.
|
| virtual void | ClearNPCProps ()=0 |
| | Remove all NPC-Properties rows.
|
| virtual int | GetTrapCount () const =0 |
| | Number of traps in this template.
|
| virtual const ITrapOb * | GetTrap (int index) const =0 |
| | Trap at index (read-only).
|
| virtual ITrapOb * | GetTrap (int index)=0 |
| | Trap at index (mutable).
|
| virtual bool | AddTrap (const ITrapOb *src)=0 |
| | Append a deep copy of src as a trap.
|
| virtual bool | RemoveTrapAt (int index)=0 |
| | Remove trap at index.
|
| virtual void | ClearTraps ()=0 |
| | Remove all traps.
|
| virtual int | GetItemPropsCount () const =0 |
| | Number of Item-Properties rows.
|
| virtual const IEncTemplateItemPropertiesOb * | GetItemProps (int index) const =0 |
| | Item-Properties row at index (read-only).
|
| virtual IEncTemplateItemPropertiesOb * | GetItemProps (int index)=0 |
| | Item-Properties row at index (mutable).
|
| virtual bool | AddItemProps (const IEncTemplateItemPropertiesOb *src)=0 |
| | Append a deep copy of src as an Item-Properties row.
|
| virtual bool | RemoveItemPropsAt (int index)=0 |
| | Remove Item-Properties row at index.
|
| virtual void | ClearItemProps ()=0 |
| | Remove all Item-Properties rows.
|
| virtual long | GetTreasureTypeAmount (int index) const =0 |
| | Treasure amount for type index ([0, kTreasureTypes) = A..Z).
|
| virtual bool | SetTreasureTypeAmount (int index, long v)=0 |
| | Set treasure amount for type.
|
| virtual long | GetClimateFlag (int index) const =0 |
| | Climate flag at slot ([0, kClimateFlags)).
|
| virtual bool | SetClimateFlag (int index, long v)=0 |
| | Set climate flag at slot.
|
| virtual long | GetTerrainFlag (int index) const =0 |
| | Terrain flag at slot ([0, kTerrainFlags)).
|
| virtual bool | SetTerrainFlag (int index, long v)=0 |
| | Set terrain flag at slot.
|
| virtual bool | IsDirty () const =0 |
| | Composite walk (own state + every owned sub-row + every trap).
|
| virtual void | MarkClean ()=0 |
| | Clear dirty flag (recursive).
|
| virtual IEncTemplateOb * | Clone () const =0 |
| | Deep copy via Serialize round-trip.
|
One encounter-template record.
Created and owned by an IEncTemplateRecord (the EncTemplate_Record global table); consumers typically reach instances via the table.