|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.planet_ink.coffee_mud.Abilities.Properties.Property
com.planet_ink.coffee_mud.Abilities.Properties.Prop_ItemBinder
public class Prop_ItemBinder
| Nested Class Summary | |
|---|---|
protected static class |
Prop_ItemBinder.BoundOn
|
protected static class |
Prop_ItemBinder.BoundTo
|
| Field Summary | |
|---|---|
protected java.lang.String |
boundToName
|
protected java.lang.String |
msgStr
|
protected Prop_ItemBinder.BoundOn |
on
|
protected Prop_ItemBinder.BoundTo |
to
|
| Fields inherited from class com.planet_ink.coffee_mud.Abilities.Properties.Property |
|---|
affected, amDestroyed, empty, miscText, savable |
| Fields inherited from interface com.planet_ink.coffee_mud.Abilities.interfaces.TriggeredAffect |
|---|
TRIGGER_ALWAYS, TRIGGER_BEING_HIT, TRIGGER_DROP_PUTIN, TRIGGER_ENTER, TRIGGER_GET, TRIGGER_HITTING_WITH, TRIGGER_MOUNT, TRIGGER_PUT, TRIGGER_USE, TRIGGER_WEAR_WIELD |
| Constructor Summary | |
|---|---|
Prop_ItemBinder()
|
|
| Method Summary | |
|---|---|
java.lang.String |
accountForYourself()
For use by the identify spell, this should return a nice description of any properties incorporated by this effect. |
protected int |
canAffectCode()
Designates whether, when used as a property/effect, what sort of objects this ability can affect. |
protected java.lang.String |
defaultMessage()
|
void |
executeMsg(Environmental myHost,
CMMsg msg)
The general message event handler for the object. |
long |
flags()
Returns a bitmap giving some specific information about the scope and purpose of the skill. |
java.lang.String |
ID()
The CoffeeMud Java Class ID shared by all instances of this object. |
java.lang.String |
name()
The nice displayable name of this instance of this object |
boolean |
okMessage(Environmental myHost,
CMMsg msg)
The general message event previewer for the object. |
void |
setMiscText(java.lang.String text)
For objects which have false for their isGeneric method, this is used to set any internally coded strings to change the nature or behavior of the object. |
int |
triggerMask()
This method returns a mask of TRIGGER_* constants denoting what triggers the properties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.planet_ink.coffee_mud.Abilities.interfaces.Ability |
|---|
abilityCode, abstractQuality, adjustedLevel, affecting, appropriateToMyFactions, autoInvocation, bubbleAffect, canAffect, canAffect, canBeLearnedBy, canBePracticedBy, canBeTaughtBy, canBeUninvoked, canTarget, canTarget, castingQuality, castingTime, checkedCastingCost, classificationCode, combatCastingTime, enchantQuality, externalFiles, getTrainingCost, helpProficiency, invoke, invoke, invoker, isAutoInvoked, isNowAnAutoEffect, makeLongLasting, makeNonUninvokable, practice, preInvoke, proficiency, proficiencyCheck, putInCommandlist, requirements, setAbilityCode, setAffectedOne, setInvoker, setProficiency, startTickDown, teach, triggerStrings, unInvoke, usageCost, usageType |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Environmental |
|---|
description, displayText, expirationDate, image, isGeneric, L, maxRange, minRange, miscTextFormat, Name, rawImage, sameAs, setDescription, setDisplayText, setExpirationDate, setImage, 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.Contingent |
|---|
amDestroyed, destroy, isSavable, setSavable |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMObject |
|---|
copyOf, 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 |
| Field Detail |
|---|
protected Prop_ItemBinder.BoundTo to
protected Prop_ItemBinder.BoundOn on
protected java.lang.String boundToName
protected java.lang.String msgStr
| Constructor Detail |
|---|
public Prop_ItemBinder()
| Method Detail |
|---|
public java.lang.String ID()
CMObject
ID in interface CMObjectID in class Propertypublic java.lang.String name()
Tickable
name in interface CMObjectname in interface Tickablename in class PropertyEnvironmental.Name()protected int canAffectCode()
Property
canAffectCode in class PropertyAbilitypublic void setMiscText(java.lang.String text)
Environmental
setMiscText in interface EnvironmentalsetMiscText in class Propertytext - either an open internal text string, or XMLprotected java.lang.String defaultMessage()
public long flags()
Ability
flags in interface Abilityflags in class PropertyAbilitypublic int triggerMask()
TriggeredAffect
triggerMask in interface TriggeredAffectTriggeredAffect.TRIGGER_ALWAYSpublic java.lang.String accountForYourself()
Ability
accountForYourself in interface AbilityaccountForYourself in class Property
public boolean okMessage(Environmental myHost,
CMMsg msg)
MsgListener
okMessage in interface MsgListenerokMessage in class PropertymyHost - either the initiator of the event, or the host of this objectmsg - the CMMsg that wants to be executed
CMMsg,
CMMsg.source()
public void executeMsg(Environmental myHost,
CMMsg msg)
MsgListener
executeMsg in interface MsgListenerexecuteMsg in class PropertymyHost - either the initiator of the event, or the host of this objectmsg - the CMMsg that needs to be executedCMMsg
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||