|
Planeshift
|
This event actually triggers a spell, after the casting wait time. More...
#include <psspell.h>
Public Member Functions | |
| virtual void | DeleteObjectCallback (iDeleteNotificationObject *object) |
| void | Interrupt () |
| psSpellCastGameEvent (const psSpell *spell, gemActor *caster, gemObject *target, csTicks castingDuration, float max_range, float kFactor, float power, Client *client) | |
| virtual void | Trigger () |
| Abstract event processing function. | |
| ~psSpellCastGameEvent () | |
Public Attributes | |
| gemActor * | caster |
| Entity who casting this spell. | |
| Client * | client |
| The client that cast the spell, NULL if superclient. | |
| csTicks | duration |
| float | kFactor |
| float | max_range |
| float | powerLevel |
| const psSpell * | spell |
| The spell that is cast. | |
| gemObject * | target |
| Entity who is target of this spell. | |
This event actually triggers a spell, after the casting wait time.
| psSpellCastGameEvent::psSpellCastGameEvent | ( | const psSpell * | spell, |
| gemActor * | caster, | ||
| gemObject * | target, | ||
| csTicks | castingDuration, | ||
| float | max_range, | ||
| float | kFactor, | ||
| float | power, | ||
| Client * | client | ||
| ) |
| psSpellCastGameEvent::~psSpellCastGameEvent | ( | ) |
| virtual void psSpellCastGameEvent::DeleteObjectCallback | ( | iDeleteNotificationObject * | object | ) | [virtual] |
Implements iDeleteObjectCallback.
| void psSpellCastGameEvent::Interrupt | ( | ) |
| virtual void psSpellCastGameEvent::Trigger | ( | ) | [virtual] |
Abstract event processing function.
This functino have to be overridden and will be called if CheckTrigger is ok at the time given in the constructor.
Implements psGameEvent.
| csTicks psSpellCastGameEvent::duration |
1.7.3