#include <messages.h>
Public Member Functions | |
| ASCString | getFromText (const GameMap *gamemap) const |
| ASCString | getCcText (const GameMap *gamemap) const |
| ASCString | getToText (const GameMap *gamemap) const |
| Message (GameMap *spfld) | |
| Message (const ASCString &msg, GameMap *gamemap, int rec, int from=512) | |
| Constructor. | |
Public Attributes | |
| int | from |
| bitmapped variable showing the sender of the message. Bit 0 - 7 are the players, Bit 9 is the system. | |
| int | to |
| bitmapped variable showing the recipients of the message. | |
| int | cc |
| bitmapped variable showing the recipients of the message. | |
| time_t | time |
| the real world time the message was written | |
| ASCString | text |
| the body of the message | |
| int | id |
| an id that identifies the message. It is assigned automatically | |
| GameTime | gametime |
| the game time the messages was written | |
| bool | reminder |
| reminders are special messages that the players sends to himself, to be read the next turn | |
Definition at line 30 of file messages.h.
|
|
Definition at line 24 of file messages.cpp. References GameMap::actplayer, from, gametime, GameMap::messageid, GameMap::messages, reminder, time, GameMap::time, and to. |
|
||||||||||||||||||||
|
Constructor.
Definition at line 39 of file messages.cpp. References from, gametime, GameMap::messageid, GameMap::messages, GameMap::player, reminder, text, time, GameMap::time, to, and Player::unreadmessage. |
|
|
Definition at line 37 of file messages.h. References cc. Referenced by IngameMessageViewer::SetMessage(). |
|
|
Definition at line 72 of file messages.cpp. Referenced by IngameMessageViewer::IngameMessageViewer(), and IngameMessageViewer::SetMessage(). |
|
|
Definition at line 38 of file messages.h. Referenced by IngameMessageViewer::SetMessage(). |
|
|
bitmapped variable showing the recipients of the message.
Definition at line 44 of file messages.h. Referenced by getCcText(), IngameMessageViewer::IngameMessageViewer(), NewMessage::NewMessage(), and tspfldloaders::readmessages(). |
|
|
bitmapped variable showing the sender of the message. Bit 0 - 7 are the players, Bit 9 is the system.
Definition at line 34 of file messages.h. Referenced by getFromText(), MessageLineWidget::getName(), IngameMessageViewer::IngameMessageViewer(), Message(), and tspfldloaders::readmessages(). |
|
|
the game time the messages was written
Definition at line 57 of file messages.h. Referenced by Message(), and tspfldloaders::readmessages(). |
|
|
an id that identifies the message. It is assigned automatically
Definition at line 54 of file messages.h. Referenced by tspfldloaders::readmessages(). |
|
|
reminders are special messages that the players sends to himself, to be read the next turn
Definition at line 60 of file messages.h. Referenced by IngameMessageViewer::IngameMessageViewer(), Message(), NewMessage::NewMessage(), and tspfldloaders::readmessages(). |
|
|
the body of the message
Definition at line 51 of file messages.h. Referenced by IngameMessageViewer::IngameMessageViewer(), Message(), NewMessage::NewMessage(), tspfldloaders::readmessages(), and IngameMessageViewer::SetMessage(). |
|
|
the real world time the message was written
Definition at line 48 of file messages.h. Referenced by Message(), MessageLineWidget::MessageLineWidget(), and tspfldloaders::readmessages(). |
|
|
bitmapped variable showing the recipients of the message.
Definition at line 38 of file messages.h. Referenced by IngameMessageViewer::IngameMessageViewer(), Message(), MessageLineWidget::MessageLineWidget(), NewMessage::NewMessage(), and tspfldloaders::readmessages(). |
1.4.2