Public Member Functions | |
cWarSpell (DWORD dwGUID, DWORD dwSpellID, cLocation &Loc, cVelocity tarVel, DWORD dwSpellModel) | |
cMessage | CreatePacket () |
void | Assess (cClient *pcAssesser) |
void | Action (cClient *who) |
cMessage | WarParticle (cWarSpell *pcWarSpell, DWORD dwEffect, float flSpeed) |
cMessage | SpellAnim (cWarSpell *pcWarSpell, WORD wWarAnim, WORD wWarAnim2) |
cMessage | SetPosition () |
cMessage | SpellImpact (cWarSpell *pcWarSpell, DWORD dwEffect, float flSpeed) |
cMessage | SpellVis (cWarSpell *pcWarSpell) |
Static Public Member Functions | |
static int | Move (LPVOID wp, LPVOID lp) |
Friends | |
class | cClient |
cWarSpell::cWarSpell | ( | DWORD | dwGUID, | |
DWORD | dwSpellID, | |||
cLocation & | Loc, | |||
cVelocity | tarVel, | |||
DWORD | dwSpellModel | |||
) | [inline] |
A constructor.
Called whenever a warspell object is initialized.
void cWarSpell::Action | ( | cClient * | who | ) | [virtual] |
Handles the general actions of war spell objects.
Implements cObject.
void cWarSpell::Assess | ( | cClient * | pcAssesser | ) | [virtual] |
Handles the assessment of war spell objects. This should not be called.
Reimplemented from cObject.
cMessage cWarSpell::CreatePacket | ( | ) | [virtual] |
int cWarSpell::Move | ( | LPVOID | wp, | |
LPVOID | lp | |||
) | [static] |
Handles the movement of war spells.
This function is called whenever a war spell's position should be updated.
cMessage cWarSpell::SetPosition | ( | ) | [virtual] |
Sends a war spell animation.
This function is called when an animation for a war spell should sent to a client.
Impact effects for war spell objects.
This function is called when a war spell should display an impact effect.
Toggles war spell visibility.
This function is called when the visibility of a war spell should change for a client.
Particle effects for war spell objects.
This function is called when a war spell should display a particle effect.