Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
ModuleInfo Class Reference

#include <ThingTemplate.h>

Public Member Functions

 ModuleInfo ()
 
void addModuleInfo (ThingTemplate *thingTemplate, const AsciiString &name, const AsciiString &moduleTag, const ModuleData *data, Int interfaceMask, Bool inheritable, Bool overrideableByLikeKind=FALSE)
 
const ModuleInfo::Nugget * getNuggetWithTag (const AsciiString &tag) const
 
Int getCount () const
 
AsciiString getNthName (Int i) const
 
AsciiString getNthTag (Int i) const
 
const ModuleDatagetNthData (Int i) const
 
ModuleDatafriend_getNthData (Int i)
 
void clear ()
 
void setCopiedFromDefault (Bool v)
 
Bool clearModuleDataWithTag (const AsciiString &tagToClear, AsciiString &clearedModuleNameOut)
 
Bool clearCopiedFromDefaultEntries (Int interfaceMask, const AsciiString &name, const ThingTemplate *fullTemplate)
 
Bool clearAiModuleInfo ()
 

Detailed Description

Definition at line 250 of file ThingTemplate.h.

Constructor & Destructor Documentation

◆ ModuleInfo()

ModuleInfo::ModuleInfo ( )
inline

Definition at line 279 of file ThingTemplate.h.

Member Function Documentation

◆ addModuleInfo()

void ModuleInfo::addModuleInfo ( ThingTemplate * thingTemplate,
const AsciiString & name,
const AsciiString & moduleTag,
const ModuleData * data,
Int interfaceMask,
Bool inheritable,
Bool overrideableByLikeKind = FALSE )

Add this module info to the thing template

Definition at line 299 of file ThingTemplate.cpp.

◆ clear()

void ModuleInfo::clear ( )
inline

Definition at line 329 of file ThingTemplate.h.

◆ clearAiModuleInfo()

Bool ModuleInfo::clearAiModuleInfo ( )

Definition at line 489 of file ThingTemplate.cpp.

◆ clearCopiedFromDefaultEntries()

Bool ModuleInfo::clearCopiedFromDefaultEntries ( Int interfaceMask,
const AsciiString & name,
const ThingTemplate * fullTemplate )

Definition at line 406 of file ThingTemplate.cpp.

◆ clearModuleDataWithTag()

Bool ModuleInfo::clearModuleDataWithTag ( const AsciiString & tagToClear,
AsciiString & clearedModuleNameOut )

Definition at line 376 of file ThingTemplate.cpp.

◆ friend_getNthData()

ModuleData * ModuleInfo::friend_getNthData ( Int i)

Definition at line 1604 of file ThingTemplate.cpp.

◆ getCount()

Int ModuleInfo::getCount ( ) const
inline

Definition at line 284 of file ThingTemplate.h.

◆ getNthData()

const ModuleData * ModuleInfo::getNthData ( Int i) const
inline

Definition at line 317 of file ThingTemplate.h.

◆ getNthName()

AsciiString ModuleInfo::getNthName ( Int i) const
inline

Definition at line 299 of file ThingTemplate.h.

◆ getNthTag()

AsciiString ModuleInfo::getNthTag ( Int i) const
inline

Definition at line 308 of file ThingTemplate.h.

◆ getNuggetWithTag()

const ModuleInfo::Nugget * ModuleInfo::getNuggetWithTag ( const AsciiString & tag) const

See if the tag string is present in any of the module info entries here

Definition at line 283 of file ThingTemplate.cpp.

◆ setCopiedFromDefault()

void ModuleInfo::setCopiedFromDefault ( Bool v)
inline

Definition at line 334 of file ThingTemplate.h.


The documentation for this class was generated from the following files: