#include <lleconomy.h>
Definition at line 98 of file lleconomy.h.
LLRegionEconomy::LLRegionEconomy | ( | ) |
Definition at line 127 of file lleconomy.cpp.
LLRegionEconomy::~LLRegionEconomy | ( | ) |
Definition at line 140 of file lleconomy.cpp.
void LLRegionEconomy::processEconomyData | ( | LLMessageSystem * | msg, | |
void ** | user_data | |||
) | [static] |
Definition at line 149 of file lleconomy.cpp.
References _PREHASH_EnergyEfficiency, _PREHASH_Info, _PREHASH_PriceObjectRent, _PREHASH_PriceObjectScaleFactor, _PREHASH_PriceParcelClaim, _PREHASH_PriceParcelClaimFactor, _PREHASH_PriceParcelRent, LLMessageSystem::getF32(), LLMessageSystem::getF32Fast(), LLMessageSystem::getS32Fast(), i, LLGlobalEconomy::processEconomyData(), S32, setBasePriceParcelClaimDefault(), setBasePriceParcelRent(), setEnergyEfficiency(), setPriceObjectRent(), setPriceObjectScaleFactor(), and setPriceParcelClaimFactor().
void LLRegionEconomy::processEconomyDataRequest | ( | LLMessageSystem * | msg, | |
void ** | user_data | |||
) | [static] |
Definition at line 173 of file lleconomy.cpp.
References _PREHASH_EconomyData, _PREHASH_EnergyEfficiency, _PREHASH_Info, _PREHASH_ObjectCapacity, _PREHASH_ObjectCount, _PREHASH_PriceEnergyUnit, _PREHASH_PriceGroupCreate, _PREHASH_PriceObjectClaim, _PREHASH_PriceObjectRent, _PREHASH_PriceObjectScaleFactor, _PREHASH_PriceParcelClaim, _PREHASH_PriceParcelClaimFactor, _PREHASH_PriceParcelRent, _PREHASH_PricePublicObjectDecay, _PREHASH_PricePublicObjectDelete, _PREHASH_PriceRentLight, _PREHASH_PriceUpload, _PREHASH_TeleportMinPrice, _PREHASH_TeleportPriceExponent, LLMessageSystem::addF32Fast(), LLMessageSystem::addS32Fast(), getEnergyEfficiency(), LLGlobalEconomy::getObjectCapacity(), LLGlobalEconomy::getObjectCount(), LLGlobalEconomy::getPriceEnergyUnit(), LLGlobalEconomy::getPriceGroupCreate(), LLGlobalEconomy::getPriceObjectClaim(), getPriceObjectRent(), getPriceObjectScaleFactor(), getPriceParcelRent(), LLGlobalEconomy::getPricePublicObjectDecay(), LLGlobalEconomy::getPricePublicObjectDelete(), LLGlobalEconomy::getPriceRentLight(), LLGlobalEconomy::getPriceUpload(), LLMessageSystem::getSender(), LLGlobalEconomy::getTeleportMinPrice(), LLGlobalEconomy::getTeleportPriceExponent(), hasData(), llendl, llwarns, mBasePriceParcelClaimActual, mPriceParcelClaimFactor, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLMessageSystem::sendReliable().
void LLRegionEconomy::print | ( | ) | [virtual] |
Reimplemented from LLGlobalEconomy.
Definition at line 219 of file lleconomy.cpp.
References getPriceParcelRent(), llendl, llinfos, mAreaOwned, mAreaTotal, mEnergyEfficiency, mPriceObjectRent, and LLGlobalEconomy::print().
BOOL LLRegionEconomy::hasData | ( | ) | const |
Definition at line 143 of file lleconomy.cpp.
References mBasePriceParcelRent.
Referenced by processEconomyDataRequest().
F32 LLRegionEconomy::getPriceObjectRent | ( | ) | const [inline] |
Definition at line 110 of file lleconomy.h.
References mPriceObjectRent.
Referenced by processEconomyDataRequest().
F32 LLRegionEconomy::getPriceObjectScaleFactor | ( | ) | const [inline] |
Definition at line 111 of file lleconomy.h.
References mPriceObjectScaleFactor.
Referenced by processEconomyDataRequest().
F32 LLRegionEconomy::getEnergyEfficiency | ( | ) | const [inline] |
Definition at line 112 of file lleconomy.h.
References mEnergyEfficiency.
Referenced by processEconomyDataRequest().
S32 LLRegionEconomy::getPriceParcelClaim | ( | ) | const |
Definition at line 207 of file lleconomy.cpp.
References mBasePriceParcelClaimActual, mPriceParcelClaimFactor, and S32.
S32 LLRegionEconomy::getPriceParcelRent | ( | ) | const |
Definition at line 213 of file lleconomy.cpp.
References mBasePriceParcelRent.
Referenced by print(), and processEconomyDataRequest().
F32 LLRegionEconomy::getAreaOwned | ( | ) | const [inline] |
F32 LLRegionEconomy::getAreaTotal | ( | ) | const [inline] |
S32 LLRegionEconomy::getBasePriceParcelClaimActual | ( | ) | const [inline] |
void LLRegionEconomy::setPriceObjectRent | ( | F32 | val | ) | [inline] |
Definition at line 119 of file lleconomy.h.
References mPriceObjectRent.
Referenced by processEconomyData().
void LLRegionEconomy::setPriceObjectScaleFactor | ( | F32 | val | ) | [inline] |
Definition at line 120 of file lleconomy.h.
References mPriceObjectScaleFactor.
Referenced by processEconomyData().
void LLRegionEconomy::setEnergyEfficiency | ( | F32 | val | ) | [inline] |
Definition at line 121 of file lleconomy.h.
References mEnergyEfficiency.
Referenced by processEconomyData().
void LLRegionEconomy::setBasePriceParcelClaimDefault | ( | S32 | val | ) |
Definition at line 232 of file lleconomy.cpp.
References mBasePriceParcelClaimActual, and mBasePriceParcelClaimDefault.
Referenced by processEconomyData().
void LLRegionEconomy::setBasePriceParcelClaimActual | ( | S32 | val | ) |
void LLRegionEconomy::setPriceParcelClaimFactor | ( | F32 | val | ) |
Definition at line 246 of file lleconomy.cpp.
References mPriceParcelClaimFactor.
Referenced by processEconomyData().
void LLRegionEconomy::setBasePriceParcelRent | ( | S32 | val | ) |
Definition at line 251 of file lleconomy.cpp.
References mBasePriceParcelRent.
Referenced by processEconomyData().
void LLRegionEconomy::setAreaOwned | ( | F32 | val | ) | [inline] |
void LLRegionEconomy::setAreaTotal | ( | F32 | val | ) | [inline] |
F32 LLRegionEconomy::mPriceObjectRent [private] |
Definition at line 132 of file lleconomy.h.
Referenced by getPriceObjectRent(), print(), and setPriceObjectRent().
F32 LLRegionEconomy::mPriceObjectScaleFactor [private] |
Definition at line 133 of file lleconomy.h.
Referenced by getPriceObjectScaleFactor(), and setPriceObjectScaleFactor().
F32 LLRegionEconomy::mEnergyEfficiency [private] |
Definition at line 134 of file lleconomy.h.
Referenced by getEnergyEfficiency(), print(), and setEnergyEfficiency().
Definition at line 137 of file lleconomy.h.
Referenced by getBasePriceParcelClaimActual(), getPriceParcelClaim(), processEconomyDataRequest(), setBasePriceParcelClaimActual(), and setBasePriceParcelClaimDefault().
F32 LLRegionEconomy::mPriceParcelClaimFactor [private] |
Definition at line 138 of file lleconomy.h.
Referenced by getPriceParcelClaim(), processEconomyDataRequest(), and setPriceParcelClaimFactor().
S32 LLRegionEconomy::mBasePriceParcelRent [private] |
Definition at line 139 of file lleconomy.h.
Referenced by getPriceParcelRent(), hasData(), and setBasePriceParcelRent().
F32 LLRegionEconomy::mAreaOwned [private] |
Definition at line 141 of file lleconomy.h.
Referenced by getAreaOwned(), print(), and setAreaOwned().
F32 LLRegionEconomy::mAreaTotal [private] |
Definition at line 142 of file lleconomy.h.
Referenced by getAreaTotal(), print(), and setAreaTotal().