When a weather event is created, it goes here.
More...
#include <weathermanager.h>
|
const char * | GetType () |
|
| psWeatherGameEvent (WeatherManager *mgr, int delayticks, int eventtype, int eventvalue, int duration, int fade, const char *sector, psSectorInfo *si, uint client, int r=0, int g=0, int b=0) |
|
virtual void | Trigger () |
| Abstract event processing function. More...
|
|
virtual bool | CheckTrigger () |
| Called right before a Trigger is called. More...
|
|
const char * | GetType () |
| Return the type that this event where created with. More...
|
|
virtual bool | IsValid () |
| Return the valid flag. More...
|
|
bool | operator< (const psGameEvent &other) const |
|
bool | operator== (const psGameEvent &other) const |
|
bool | operator> (const psGameEvent &other) const |
|
| psGameEvent (csTicks ticks, int offsetticks, const char *newType) |
| Construct a new game event. More...
|
|
void | QueueEvent () |
| Publish the game event to the local program. More...
|
|
virtual void | SetValid (bool valid) |
| Set the valid flag. More...
|
|
virtual csString | ToString () const |
| Return a string with information about the event. More...
|
|
virtual | ~psGameEvent () |
|
When a weather event is created, it goes here.
Definition at line 137 of file weathermanager.h.
psWeatherGameEvent::psWeatherGameEvent |
( |
WeatherManager * |
mgr, |
|
|
int |
delayticks, |
|
|
int |
eventtype, |
|
|
int |
eventvalue, |
|
|
int |
duration, |
|
|
int |
fade, |
|
|
const char * |
sector, |
|
|
psSectorInfo * |
si, |
|
|
uint |
client, |
|
|
int |
r = 0 , |
|
|
int |
g = 0 , |
|
|
int |
b = 0 |
|
) |
| |
const char* psWeatherGameEvent::GetType |
( |
| ) |
|
virtual void psWeatherGameEvent::Trigger |
( |
| ) |
|
|
virtual |
Abstract event processing function.
Implements psGameEvent.
int psWeatherGameEvent::cb |
int psWeatherGameEvent::cg |
uint psWeatherGameEvent::clientnum |
int psWeatherGameEvent::cr |
int psWeatherGameEvent::duration |
int psWeatherGameEvent::fade |
csString psWeatherGameEvent::sector |
int psWeatherGameEvent::type |
int psWeatherGameEvent::value |
The documentation for this class was generated from the following file: