Planeshift
|
Sends messages to the client indicating rain and time of day. More...
#include <messages.h>
Classes | |
struct | NetWeatherInfo |
Public Types | |
enum | playerMode { DAYNIGHT = 1, WEATHER = 2 } |
enum | Weather { RAIN = 4, SNOW = 8, FOG = 16, LIGHTNING = 32 } |
Public Member Functions | |
PSF_DECLARE_MSG_FACTORY () | |
psWeatherMessage (uint32_t client, psWeatherMessage::NetWeatherInfo info, uint clientnum=0) | |
psWeatherMessage (uint32_t client, int minute, int hour, int day, int month, int year) | |
psWeatherMessage (MsgEntry *message) | |
virtual csString | ToString (NetBase::AccessPointers *accessPointers) |
Converts the message into human readable string. | |
Public Attributes | |
uint | day |
uint | hour |
uint | minute |
For Day/Night events. | |
uint | month |
int | type |
Holds the options that the window should display. | |
NetWeatherInfo | weather |
uint | year |
Sends messages to the client indicating rain and time of day.
Definition at line 1595 of file messages.h.
Definition at line 1598 of file messages.h.
Definition at line 1604 of file messages.h.
psWeatherMessage::psWeatherMessage | ( | uint32_t | client, |
psWeatherMessage::NetWeatherInfo | info, | ||
uint | clientnum = 0 |
||
) |
psWeatherMessage::psWeatherMessage | ( | uint32_t | client, |
int | minute, | ||
int | hour, | ||
int | day, | ||
int | month, | ||
int | year | ||
) |
psWeatherMessage::psWeatherMessage | ( | MsgEntry * | message | ) |
psWeatherMessage::PSF_DECLARE_MSG_FACTORY | ( | ) |
virtual csString psWeatherMessage::ToString | ( | NetBase::AccessPointers * | accessPointers | ) | [virtual] |
Converts the message into human readable string.
accessPointers | A struct to a number of access pointers. |
Implements psMessageCracker.
Definition at line 1647 of file messages.h.
Definition at line 1646 of file messages.h.
For Day/Night events.
Definition at line 1645 of file messages.h.
Definition at line 1648 of file messages.h.
Holds the options that the window should display.
Definition at line 1642 of file messages.h.
Definition at line 1651 of file messages.h.
Definition at line 1649 of file messages.h.