java.lang.Cloneable
, CMObject
, java.lang.Comparable<CMObject>
, Contingent
, Environmental
, Expireable
, Modifiable
, MsgListener
, PrivateProperty
, StatsAffecting
, Tickable
GenTitle
, Prop_AreaForSale
, Prop_LotForSale
, Prop_LotsForSale
, Prop_RoomForSale
, Prop_RoomPlusForSale
, Prop_RoomsForSale
, StdTitle
public interface LandTitle extends PrivateProperty
idConverter
STATUS_AFFECT, STATUS_ALIVE, STATUS_BEHAVIOR, STATUS_CLASS, STATUS_DEAD, STATUS_END, STATUS_FIGHT, STATUS_MISC, STATUS_MISC2, STATUS_MISC3, STATUS_MISC4, STATUS_MISC5, STATUS_MISC6, STATUS_MISC7, STATUS_NOT, STATUS_OTHER, STATUS_RACE, STATUS_REBIRTH, STATUS_SCRIPT, STATUS_START, STATUS_WEATHER, TICKID_AREA, TICKID_BALLISTICK, TICKID_CLAN, TICKID_CLANITEM, TICKID_DEADBODY_DECAY, TICKID_ELECTRONICS, TICKID_EMAIL, TICKID_EVENT, TICKID_EXIT_BEHAVIOR, TICKID_EXIT_REOPEN, TICKID_ITEM_BEHAVIOR, TICKID_ITEM_BOUNCEBACK, TICKID_LIGHT_FLICKERS, TICKID_LIVEAUCTION, TICKID_LONGERMASK, TICKID_MISCELLANEOUS, TICKID_MOB, TICKID_PROPERTY_SPECIAL, TICKID_QUEST, TICKID_READYTOSTOP, TICKID_ROOM_BEHAVIOR, TICKID_ROOM_ITEM_REJUV, TICKID_SHORTERMASK, TICKID_SOLITARYMASK, TICKID_SPECIALCOMBAT, TICKID_SPECIALMANEUVER, TICKID_SPELL_AFFECT, TICKID_SUPPORT, TICKID_TIMEAUCTION, TICKID_TRAP_DESTRUCTION, TICKID_TRAP_RESET
Modifier and Type | Method | Description |
---|---|---|
boolean |
allowsExpansionConstruction() |
Returns whether this title allows property to be expanded through masonry or construction.
|
boolean |
allowTheft() |
Returns whether theft is allowed or monitored in this room by
Arrest behaviors.
|
int |
backTaxes() |
If back taxes is owned on this property, this is how the value is retrieved.
|
LandTitle |
generateNextRoomTitle() |
If this title allows expansion construction, this will return the new
title to assign to the newly constructed rooms.
|
Room |
getAConnectedPropertyRoom() |
A room objects that are tied together by one or more titles.
|
Room |
getATitledRoom() |
A room object represented by this title
|
int |
getNumConnectedPropertyRooms() |
The size of the complete set of room objects that are tied together by one or more titles.
|
int |
getNumTitledRooms() |
The size of the complete set of room objects that are tied together by one or more titles.
|
java.util.List<Room> |
getTitledRooms() |
The complete set of room objects represented by this title.
|
java.lang.String |
getUniqueLotID() |
Returns a unique identifier corresponding to the connected property rooms.
|
boolean |
gridLayout() |
Returns whether this title creates connected walls between new rooms as if the rooms
were laid out in a grid.
|
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 |
setAllowTheft(boolean allow) |
Sets whether theft is allowed or monitored in this room by
Arrest behaviors.
|
void |
setBackTaxes(int amount) |
If back taxes is owned on this property, this is how the value is set.
|
void |
setGridLayout(boolean gridLayout) |
Sets whether this title creates connected walls between new rooms as if the rooms
were laid out in a grid.
|
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.Set<java.lang.String> 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.
|
copyOf, ID, initializeClass, newInstance
amDestroyed, destroy, isSavable, setSavable
description, displayText, image, isGeneric, L, maxRange, minRange, miscTextFormat, Name, rawImage, sameAs, setDescription, setDisplayText, setImage, setMiscText, setName, text
expirationDate, setExpirationDate
getSaveStatIndex, getStat, getStatCodes, isStat, setStat
executeMsg, okMessage
getOwnerName, getPrice, getTitleID, isProperlyOwned, setOwnerName, setPrice
affectCharState, affectCharStats, affectPhyStats
getTickStatus, name, tick
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.Set<java.lang.String> optPlayerList)
optPlayerList
- - null, or a vector of player names for quick confirmsupdateTitle()
void updateTitle()
updateLot(Set)
int getNumTitledRooms()
Room
java.util.List<Room> getTitledRooms()
Room
Room getATitledRoom()
Room
int getNumConnectedPropertyRooms()
Room
Room getAConnectedPropertyRoom()
Room
java.lang.String getUniqueLotID()
boolean rentalProperty()
void setRentalProperty(boolean truefalse)
truefalse
- true if the property is rental, false if ownable outrightboolean allowTheft()
void setAllowTheft(boolean allow)
allow
- true to allow theft, false for default behaviorvoid setBackTaxes(int amount)
amount
- the back taxes owedint backTaxes()
LandTitle generateNextRoomTitle()
allowsExpansionConstruction()
boolean allowsExpansionConstruction()
generateNextRoomTitle()
boolean gridLayout()
void setGridLayout(boolean gridLayout)
gridLayout
- true if the rooms can lay out as a grid, false otherwise