com.planet_ink.coffee_mud.Libraries.interfaces
Interface LegalLibrary
- All Superinterfaces:
- java.lang.Cloneable, CMLibrary, CMObject, java.lang.Comparable<CMObject>
- All Known Implementing Classes:
- MUDLaw
public interface LegalLibrary
- extends CMLibrary
Field Summary |
static java.lang.String |
INDOORSTR
The default room title for an indoor room
These get localized later. |
static java.lang.String |
OUTDOORSTR
The default room title for an outdoor room
These get localized later. |
static java.lang.String |
RENTSTR
The default room description for a room for rent
These get localized later. |
static java.lang.String |
SALESTR
The default room description for a room for sale
These get localized later. |
Method Summary |
boolean |
canAttackThisProperty(MOB mob,
PrivateProperty record)
|
void |
colorRoomForSale(Room R,
LandTitle title,
boolean reset)
|
boolean |
doesAnyoneHavePrivilegesHere(MOB mob,
java.lang.String overrideID,
Room R)
|
boolean |
doesHavePriviledgesHere(MOB mob,
Room room)
|
boolean |
doesHavePriviledgesInThisDirection(MOB mob,
Room room,
Exit exit)
|
boolean |
doesHavePrivilegesWith(MOB mob,
PrivateProperty record)
|
boolean |
doesHaveWeakPriviledgesHere(MOB mob,
Room room)
|
boolean |
doesHaveWeakPrivilegesWith(MOB mob,
PrivateProperty record)
|
boolean |
doesOwnThisLand(MOB mob,
Room room)
|
boolean |
doesOwnThisLand(java.lang.String name,
Room room)
|
boolean |
doesOwnThisProperty(MOB mob,
PrivateProperty record)
|
boolean |
doesOwnThisProperty(MOB mob,
Room room)
|
boolean |
doesOwnThisProperty(java.lang.String name,
Room room)
|
java.util.List<LandTitle> |
getAllUniqueLandTitles(java.util.Enumeration<Room> e,
java.lang.String owner,
boolean includeRentals)
|
Deity |
getClericInfused(Room room)
|
Ability |
getClericInfusion(Physical room)
|
java.util.Set<Room> |
getHomePeersOnThisFloor(Room room,
java.util.Set<Room> doneRooms)
|
java.lang.String |
getLandOwnerName(Room room)
|
LandTitle |
getLandTitle(Area area)
|
LandTitle |
getLandTitle(Room room)
|
LegalBehavior |
getLegalBehavior(Area A)
|
LegalBehavior |
getLegalBehavior(Room R)
|
Area |
getLegalObject(Area A)
|
Area |
getLegalObject(Room R)
|
MOB |
getPropertyOwner(PrivateProperty record)
|
java.lang.String |
getPropertyOwnerName(Room room)
|
PrivateProperty |
getPropertyRecord(Area area)
|
PrivateProperty |
getPropertyRecord(Item item)
|
PrivateProperty |
getPropertyRecord(Room room)
|
Law |
getTheLaw(Room R,
MOB mob)
|
boolean |
isACity(Area A)
|
boolean |
isHomeRoomDownstairs(Room room)
|
boolean |
isHomeRoomUpstairs(Room room)
|
boolean |
isLandOwnable(Room room)
|
boolean |
isLegalJudgeHere(MOB mob)
|
boolean |
isLegalOfficerHere(MOB mob)
|
boolean |
isLegalOfficialHere(MOB mob)
|
boolean |
isRoomSimilarlyTitled(LandTitle title,
Room R)
|
boolean |
mayOwnThisItem(MOB mob,
Item item)
|
boolean |
robberyCheck(PrivateProperty record,
CMMsg msg,
boolean quiet)
|
Methods inherited from interface java.lang.Comparable |
compareTo |
SALESTR
static final java.lang.String SALESTR
- The default room description for a room for sale
These get localized later.
- See Also:
- Constant Field Values
RENTSTR
static final java.lang.String RENTSTR
- The default room description for a room for rent
These get localized later.
- See Also:
- Constant Field Values
INDOORSTR
static final java.lang.String INDOORSTR
- The default room title for an indoor room
These get localized later.
- See Also:
- Constant Field Values
OUTDOORSTR
static final java.lang.String OUTDOORSTR
- The default room title for an outdoor room
These get localized later.
- See Also:
- Constant Field Values
getTheLaw
Law getTheLaw(Room R,
MOB mob)
getLegalBehavior
LegalBehavior getLegalBehavior(Area A)
getLegalBehavior
LegalBehavior getLegalBehavior(Room R)
getLegalObject
Area getLegalObject(Area A)
getLegalObject
Area getLegalObject(Room R)
getLandOwnerName
java.lang.String getLandOwnerName(Room room)
isLandOwnable
boolean isLandOwnable(Room room)
getPropertyOwnerName
java.lang.String getPropertyOwnerName(Room room)
colorRoomForSale
void colorRoomForSale(Room R,
LandTitle title,
boolean reset)
getLandTitle
LandTitle getLandTitle(Area area)
getLandTitle
LandTitle getLandTitle(Room room)
getPropertyRecord
PrivateProperty getPropertyRecord(Area area)
getPropertyRecord
PrivateProperty getPropertyRecord(Room room)
getPropertyRecord
PrivateProperty getPropertyRecord(Item item)
isRoomSimilarlyTitled
boolean isRoomSimilarlyTitled(LandTitle title,
Room R)
getHomePeersOnThisFloor
java.util.Set<Room> getHomePeersOnThisFloor(Room room,
java.util.Set<Room> doneRooms)
isHomeRoomDownstairs
boolean isHomeRoomDownstairs(Room room)
isHomeRoomUpstairs
boolean isHomeRoomUpstairs(Room room)
doesHavePriviledgesHere
boolean doesHavePriviledgesHere(MOB mob,
Room room)
doesAnyoneHavePrivilegesHere
boolean doesAnyoneHavePrivilegesHere(MOB mob,
java.lang.String overrideID,
Room R)
doesHavePriviledgesInThisDirection
boolean doesHavePriviledgesInThisDirection(MOB mob,
Room room,
Exit exit)
doesHavePrivilegesWith
boolean doesHavePrivilegesWith(MOB mob,
PrivateProperty record)
doesHaveWeakPrivilegesWith
boolean doesHaveWeakPrivilegesWith(MOB mob,
PrivateProperty record)
doesHaveWeakPriviledgesHere
boolean doesHaveWeakPriviledgesHere(MOB mob,
Room room)
doesOwnThisLand
boolean doesOwnThisLand(java.lang.String name,
Room room)
doesOwnThisLand
boolean doesOwnThisLand(MOB mob,
Room room)
mayOwnThisItem
boolean mayOwnThisItem(MOB mob,
Item item)
doesOwnThisProperty
boolean doesOwnThisProperty(java.lang.String name,
Room room)
doesOwnThisProperty
boolean doesOwnThisProperty(MOB mob,
Room room)
doesOwnThisProperty
boolean doesOwnThisProperty(MOB mob,
PrivateProperty record)
robberyCheck
boolean robberyCheck(PrivateProperty record,
CMMsg msg,
boolean quiet)
getPropertyOwner
MOB getPropertyOwner(PrivateProperty record)
canAttackThisProperty
boolean canAttackThisProperty(MOB mob,
PrivateProperty record)
getAllUniqueLandTitles
java.util.List<LandTitle> getAllUniqueLandTitles(java.util.Enumeration<Room> e,
java.lang.String owner,
boolean includeRentals)
getClericInfusion
Ability getClericInfusion(Physical room)
getClericInfused
Deity getClericInfused(Room room)
isLegalOfficerHere
boolean isLegalOfficerHere(MOB mob)
isLegalJudgeHere
boolean isLegalJudgeHere(MOB mob)
isLegalOfficialHere
boolean isLegalOfficialHere(MOB mob)
isACity
boolean isACity(Area A)