Planeshift
|
GUI Banking Message. More...
#include <messages.h>
Public Types | |
enum | Command { WITHDRAWFUNDS, DEPOSITFUNDS, EXCHANGECOINS, VIEWBANK } |
Public Member Functions | |
PSF_DECLARE_MSG_FACTORY () | |
psGUIBankingMessage (uint32_t clientNum, uint8_t command, bool guild, int circlesBanked, int octasBanked, int hexasBanked, int triasBanked, int circles, int octas, int hexas, int trias, int maxCircles, int maxOctas, int maxHexas, int maxTrias, float exchangeFee, bool forceOpen) | |
psGUIBankingMessage (uint8_t command, bool guild, int circles, int octas, int hexas, int trias) | |
psGUIBankingMessage (uint8_t command, bool guild, int coins, int coin) | |
psGUIBankingMessage (MsgEntry *message) | |
Crack this message off the network. More... | |
virtual csString | ToString (NetBase::AccessPointers *accessPointers) |
Converts the message into human readable string. More... | |
![]() | |
void | FireEvent () |
Publishes the message to the local program. More... | |
virtual csString | GetMessageTypeName () const =0 |
Gets the name of the message type. More... | |
void | Multicast (csArray< PublishDestination > &multi, uint32_t except, float range) |
Multicasts the message to all current connections. More... | |
psMessageCracker () | |
void | SendMessage () |
Sends the message to the client/server. More... | |
virtual | ~psMessageCracker () |
Public Attributes | |
int | circles |
int | circlesBanked |
int | coin |
int | coins |
uint8_t | command |
float | exchangeFee |
bool | guild |
int | hexas |
int | hexasBanked |
int | maxCircles |
int | maxHexas |
int | maxOctas |
int | maxTrias |
int | octas |
int | octasBanked |
bool | openWindow |
int | trias |
int | triasBanked |
![]() | |
int | filterNumber |
csRef< MsgEntry > | msg |
bool | valid |
Additional Inherited Members | |
![]() | |
static MsgHandler * | msghandler |
GUI Banking Message.
This message is used to manage the player banking window. On the client psBankingWindow and on the server BankManager will deal with these messages.
Definition at line 2957 of file messages.h.
Enumerator | |
---|---|
WITHDRAWFUNDS | |
DEPOSITFUNDS | |
EXCHANGECOINS | |
VIEWBANK |
Definition at line 2960 of file messages.h.
psGUIBankingMessage::psGUIBankingMessage | ( | uint32_t | clientNum, |
uint8_t | command, | ||
bool | guild, | ||
int | circlesBanked, | ||
int | octasBanked, | ||
int | hexasBanked, | ||
int | triasBanked, | ||
int | circles, | ||
int | octas, | ||
int | hexas, | ||
int | trias, | ||
int | maxCircles, | ||
int | maxOctas, | ||
int | maxHexas, | ||
int | maxTrias, | ||
float | exchangeFee, | ||
bool | forceOpen | ||
) |
psGUIBankingMessage::psGUIBankingMessage | ( | uint8_t | command, |
bool | guild, | ||
int | circles, | ||
int | octas, | ||
int | hexas, | ||
int | trias | ||
) |
psGUIBankingMessage::psGUIBankingMessage | ( | MsgEntry * | message | ) |
Crack this message off the network.
psGUIBankingMessage::PSF_DECLARE_MSG_FACTORY | ( | ) |
|
virtual |
Converts the message into human readable string.
accessPointers | A struct to a number of access pointers. |
Implements psMessageCracker.
int psGUIBankingMessage::circles |
Definition at line 3018 of file messages.h.
int psGUIBankingMessage::circlesBanked |
Definition at line 3014 of file messages.h.
int psGUIBankingMessage::coin |
Definition at line 3027 of file messages.h.
int psGUIBankingMessage::coins |
Definition at line 3026 of file messages.h.
uint8_t psGUIBankingMessage::command |
Definition at line 3012 of file messages.h.
float psGUIBankingMessage::exchangeFee |
Definition at line 3028 of file messages.h.
bool psGUIBankingMessage::guild |
Definition at line 3013 of file messages.h.
int psGUIBankingMessage::hexas |
Definition at line 3020 of file messages.h.
int psGUIBankingMessage::hexasBanked |
Definition at line 3016 of file messages.h.
int psGUIBankingMessage::maxCircles |
Definition at line 3022 of file messages.h.
int psGUIBankingMessage::maxHexas |
Definition at line 3024 of file messages.h.
int psGUIBankingMessage::maxOctas |
Definition at line 3023 of file messages.h.
int psGUIBankingMessage::maxTrias |
Definition at line 3025 of file messages.h.
int psGUIBankingMessage::octas |
Definition at line 3019 of file messages.h.
int psGUIBankingMessage::octasBanked |
Definition at line 3015 of file messages.h.
bool psGUIBankingMessage::openWindow |
Definition at line 3029 of file messages.h.
int psGUIBankingMessage::trias |
Definition at line 3021 of file messages.h.
int psGUIBankingMessage::triasBanked |
Definition at line 3017 of file messages.h.