Planeshift
Classes | Public Member Functions | Public Attributes | Protected Attributes

EconomyManager Class Reference

#include <economymanager.h>

List of all members.

Classes

struct  Economy

Public Member Functions

void AddTransaction (TransactionEntity *trans, bool sell, const char *type)
void ClearTransactions ()
 EconomyManager ()
ItemSupplyDemandInfoGetItemSupplyDemandInfo (unsigned int itemId)
unsigned int GetTotalTransactions ()
TransactionEntityGetTransaction (int id)
void HandleBuyMessage (MsgEntry *me, Client *client)
void HandleDropMessage (MsgEntry *me, Client *client)
void HandleLootMessage (MsgEntry *me, Client *client)
void HandlePickupMessage (MsgEntry *me, Client *client)
void HandleSellMessage (MsgEntry *me, Client *client)
void ScheduleDrop (csTicks ticks, bool loop)
 ~EconomyManager ()

Public Attributes

Economy economy

Protected Attributes

csArray< csRef
< TransactionEntity > > 
history
csHash< csRef
< ItemSupplyDemandInfo > > 
supplyDemandInfo

Detailed Description

Definition at line 77 of file economymanager.h.


Constructor & Destructor Documentation

EconomyManager::EconomyManager ( )
EconomyManager::~EconomyManager ( )

Member Function Documentation

void EconomyManager::AddTransaction ( TransactionEntity trans,
bool  sell,
const char *  type 
)
void EconomyManager::ClearTransactions ( )
ItemSupplyDemandInfo* EconomyManager::GetItemSupplyDemandInfo ( unsigned int  itemId)
unsigned int EconomyManager::GetTotalTransactions ( )
TransactionEntity* EconomyManager::GetTransaction ( int  id)
void EconomyManager::HandleBuyMessage ( MsgEntry me,
Client client 
)
void EconomyManager::HandleDropMessage ( MsgEntry me,
Client client 
)
void EconomyManager::HandleLootMessage ( MsgEntry me,
Client client 
)
void EconomyManager::HandlePickupMessage ( MsgEntry me,
Client client 
)
void EconomyManager::HandleSellMessage ( MsgEntry me,
Client client 
)
void EconomyManager::ScheduleDrop ( csTicks  ticks,
bool  loop 
)

Member Data Documentation

Definition at line 111 of file economymanager.h.

Definition at line 114 of file economymanager.h.

Definition at line 115 of file economymanager.h.


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