|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LandTitle
Interface for objects which represents real estate purchasable by players. May be found implemented by Abilities which are placed as effects on the room objects for sale, or implemented as Items representing the sellable title.
| Field Summary |
|---|
| Method Summary | |
|---|---|
int |
backTaxes()
If back taxes is owned on this property, this is how the value is retreived. |
java.util.List<Room> |
getPropertyRooms()
The complete set of room objects represented by this title |
java.lang.String |
landOwner()
Get the owner of the property, usually a clan name or a player name. |
CMObject |
landOwnerObject()
Get the actual clan or mob owner of the property, or null if it can not. |
int |
landPrice()
The value of the property in base currency values |
java.lang.String |
landPropertyID()
Get the roomID or the Area name of the property for sale |
boolean |
rentalProperty()
Whether this property is a rental. |
void |
setBackTaxes(int amount)
If back taxes is owned on this property, this is how the value is set. |
void |
setLandOwner(java.lang.String owner)
Set the owner of the property, usually a clan name or a player name. |
void |
setLandPrice(int price)
set the value of the property in base currency values |
void |
setLandPropertyID(java.lang.String landID)
Set the roomID or the Area name of the property for sale |
void |
setRentalProperty(boolean truefalse)
Sets whether this property is a rental. |
void |
updateLot(java.util.List optPlayerList)
Checks for changes in the content or condition of the rooms represented by this title and saves the changes to the database, if necessary. |
void |
updateTitle()
Simply resaves the rooms represented by this title to reflect change in ownership or price. |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Environmental |
|---|
description, displayText, expirationDate, image, isGeneric, maxRange, minRange, miscTextFormat, name, Name, rawImage, sameAs, setDescription, setDisplayText, setExpirationDate, setImage, setMiscText, setName, text |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Tickable |
|---|
getTickStatus, tick |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.StatsAffecting |
|---|
affectCharState, affectCharStats, affectPhyStats |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.MsgListener |
|---|
executeMsg, okMessage |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Contingent |
|---|
amDestroyed, destroy, isSavable, setSavable |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMObject |
|---|
copyOf, ID, initializeClass, newInstance |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Modifiable |
|---|
getSaveStatIndex, getStat, getStatCodes, isStat, setStat |
| Method Detail |
|---|
int landPrice()
void setLandPrice(int price)
price - the price of the propertyjava.lang.String landOwner()
void setLandOwner(java.lang.String owner)
owner - the name of the owner of the propertyCMObject landOwnerObject()
java.lang.String landPropertyID()
void setLandPropertyID(java.lang.String landID)
landID - the roomID or the Area name of the property for salevoid updateLot(java.util.List optPlayerList)
optPlayerList - - null, or a vector of player names for quick confirmsupdateTitle()void updateTitle()
updateLot(List)java.util.List<Room> getPropertyRooms()
Roomboolean rentalProperty()
void setRentalProperty(boolean truefalse)
truefalse - true if the property is rental, false if ownable outrightvoid setBackTaxes(int amount)
amount - the back taxes owedint backTaxes()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||