#include <plAgeLinkInfo.h>
Public Types |
enum | {
kHasAgeInfo = 0x1,
kHasLinkingRules = 0x2,
kHasSpawnPt_DEAD = 0x4,
kHasSpawnPt_DEAD2 = 0x8,
kHasAmCCR = 0x10,
kHasSpawnPt = 0x20,
kHasParentAgeFilename = 0x40
} |
enum | LinkingRules {
kBasicLink,
kOriginalBook,
kSubAgeBook,
kOwnedBook,
kVisitBook,
kChildAgeBook
} |
Member Enumeration Documentation
- Enumerator:
kHasAgeInfo |
|
kHasLinkingRules |
|
kHasSpawnPt_DEAD |
|
kHasSpawnPt_DEAD2 |
|
kHasAmCCR |
|
kHasSpawnPt |
|
kHasParentAgeFilename |
|
- Enumerator:
kBasicLink |
Link to public age; Don't remember this link in KI/Vault
|
kOriginalBook |
Link and create a book in the AgesIOwn folder
|
kSubAgeBook |
Link to a sub age of current age
|
kOwnedBook |
Link using info from my AgesIOwn folder
|
kVisitBook |
Link using info from my AgesICanVisit folder
|
kChildAgeBook |
Link to a child age of current age
|
Constructor & Destructor Documentation
plAgeLinkStruct::plAgeLinkStruct |
( |
| ) |
|
Member Function Documentation
void plAgeLinkStruct::clear |
( |
| ) |
|
void plAgeLinkStruct::clearAmCCR |
( |
| ) |
|
void plAgeLinkStruct::clearLinkingRules |
( |
| ) |
|
void plAgeLinkStruct::clearParentAgeFilename |
( |
| ) |
|
unsigned char plAgeLinkStruct::getAmCCR |
( |
| ) |
const |
signed char plAgeLinkStruct::getLinkingRules |
( |
| ) |
const |
plString plAgeLinkStruct::getParentAgeFilename |
( |
| ) |
const |
bool plAgeLinkStruct::hasAgeInfo |
( |
| ) |
const |
bool plAgeLinkStruct::hasAmCCR |
( |
| ) |
const |
bool plAgeLinkStruct::hasLinkingRules |
( |
| ) |
const |
bool plAgeLinkStruct::hasParentAgeFilename |
( |
| ) |
const |
bool plAgeLinkStruct::hasSpawnPoint |
( |
| ) |
const |
This must be overloaded by subclasses to parse PRC data specific to the class from the PRC document. It is called once for each tag that is a child to the Creatable tag itself, so subclasses should check for each supported tag and handle it accordingly if it matches. If the tag is not recognized, it should be passed along to the parent class.
Reimplemented from plCreatable.
virtual void plAgeLinkStruct::IPrcWrite |
( |
pfPrcHelper * |
prc | ) |
|
|
protectedvirtual |
This must be overloaded by subclasses to write PRC data specific to the class to the PRC document. Do not write the top-level creatable tag, that is handled by prcWrite().
Implements plCreatable.
bool plAgeLinkStruct::isEmpty |
( |
| ) |
|
Read this creatable from a PRC tag. If any keys are parsed, they will be added to the plResManager automatically.
Reimplemented from plCreatable.
Reads this creatable directly from the stream. If any keys are read, they will be added to the plResManager automatically.
Reimplemented from plCreatable.
void plAgeLinkStruct::setAmCCR |
( |
unsigned char |
ccr | ) |
|
void plAgeLinkStruct::setHasAgeInfo |
( |
bool |
has | ) |
|
void plAgeLinkStruct::setHasSpawnPoint |
( |
bool |
has | ) |
|
void plAgeLinkStruct::setLinkingRules |
( |
signed char |
rules | ) |
|
void plAgeLinkStruct::setParentAgeFilename |
( |
plString |
filename | ) |
|
Writes this creatable directly to the stream. The plResManager is used to manage any key references written by this creatable.
Reimplemented from plCreatable.
Member Data Documentation
unsigned char plAgeLinkStruct::fAmCCR |
|
protected |
unsigned short plAgeLinkStruct::fFlags |
|
protected |
signed char plAgeLinkStruct::fLinkingRules |
|
protected |
plString plAgeLinkStruct::fParentAgeFilename |
|
protected |
const char* plAgeLinkStruct::kLinkingRuleNames[] |
|
static |
Textual name lookup for linking rule types
The documentation for this class was generated from the following file: