Planeshift
Public Types | Public Member Functions | Public Attributes

psGUIBankingMessage Class Reference

GUI Banking Message. More...

#include <messages.h>

List of all members.

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 (MsgEntry *message)
 Crack this message off the network.
 psGUIBankingMessage (uint8_t command, bool guild, int coins, int coin)
virtual csString ToString (NetBase::AccessPointers *accessPointers)
 Converts the message into human readable string.

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

Detailed Description

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.


Member Enumeration Documentation

Enumerator:
WITHDRAWFUNDS 
DEPOSITFUNDS 
EXCHANGECOINS 
VIEWBANK 

Definition at line 2960 of file messages.h.


Constructor & Destructor Documentation

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 ( uint8_t  command,
bool  guild,
int  coins,
int  coin 
)
psGUIBankingMessage::psGUIBankingMessage ( MsgEntry message)

Crack this message off the network.


Member Function Documentation

psGUIBankingMessage::PSF_DECLARE_MSG_FACTORY ( )
virtual csString psGUIBankingMessage::ToString ( NetBase::AccessPointers accessPointers) [virtual]

Converts the message into human readable string.

Parameters:
accessPointersA struct to a number of access pointers.
Returns:
Return a human readable string for the message.

Implements psMessageCracker.


Member Data Documentation

Definition at line 3015 of file messages.h.

Definition at line 3011 of file messages.h.

Definition at line 3024 of file messages.h.

Definition at line 3023 of file messages.h.

Definition at line 3009 of file messages.h.

Definition at line 3025 of file messages.h.

Definition at line 3010 of file messages.h.

Definition at line 3017 of file messages.h.

Definition at line 3013 of file messages.h.

Definition at line 3019 of file messages.h.

Definition at line 3021 of file messages.h.

Definition at line 3020 of file messages.h.

Definition at line 3022 of file messages.h.

Definition at line 3016 of file messages.h.

Definition at line 3012 of file messages.h.

Definition at line 3026 of file messages.h.

Definition at line 3018 of file messages.h.

Definition at line 3014 of file messages.h.


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