Planeshift
Public Member Functions | Public Attributes | Protected Attributes

psWeatherGameEvent Class Reference

When a weather event is created, it goes here. More...

#include <weathermanager.h>

List of all members.

Public Member Functions

const char * GetType ()
 Return the type that this event where created with.
 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.

Public Attributes

int cb
int cg
uint clientnum
int cr
int duration
int fade
csString sector
psSectorInfosi
int type
 The type of this GameEvent, used for debugging.
int value

Protected Attributes

WeatherManagerweathermanager

Detailed Description

When a weather event is created, it goes here.

Definition at line 137 of file weathermanager.h.


Constructor & Destructor Documentation

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 
)

Member Function Documentation

const char* psWeatherGameEvent::GetType ( )

Return the type that this event where created with.

Used for debugging.

Reimplemented from psGameEvent.

virtual void psWeatherGameEvent::Trigger ( ) [virtual]

Abstract event processing function.

Implements psGameEvent.


Member Data Documentation

Definition at line 157 of file weathermanager.h.

Definition at line 157 of file weathermanager.h.

Definition at line 161 of file weathermanager.h.

Definition at line 157 of file weathermanager.h.

Definition at line 158 of file weathermanager.h.

Definition at line 158 of file weathermanager.h.

Definition at line 159 of file weathermanager.h.

Definition at line 160 of file weathermanager.h.

The type of this GameEvent, used for debugging.

Reimplemented from psGameEvent.

Definition at line 158 of file weathermanager.h.

Definition at line 158 of file weathermanager.h.

Definition at line 165 of file weathermanager.h.


The documentation for this class was generated from the following file: