Planeshift
BankManager Class Reference

#include <bankmanager.h>

Classes

struct  MoneyEvent
 

Public Member Functions

 BankManager ()
 
void ProcessTax ()
 
void StartBanking (Client *client, bool guild)
 
 ~BankManager ()
 
- Public Member Functions inherited from MessageManager< BankManager >
void HandleMessage (MsgEntry *msg, Client *client)
 Transfers the message to the manager specific function. More...
 
void Subscribe (FunctionPointer fpt, msgtype type, uint32_t flags=0x01)
 Subscribes this manager to a specific message type with a custom callback. More...
 
bool Unsubscribe (msgtype type)
 Unsubscribes this manager from a specific message type. More...
 
bool Unsubscribe (FunctionPointer handler, msgtype type)
 Unsubscribes a specific handler from a specific message type. More...
 
bool UnsubscribeAll ()
 Unsubscribes this manager from all message types. More...
 
virtual ~MessageManager ()
 Unsubscribes all messages then destroys this object. More...
 
- Public Member Functions inherited from MessageManagerBase
csArray< csString > DecodeCommandArea (Client *client, csString target)
 Decodes an area: expression. More...
 
gemObjectFindObjectByString (const csString &str, gemActor *me) const
 Find the object we are referring to in str. More...
 
ClientFindPlayerClient (const char *name)
 Finds Client* of character with given name. More...
 
virtual bool Verify (MsgEntry *pMsg, unsigned int flags, Client *&client)
 

Protected Member Functions

template<class T >
void TaxAccount (T guildOrChar, MoneyEvent &monEvt, int index)
 

Additional Inherited Members

- Public Types inherited from MessageManager< BankManager >
typedef void(BankManager::* FunctionPointer) (MsgEntry *, Client *)
 

Detailed Description

Definition at line 35 of file bankmanager.h.

Constructor & Destructor Documentation

BankManager::BankManager ( )
BankManager::~BankManager ( )

Member Function Documentation

void BankManager::ProcessTax ( )
void BankManager::StartBanking ( Client client,
bool  guild 
)
inline

Definition at line 40 of file bankmanager.h.

template<class T >
void BankManager::TaxAccount ( guildOrChar,
MoneyEvent monEvt,
int  index 
)
protected

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