#include <pfObjectFlocker.h>
Additional Inherited Members |
enum | Flags {
kDontDirty = 0x1,
kSendReliably = 0x2,
kHasConstantNetGroup = 0x4,
kDontSynchGameMessages = 0x8,
kExcludePersistentState = 0x10,
kExcludeAllPersistentState = 0x20,
kLocalOnly = kExcludeAllPersistentState | kDontSynchGameMessages,
kHasVolatileState = 0x40,
kAllStateIsVolatile = 0x80
} |
enum | SDLSendFlags {
kBCastToClients = 0x1,
kForceFullSend = 0x2,
kSkipLocalOwnershipCheck = 0x4,
kSendImmediately = 0x8,
kDontPersistOnServer = 0x10,
kUseRelevanceRegions = 0x20,
kNewState = 0x40,
kIsAvatarState = 0x80
} |
Constructor & Destructor Documentation
pfObjectFlocker::pfObjectFlocker |
( |
| ) |
|
Member Function Documentation
plKey pfObjectFlocker::getBoidKey |
( |
| ) |
const |
pfFlock& pfObjectFlocker::getFlock |
( |
| ) |
|
unsigned char pfObjectFlocker::getNumBoids |
( |
| ) |
const |
bool pfObjectFlocker::getRandomizeAnimationStart |
( |
| ) |
const |
bool pfObjectFlocker::getUseTargetRotation |
( |
| ) |
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 plSingleModifier.
virtual void pfObjectFlocker::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().
Reimplemented from plSingleModifier.
Reads this creatable directly from the stream. If any keys are read, they will be added to the plResManager automatically.
Reimplemented from plSingleModifier.
void pfObjectFlocker::setBoidKey |
( |
plKey |
boidKey | ) |
|
void pfObjectFlocker::setNumBoids |
( |
unsigned char |
boids | ) |
|
void pfObjectFlocker::setRandomizeAnimationStart |
( |
bool |
randomize | ) |
|
void pfObjectFlocker::setUseTargetRotation |
( |
bool |
use | ) |
|
Writes this creatable directly to the stream. The plResManager is used to manage any key references written by this creatable.
Reimplemented from plSingleModifier.
Member Data Documentation
plKey pfObjectFlocker::fBoidKey |
|
protected |
unsigned char pfObjectFlocker::fNumBoids |
|
protected |
bool pfObjectFlocker::fRandomizeAnimationStart |
|
protected |
bool pfObjectFlocker::fUseTargetRotation |
|
protected |
The documentation for this class was generated from the following file: