LLGlobalEconomy Class Reference

#include <lleconomy.h>

Inheritance diagram for LLGlobalEconomy:

Inheritance graph
[legend]

List of all members.

Public Types

typedef LLSingleton
< LLGlobalEconomy
Singleton

Public Member Functions

 LLGlobalEconomy ()
virtual ~LLGlobalEconomy ()
virtual void print ()
S32 calculateTeleportCost (F32 distance) const
S32 calculateLightRent (const LLVector3 &object_size) const
S32 getObjectCount () const
S32 getObjectCapacity () const
S32 getPriceObjectClaim () const
S32 getPricePublicObjectDecay () const
S32 getPricePublicObjectDelete () const
S32 getPricePublicObjectRelease () const
S32 getPriceEnergyUnit () const
S32 getPriceUpload () const
S32 getPriceRentLight () const
S32 getTeleportMinPrice () const
F32 getTeleportPriceExponent () const
S32 getPriceGroupCreate () const
void setObjectCount (S32 val)
void setObjectCapacity (S32 val)
void setPriceObjectClaim (S32 val)
void setPricePublicObjectDecay (S32 val)
void setPricePublicObjectDelete (S32 val)
void setPriceEnergyUnit (S32 val)
void setPriceUpload (S32 val)
void setPriceRentLight (S32 val)
void setTeleportMinPrice (S32 val)
void setTeleportPriceExponent (F32 val)
void setPriceGroupCreate (S32 val)

Static Public Member Functions

static void processEconomyData (LLMessageSystem *msg, LLGlobalEconomy *econ_data)

Private Attributes

S32 mObjectCount
S32 mObjectCapacity
S32 mPriceObjectClaim
S32 mPricePublicObjectDecay
S32 mPricePublicObjectDelete
S32 mPriceEnergyUnit
S32 mPriceUpload
S32 mPriceRentLight
S32 mTeleportMinPrice
F32 mTeleportPriceExponent
S32 mPriceGroupCreate


Detailed Description

Definition at line 39 of file lleconomy.h.


Member Typedef Documentation

Definition at line 48 of file lleconomy.h.


Constructor & Destructor Documentation

LLGlobalEconomy::LLGlobalEconomy (  ) 

Definition at line 39 of file lleconomy.cpp.

LLGlobalEconomy::~LLGlobalEconomy (  )  [virtual]

Definition at line 53 of file lleconomy.cpp.


Member Function Documentation

void LLGlobalEconomy::print (  )  [virtual]

Reimplemented in LLRegionEconomy.

Definition at line 110 of file lleconomy.cpp.

References getPricePublicObjectRelease(), llendl, llinfos, mObjectCapacity, mObjectCount, mPriceEnergyUnit, mPriceGroupCreate, mPriceObjectClaim, mPricePublicObjectDecay, mPricePublicObjectDelete, mPriceRentLight, mPriceUpload, mTeleportMinPrice, and mTeleportPriceExponent.

Referenced by LLRegionEconomy::print().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLGlobalEconomy::processEconomyData ( LLMessageSystem msg,
LLGlobalEconomy econ_data 
) [static]

S32 LLGlobalEconomy::calculateTeleportCost ( F32  distance  )  const

Definition at line 86 of file lleconomy.cpp.

References getTeleportMinPrice(), getTeleportPriceExponent(), and S32.

Here is the call graph for this function:

S32 LLGlobalEconomy::calculateLightRent ( const LLVector3 object_size  )  const

Definition at line 104 of file lleconomy.cpp.

References getPriceRentLight(), llmax(), LLVector3::magVec(), and S32.

Here is the call graph for this function:

S32 LLGlobalEconomy::getObjectCount (  )  const [inline]

Definition at line 57 of file lleconomy.h.

References mObjectCount.

Referenced by LLRegionEconomy::processEconomyDataRequest().

Here is the caller graph for this function:

S32 LLGlobalEconomy::getObjectCapacity (  )  const [inline]

Definition at line 58 of file lleconomy.h.

References mObjectCapacity.

Referenced by LLRegionEconomy::processEconomyDataRequest().

Here is the caller graph for this function:

S32 LLGlobalEconomy::getPriceObjectClaim (  )  const [inline]

Definition at line 59 of file lleconomy.h.

References mPriceObjectClaim.

Referenced by LLRegionEconomy::processEconomyDataRequest().

Here is the caller graph for this function:

S32 LLGlobalEconomy::getPricePublicObjectDecay (  )  const [inline]

Definition at line 60 of file lleconomy.h.

References mPricePublicObjectDecay.

Referenced by LLRegionEconomy::processEconomyDataRequest().

Here is the caller graph for this function:

S32 LLGlobalEconomy::getPricePublicObjectDelete (  )  const [inline]

Definition at line 61 of file lleconomy.h.

References mPricePublicObjectDelete.

Referenced by LLRegionEconomy::processEconomyDataRequest().

Here is the caller graph for this function:

S32 LLGlobalEconomy::getPricePublicObjectRelease (  )  const [inline]

Definition at line 62 of file lleconomy.h.

References mPriceObjectClaim, and mPricePublicObjectDelete.

Referenced by print().

Here is the caller graph for this function:

S32 LLGlobalEconomy::getPriceEnergyUnit (  )  const [inline]

Definition at line 63 of file lleconomy.h.

References mPriceEnergyUnit.

Referenced by LLRegionEconomy::processEconomyDataRequest().

Here is the caller graph for this function:

S32 LLGlobalEconomy::getPriceUpload (  )  const [inline]

Definition at line 64 of file lleconomy.h.

References mPriceUpload.

Referenced by LLRegionEconomy::processEconomyDataRequest().

Here is the caller graph for this function:

S32 LLGlobalEconomy::getPriceRentLight (  )  const [inline]

Definition at line 65 of file lleconomy.h.

References mPriceRentLight.

Referenced by calculateLightRent(), and LLRegionEconomy::processEconomyDataRequest().

Here is the caller graph for this function:

S32 LLGlobalEconomy::getTeleportMinPrice (  )  const [inline]

Definition at line 66 of file lleconomy.h.

References mTeleportMinPrice.

Referenced by calculateTeleportCost(), and LLRegionEconomy::processEconomyDataRequest().

Here is the caller graph for this function:

F32 LLGlobalEconomy::getTeleportPriceExponent (  )  const [inline]

Definition at line 67 of file lleconomy.h.

References mTeleportPriceExponent.

Referenced by calculateTeleportCost(), and LLRegionEconomy::processEconomyDataRequest().

Here is the caller graph for this function:

S32 LLGlobalEconomy::getPriceGroupCreate (  )  const [inline]

Definition at line 68 of file lleconomy.h.

References mPriceGroupCreate.

Referenced by LLRegionEconomy::processEconomyDataRequest().

Here is the caller graph for this function:

void LLGlobalEconomy::setObjectCount ( S32  val  )  [inline]

Definition at line 71 of file lleconomy.h.

References mObjectCount.

Referenced by processEconomyData().

Here is the caller graph for this function:

void LLGlobalEconomy::setObjectCapacity ( S32  val  )  [inline]

Definition at line 72 of file lleconomy.h.

References mObjectCapacity.

Referenced by processEconomyData().

Here is the caller graph for this function:

void LLGlobalEconomy::setPriceObjectClaim ( S32  val  )  [inline]

Definition at line 73 of file lleconomy.h.

References mPriceObjectClaim.

Referenced by processEconomyData().

Here is the caller graph for this function:

void LLGlobalEconomy::setPricePublicObjectDecay ( S32  val  )  [inline]

Definition at line 74 of file lleconomy.h.

References mPricePublicObjectDecay.

Referenced by processEconomyData().

Here is the caller graph for this function:

void LLGlobalEconomy::setPricePublicObjectDelete ( S32  val  )  [inline]

Definition at line 75 of file lleconomy.h.

References mPricePublicObjectDelete.

Referenced by processEconomyData().

Here is the caller graph for this function:

void LLGlobalEconomy::setPriceEnergyUnit ( S32  val  )  [inline]

Definition at line 76 of file lleconomy.h.

References mPriceEnergyUnit.

Referenced by processEconomyData().

Here is the caller graph for this function:

void LLGlobalEconomy::setPriceUpload ( S32  val  )  [inline]

Definition at line 77 of file lleconomy.h.

References mPriceUpload.

Referenced by processEconomyData().

Here is the caller graph for this function:

void LLGlobalEconomy::setPriceRentLight ( S32  val  )  [inline]

Definition at line 78 of file lleconomy.h.

References mPriceRentLight.

Referenced by processEconomyData().

Here is the caller graph for this function:

void LLGlobalEconomy::setTeleportMinPrice ( S32  val  )  [inline]

Definition at line 79 of file lleconomy.h.

References mTeleportMinPrice.

Referenced by processEconomyData().

Here is the caller graph for this function:

void LLGlobalEconomy::setTeleportPriceExponent ( F32  val  )  [inline]

Definition at line 80 of file lleconomy.h.

References mTeleportPriceExponent.

Referenced by processEconomyData().

Here is the caller graph for this function:

void LLGlobalEconomy::setPriceGroupCreate ( S32  val  )  [inline]

Definition at line 81 of file lleconomy.h.

References mPriceGroupCreate.

Referenced by processEconomyData().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 84 of file lleconomy.h.

Referenced by getObjectCount(), print(), and setObjectCount().

Definition at line 85 of file lleconomy.h.

Referenced by getObjectCapacity(), print(), and setObjectCapacity().

Definition at line 87 of file lleconomy.h.

Referenced by getPricePublicObjectDecay(), print(), and setPricePublicObjectDecay().

Definition at line 89 of file lleconomy.h.

Referenced by getPriceEnergyUnit(), print(), and setPriceEnergyUnit().

Definition at line 90 of file lleconomy.h.

Referenced by getPriceUpload(), print(), and setPriceUpload().

Definition at line 91 of file lleconomy.h.

Referenced by getPriceRentLight(), print(), and setPriceRentLight().

Definition at line 92 of file lleconomy.h.

Referenced by getTeleportMinPrice(), print(), and setTeleportMinPrice().

Definition at line 93 of file lleconomy.h.

Referenced by getTeleportPriceExponent(), print(), and setTeleportPriceExponent().

Definition at line 94 of file lleconomy.h.

Referenced by getPriceGroupCreate(), print(), and setPriceGroupCreate().


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

Generated on Fri May 16 08:48:26 2008 for SecondLife by  doxygen 1.5.5