CMGenEditor
public interface GenericEditor extends CMLibrary
Modifier and Type | Interface | Description |
---|---|---|
static interface |
GenericEditor.CMEval |
An interface for implementing a custom evaluator
for prompts requiring lists of things.
|
idConverter
Modifier and Type | Method | Description |
---|---|---|
Room |
changeRoomType(Room R,
Room newRoom) |
Changes the given rooms type into that of the given new room.
|
void |
genAbility(MOB mob,
Physical P,
int showNumber,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
void |
genAffects(MOB mob,
Physical P,
int showNumber,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
void |
genBehaviors(MOB mob,
PhysicalAgent P,
int showNumber,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
void |
genDescription(MOB mob,
Environmental E,
int showNumber,
int showFlag) |
Prompts the given user for a new description value using the mud's
standard menu interface, and changes the given objects description.
|
void |
genDisplayText(MOB mob,
Environmental E,
int showNumber,
int showFlag) |
Prompts the given user for a new display text using the mud's
standard menu interface, and changes the given objects display text.
|
void |
genMiscSet(MOB mob,
Environmental E,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
void |
genMiscText(MOB mob,
Environmental E,
int showNumber,
int showFlag) |
Provides an command line editor menu for a CoffeeMud object.
|
void |
genName(MOB mob,
Environmental E,
int showNumber,
int showFlag) |
Prompts the given user for a new name value using the mud's
standard menu interface, and changes the given objects name.
|
void |
modifyAccount(MOB mob,
PlayerAccount A,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
AbilityMapper.AbilityMapping |
modifyAllQualifyEntry(MOB mob,
java.lang.String eachOrAll,
Ability me,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
void |
modifyArea(MOB mob,
Area myArea,
java.util.Set<Area> alsoUpdateAreas,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
void |
modifyClan(MOB mob,
Clan C,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
void |
modifyComponents(MOB mob,
java.lang.String skillID,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
void |
modifyGenAbility(MOB mob,
Ability me,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
void |
modifyGenClass(MOB mob,
CharClass me,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
void |
modifyGenCraftSkill(MOB mob,
Ability me,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
void |
modifyGenExit(MOB mob,
Exit me,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
void |
modifyGenGatheringSkill(MOB mob,
Ability me,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
void |
modifyGenLanguage(MOB mob,
Language me,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
void |
modifyGenRace(MOB mob,
Race me,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
void |
modifyGenTrap(MOB mob,
Trap me,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
void |
modifyGenWrightSkill(MOB mob,
Ability me,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
void |
modifyGovernment(MOB mob,
ClanGovernment me,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
void |
modifyManufacturer(MOB mob,
Manufacturer me,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
java.lang.String |
modifyPlane(MOB mob,
java.lang.String planeName,
java.util.Map<java.lang.String,java.lang.String> planeSet,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
void |
modifyPlayer(MOB mob,
MOB me,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
Room |
modifyRoom(MOB mob,
Room R,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
void |
modifyStdItem(MOB mob,
Item I,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
void |
modifyStdMob(MOB mob,
MOB M,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
boolean |
prompt(MOB mob,
boolean oldVal,
int showNumber,
int showFlag,
java.lang.String fieldDisp) |
Prompts the given user for a boolean value using the mud's
standard menu interface.
|
boolean |
prompt(MOB mob,
boolean oldVal,
int showNumber,
int showFlag,
java.lang.String fieldDisp,
java.lang.String help) |
Prompts the given user for a boolean value using the mud's
standard menu interface.
|
double |
prompt(MOB mob,
double oldVal,
int showNumber,
int showFlag,
java.lang.String fieldDisp) |
Prompts the given user for a double value using the mud's
standard menu interface.
|
double |
prompt(MOB mob,
double oldVal,
int showNumber,
int showFlag,
java.lang.String fieldDisp,
java.lang.String help) |
Prompts the given user for a double value using the mud's
standard menu interface.
|
int |
prompt(MOB mob,
int oldVal,
int showNumber,
int showFlag,
java.lang.String fieldDisp) |
Prompts the given user for a int value using the mud's
standard menu interface.
|
int |
prompt(MOB mob,
int oldVal,
int showNumber,
int showFlag,
java.lang.String fieldDisp,
java.lang.String help) |
Prompts the given user for a int value using the mud's
standard menu interface.
|
long |
prompt(MOB mob,
long oldVal,
int showNumber,
int showFlag,
java.lang.String fieldDisp) |
Prompts the given user for a long value using the mud's
standard menu interface.
|
long |
prompt(MOB mob,
long oldVal,
int showNumber,
int showFlag,
java.lang.String fieldDisp,
java.lang.String help) |
Prompts the given user for a long value using the mud's
standard menu interface.
|
java.lang.String |
prompt(MOB mob,
java.lang.String oldVal,
int showNumber,
int showFlag,
java.lang.String fieldDisp) |
Prompts the given user for a string using the mud's
standard menu interface.
|
java.lang.String |
prompt(MOB mob,
java.lang.String oldVal,
int showNumber,
int showFlag,
java.lang.String fieldDisp,
boolean emptyOK) |
Prompts the given user for a string using the mud's
standard menu interface.
|
java.lang.String |
prompt(MOB mob,
java.lang.String oldVal,
int showNumber,
int showFlag,
java.lang.String fieldDisp,
boolean emptyOK,
boolean rawPrint) |
Prompts the given user for a string using the mud's
standard menu interface.
|
java.lang.String |
prompt(MOB mob,
java.lang.String oldVal,
int showNumber,
int showFlag,
java.lang.String fieldDisp,
boolean emptyOK,
boolean rawPrint,
int maxChars,
java.lang.String help,
GenericEditor.CMEval eval,
java.lang.Object[] choices) |
Prompts the given user for a string using the mud's
standard menu interface.
|
java.lang.String |
prompt(MOB mob,
java.lang.String oldVal,
int showNumber,
int showFlag,
java.lang.String fieldDisp,
boolean emptyOK,
boolean rawPrint,
java.lang.String help) |
Prompts the given user for a string using the mud's
standard menu interface.
|
java.lang.String |
prompt(MOB mob,
java.lang.String oldVal,
int showNumber,
int showFlag,
java.lang.String fieldDisp,
boolean emptyOK,
boolean rawPrint,
java.lang.String help,
GenericEditor.CMEval eval,
java.lang.Object[] choices) |
Prompts the given user for a string using the mud's
standard menu interface.
|
java.lang.String |
prompt(MOB mob,
java.lang.String oldVal,
int showNumber,
int showFlag,
java.lang.String fieldDisp,
boolean emptyOK,
java.lang.String help) |
Prompts the given user for a string using the mud's
standard menu interface.
|
java.lang.String |
prompt(MOB mob,
java.lang.String oldVal,
int showNumber,
int showFlag,
java.lang.String fieldDisp,
java.lang.String help) |
Prompts the given user for a string using the mud's
standard menu interface.
|
java.lang.String |
promptChoice(MOB mob,
java.lang.String oldVal,
int showNumber,
int showFlag,
java.lang.String fieldDisp,
PairList<java.lang.String,java.lang.String> choices) |
Prompts the given user using the mud's standard menu interface.
|
java.util.Collection<? extends java.lang.Object> |
promptEnumChoices(MOB mob,
java.util.Collection<? extends java.lang.Object> flags,
java.lang.Object[] values,
int showNumber,
int showFlag,
java.lang.String fieldDisplayStr) |
Prompts the given mob for one or more choices from a given enum values
array.
|
int |
promptMulti(MOB mob,
int oldVal,
int showNumber,
int showFlag,
java.lang.String fieldDisp,
PairList<java.lang.String,java.lang.String> choices) |
Prompts the given user using the mud's standard menu interface.
|
java.lang.String |
promptMultiOrExtra(MOB mob,
java.lang.String oldVal,
int showNumber,
int showFlag,
java.lang.String fieldDisp,
PairList<java.lang.String,java.lang.String> choices) |
Prompts the given user using the mud's standard menu interface.
|
java.lang.String |
promptMultiSelectList(MOB mob,
java.lang.String oldVal,
java.lang.String delimiter,
int showNumber,
int showFlag,
java.lang.String fieldDisp,
PairList<java.lang.String,java.lang.String> choices,
boolean nullOK) |
Prompts the given user using the mud's standard menu interface.
|
void |
promptStatBool(MOB mob,
Modifiable E,
int showNumber,
int showFlag,
java.lang.String fieldDisp,
java.lang.String statField) |
Prompts the given mob for a Modifiable interface Boolean stat value.
|
void |
promptStatBool(MOB mob,
Modifiable E,
java.lang.String help,
int showNumber,
int showFlag,
java.lang.String fieldDisp,
java.lang.String statField) |
Prompts the given mob for a Modifiable interface Boolean stat value.
|
void |
promptStatChoices(MOB mob,
Modifiable E,
java.lang.String help,
int showNumber,
int showFlag,
java.lang.String fieldDisp,
java.lang.String statField,
java.lang.Object[] choices) |
Prompts the given mob for a Modifiable interface stat value chosen from
a set of choices.
|
void |
promptStatCommaChoices(MOB mob,
Modifiable E,
java.lang.String help,
int showNumber,
int showFlag,
java.lang.String fieldDisp,
java.lang.String statField,
java.lang.Object[] choices) |
Prompts the given mob for a Modifiable interface stat value that consists of a
comma delimited list of values from a set of choices.
|
void |
promptStatDouble(MOB mob,
Modifiable E,
int showNumber,
int showFlag,
java.lang.String fieldDisp,
java.lang.String statField) |
Prompts the given mob for a Modifiable interface Double stat value.
|
void |
promptStatDouble(MOB mob,
Modifiable E,
java.lang.String help,
int showNumber,
int showFlag,
java.lang.String fieldDisp,
java.lang.String statField) |
Prompts the given mob for a Modifiable interface Double stat value.
|
void |
promptStatInt(MOB mob,
Modifiable E,
int showNumber,
int showFlag,
java.lang.String fieldDisp,
java.lang.String statField) |
Prompts the given mob for a Modifiable interface Integer stat value.
|
void |
promptStatInt(MOB mob,
Modifiable E,
java.lang.String help,
int showNumber,
int showFlag,
java.lang.String fieldDisp,
java.lang.String statField) |
Prompts the given mob for a Modifiable interface Integer stat value.
|
void |
promptStatStr(MOB mob,
Modifiable E,
int showNumber,
int showFlag,
java.lang.String fieldDisp,
java.lang.String statField) |
Prompts the given mob for a Modifiable interface String stat value.
|
void |
promptStatStr(MOB mob,
Modifiable E,
java.lang.String help,
int showNumber,
int showFlag,
java.lang.String fieldDisp,
java.lang.String statField,
boolean emptyOK) |
Prompts the given mob for a Modifiable interface String stat value.
|
boolean |
promptToggle(MOB mob,
int showNumber,
int showFlag,
java.lang.String fieldDisp) |
Prompts the given user for a boolean value using the mud's
standard menu interface.
|
void |
spellsOrBehaviors(MOB mob,
java.util.List<CMObject> V,
int showNumber,
int showFlag,
boolean inParms) |
Prompts the given user using the mud's standard menu interface.
|
void |
spellsOrBehavs(MOB mob,
java.util.List<CMObject> V,
int showNumber,
int showFlag,
boolean inParms) |
Prompts the given user using the mud's standard menu interface.
|
void |
wornLayer(MOB mob,
short[] layerAtt,
short[] clothingLayer,
int showNumber,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
void |
wornLocation(MOB mob,
long[] oldWornLocation,
boolean[] logicalAnd,
int showNumber,
int showFlag) |
Prompts the given user using the mud's standard menu interface.
|
activate, getServiceClient, L, propertiesLoaded, shutdown
copyOf, ID, initializeClass, name, newInstance
void modifyArea(MOB mob, Area myArea, java.util.Set<Area> alsoUpdateAreas, int showFlag) throws java.io.IOException
mob
- the player doing the editingmyArea
- the area being editedalsoUpdateAreas
- set to put other area objects changed by this one (parents/children)showFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)Room modifyRoom(MOB mob, Room R, int showFlag) throws java.io.IOException
mob
- the player doing the editingR
- the room being editedshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)void modifyAccount(MOB mob, PlayerAccount A, int showFlag) throws java.io.IOException
mob
- the player doing the editingA
- the account being editedshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)void modifyStdItem(MOB mob, Item I, int showFlag) throws java.io.IOException
mob
- the player doing the editingI
- the item to editshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)void modifyStdMob(MOB mob, MOB M, int showFlag) throws java.io.IOException
mob
- the player doing the editingM
- the mob to editshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)void modifyComponents(MOB mob, java.lang.String skillID, int showFlag) throws java.io.IOException
mob
- the player doing the editingskillID
- the ability ID to modify components forshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)void modifyClan(MOB mob, Clan C, int showFlag) throws java.io.IOException
mob
- the player doing the editingC
- the object being editedshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)void modifyGenAbility(MOB mob, Ability me, int showFlag) throws java.io.IOException
mob
- the player doing the editingme
- the object being editedshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)void modifyGenLanguage(MOB mob, Language me, int showFlag) throws java.io.IOException
mob
- the player doing the editingme
- the object being editedshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)void modifyManufacturer(MOB mob, Manufacturer me, int showFlag) throws java.io.IOException
mob
- the player doing the editingme
- the object being editedshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)void modifyGenCraftSkill(MOB mob, Ability me, int showFlag) throws java.io.IOException
mob
- the player doing the editingme
- the object being editedshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)void modifyGenWrightSkill(MOB mob, Ability me, int showFlag) throws java.io.IOException
mob
- the player doing the editingme
- the object being editedshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)void modifyGenTrap(MOB mob, Trap me, int showFlag) throws java.io.IOException
mob
- the player doing the editingme
- the object being editedshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)void modifyGenGatheringSkill(MOB mob, Ability me, int showFlag) throws java.io.IOException
mob
- the player doing the editingme
- the object being editedshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)void modifyGenClass(MOB mob, CharClass me, int showFlag) throws java.io.IOException
mob
- the player doing the editingme
- the object being editedshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)void modifyGenExit(MOB mob, Exit me, int showFlag) throws java.io.IOException
mob
- the player doing the editingme
- the object being editedshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)void modifyGenRace(MOB mob, Race me, int showFlag) throws java.io.IOException
mob
- the player doing the editingme
- the object being editedshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)void modifyPlayer(MOB mob, MOB me, int showFlag) throws java.io.IOException
mob
- the player doing the editingme
- the object being editedshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)void modifyGovernment(MOB mob, ClanGovernment me, int showFlag) throws java.io.IOException
mob
- the player doing the editingme
- the object being editedshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)AbilityMapper.AbilityMapping modifyAllQualifyEntry(MOB mob, java.lang.String eachOrAll, Ability me, int showFlag) throws java.io.IOException
mob
- the player doing the editingeachOrAll
- true for Each class, false for All classesme
- the Ability to find the rule forshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)java.lang.String modifyPlane(MOB mob, java.lang.String planeName, java.util.Map<java.lang.String,java.lang.String> planeSet, int showFlag) throws java.io.IOException
mob
- the player doing the editingplaneName
- the name of the Plane of ExistenceplaneSet
- the existing variable definitions for the planeshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)void genMiscSet(MOB mob, Environmental E, int showFlag) throws java.io.IOException
mob
- the player doing the editingE
- the object to editshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)Room changeRoomType(Room R, Room newRoom)
R
- the old room with all the stuff in itnewRoom
- the new room typevoid spellsOrBehavs(MOB mob, java.util.List<CMObject> V, int showNumber, int showFlag, boolean inParms) throws java.io.IOException
mob
- the player doing the editingV
- the list of ability/behavior objectsshowNumber
- the item number of this menu entry, possibly ignoredshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editinParms
- true to allow parms to be edited, false otherwisejava.io.IOException
- any i/o errors that occur (socket reset errors usually)spellsOrBehaviors(MOB, List, int, int, boolean)
void spellsOrBehaviors(MOB mob, java.util.List<CMObject> V, int showNumber, int showFlag, boolean inParms) throws java.io.IOException
mob
- the player doing the editingV
- the list of ability/behavior objectsshowNumber
- the item number of this menu entry, possibly ignoredshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editinParms
- true to allow parms to be edited, false otherwisejava.io.IOException
- any i/o errors that occur (socket reset errors usually)spellsOrBehavs(MOB, List, int, int, boolean)
void wornLocation(MOB mob, long[] oldWornLocation, boolean[] logicalAnd, int showNumber, int showFlag) throws java.io.IOException
mob
- the player doing the editingoldWornLocation
- the old/new worn location bitmaplogicalAnd
- true for All locations, false for Any locshowNumber
- the item number of this menu entry, possibly ignoredshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)void wornLayer(MOB mob, short[] layerAtt, short[] clothingLayer, int showNumber, int showFlag) throws java.io.IOException
mob
- the player doing the editinglayerAtt
- the existing/new layer attributesclothingLayer
- the existing/new clothing layershowNumber
- the item number of this menu entry, possibly ignoredshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)void genAbility(MOB mob, Physical P, int showNumber, int showFlag) throws java.io.IOException
mob
- the player doing the editingP
- the object to editshowNumber
- the item number of this menu entry, possibly ignoredshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)void genAffects(MOB mob, Physical P, int showNumber, int showFlag) throws java.io.IOException
mob
- the player doing the editingP
- the object to editshowNumber
- the item number of this menu entry, possibly ignoredshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)void genBehaviors(MOB mob, PhysicalAgent P, int showNumber, int showFlag) throws java.io.IOException
mob
- the player doing the editingP
- the object to editshowNumber
- the item number of this menu entry, possibly ignoredshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)void genDescription(MOB mob, Environmental E, int showNumber, int showFlag) throws java.io.IOException
mob
- the player doing the editingE
- the object to editshowNumber
- the item number of this menu entry, possibly ignoredshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)void genDisplayText(MOB mob, Environmental E, int showNumber, int showFlag) throws java.io.IOException
mob
- the player doing the editingE
- the object to editshowNumber
- the item number of this menu entry, possibly ignoredshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)void genName(MOB mob, Environmental E, int showNumber, int showFlag) throws java.io.IOException
mob
- the player doing the editingE
- the object to editshowNumber
- the item number of this menu entry, possibly ignoredshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)void genMiscText(MOB mob, Environmental E, int showNumber, int showFlag) throws java.io.IOException
mob
- the player doing the editingE
- the object to editshowNumber
- the item number of this menu entry, possibly ignoredshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editjava.io.IOException
- any i/o errors that occur (socket reset errors usually)boolean promptToggle(MOB mob, int showNumber, int showFlag, java.lang.String fieldDisp) throws java.io.IOException
mob
- the player doing the togglingshowNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringjava.io.IOException
- any i/o errors that occur (socket reset errors usually)boolean prompt(MOB mob, boolean oldVal, int showNumber, int showFlag, java.lang.String fieldDisp) throws java.io.IOException
mob
- the player doing the editingoldVal
- the previous valueshowNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringjava.io.IOException
- any i/o errors that occur (socket reset errors usually)boolean prompt(MOB mob, boolean oldVal, int showNumber, int showFlag, java.lang.String fieldDisp, java.lang.String help) throws java.io.IOException
mob
- the player doing the editingoldVal
- the previous valueshowNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringhelp
- null, or a help message to respond to on ?java.io.IOException
- any i/o errors that occur (socket reset errors usually)double prompt(MOB mob, double oldVal, int showNumber, int showFlag, java.lang.String fieldDisp) throws java.io.IOException
mob
- the player doing the editingoldVal
- the previous valueshowNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringjava.io.IOException
- any i/o errors that occur (socket reset errors usually)double prompt(MOB mob, double oldVal, int showNumber, int showFlag, java.lang.String fieldDisp, java.lang.String help) throws java.io.IOException
mob
- the player doing the editingoldVal
- the previous valueshowNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringhelp
- null, or a help message to respond to on ?java.io.IOException
- any i/o errors that occur (socket reset errors usually)int prompt(MOB mob, int oldVal, int showNumber, int showFlag, java.lang.String fieldDisp) throws java.io.IOException
mob
- the player doing the editingoldVal
- the previous valueshowNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringjava.io.IOException
- any i/o errors that occur (socket reset errors usually)int prompt(MOB mob, int oldVal, int showNumber, int showFlag, java.lang.String fieldDisp, java.lang.String help) throws java.io.IOException
mob
- the player doing the editingoldVal
- the previous valueshowNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringhelp
- null, or a help message to respond to on ?java.io.IOException
- any i/o errors that occur (socket reset errors usually)long prompt(MOB mob, long oldVal, int showNumber, int showFlag, java.lang.String fieldDisp) throws java.io.IOException
mob
- the player doing the editingoldVal
- the previous valueshowNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringjava.io.IOException
- any i/o errors that occur (socket reset errors usually)long prompt(MOB mob, long oldVal, int showNumber, int showFlag, java.lang.String fieldDisp, java.lang.String help) throws java.io.IOException
mob
- the player doing the editingoldVal
- the previous valueshowNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringhelp
- null, or a help message to respond to on ?java.io.IOException
- any i/o errors that occur (socket reset errors usually)int promptMulti(MOB mob, int oldVal, int showNumber, int showFlag, java.lang.String fieldDisp, PairList<java.lang.String,java.lang.String> choices) throws java.io.IOException
mob
- the player doing the editingoldVal
- the previous value of the bitmapshowNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringchoices
- list of bit pair choices: str(int)/str pairsjava.io.IOException
- any i/o errors that occur (socket reset errors usually)java.lang.String promptChoice(MOB mob, java.lang.String oldVal, int showNumber, int showFlag, java.lang.String fieldDisp, PairList<java.lang.String,java.lang.String> choices) throws java.io.IOException
mob
- the player doing the editingoldVal
- the previous key valueshowNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringchoices
- set of choices as pair(key value, display value)java.io.IOException
- any i/o errors that occur (socket reset errors usually)java.lang.String promptMultiSelectList(MOB mob, java.lang.String oldVal, java.lang.String delimiter, int showNumber, int showFlag, java.lang.String fieldDisp, PairList<java.lang.String,java.lang.String> choices, boolean nullOK) throws java.io.IOException
mob
- the player doing the editingoldVal
- the previous values as a delimited stringdelimiter
- the delimiter of the choices in the stringshowNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringchoices
- set of choices as pair(key value, display value)nullOK
- true if selecting nothing is OK, false otherwisejava.io.IOException
- any i/o errors that occur (socket reset errors usually)java.lang.String promptMultiOrExtra(MOB mob, java.lang.String oldVal, int showNumber, int showFlag, java.lang.String fieldDisp, PairList<java.lang.String,java.lang.String> choices) throws java.io.IOException
mob
- the player doing the editingoldVal
- the previous value of the string, or str(int)showNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringchoices
- list of unique choices, or str(int)/str pairsjava.io.IOException
- any i/o errors that occur (socket reset errors usually)java.lang.String prompt(MOB mob, java.lang.String oldVal, int showNumber, int showFlag, java.lang.String fieldDisp) throws java.io.IOException
mob
- the player doing the editingoldVal
- the previous value of the stringshowNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringjava.io.IOException
- any i/o errors that occur (socket reset errors usually)java.lang.String prompt(MOB mob, java.lang.String oldVal, int showNumber, int showFlag, java.lang.String fieldDisp, boolean emptyOK) throws java.io.IOException
mob
- the player doing the editingoldVal
- the previous value of the stringshowNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringemptyOK
- true if "" is acceptable, false otherwisejava.io.IOException
- any i/o errors that occur (socket reset errors usually)java.lang.String prompt(MOB mob, java.lang.String oldVal, int showNumber, int showFlag, java.lang.String fieldDisp, boolean emptyOK, boolean rawPrint) throws java.io.IOException
mob
- the player doing the editingoldVal
- the previous value of the stringshowNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringemptyOK
- true if "" is acceptable, false otherwiserawPrint
- true to show old values unfiltered, false for normal viewjava.io.IOException
- any i/o errors that occur (socket reset errors usually)java.lang.String prompt(MOB mob, java.lang.String oldVal, int showNumber, int showFlag, java.lang.String fieldDisp, boolean emptyOK, java.lang.String help) throws java.io.IOException
mob
- the player doing the editingoldVal
- the previous value of the stringshowNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringemptyOK
- true if "" is acceptable, false otherwisehelp
- null, or a help message to respond to on ?java.io.IOException
- any i/o errors that occur (socket reset errors usually)java.lang.String prompt(MOB mob, java.lang.String oldVal, int showNumber, int showFlag, java.lang.String fieldDisp, java.lang.String help) throws java.io.IOException
mob
- the player doing the editingoldVal
- the previous value of the stringshowNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringhelp
- null, or a help message to respond to on ?java.io.IOException
- any i/o errors that occur (socket reset errors usually)java.lang.String prompt(MOB mob, java.lang.String oldVal, int showNumber, int showFlag, java.lang.String fieldDisp, boolean emptyOK, boolean rawPrint, java.lang.String help) throws java.io.IOException
mob
- the player doing the editingoldVal
- the previous value of the stringshowNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringemptyOK
- true if "" is acceptable, false otherwiserawPrint
- true to show old values unfiltered, false for normal viewhelp
- null, or a help message to respond to on ?java.io.IOException
- any i/o errors that occur (socket reset errors usually)java.lang.String prompt(MOB mob, java.lang.String oldVal, int showNumber, int showFlag, java.lang.String fieldDisp, boolean emptyOK, boolean rawPrint, java.lang.String help, GenericEditor.CMEval eval, java.lang.Object[] choices) throws java.io.IOException
mob
- the player doing the editingoldVal
- the previous value of the stringshowNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringemptyOK
- true if "" is acceptable, false otherwiserawPrint
- true to show old values unfiltered, false for normal viewhelp
- null, or a help message to respond to on ?eval
- null, or an GenericEditor.CMEval
objectchoices
- null, or the set of valid choices, any objects that have toString()java.io.IOException
- any i/o errors that occur (socket reset errors usually)java.lang.String prompt(MOB mob, java.lang.String oldVal, int showNumber, int showFlag, java.lang.String fieldDisp, boolean emptyOK, boolean rawPrint, int maxChars, java.lang.String help, GenericEditor.CMEval eval, java.lang.Object[] choices) throws java.io.IOException
mob
- the player doing the editingoldVal
- the previous value of the stringshowNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringemptyOK
- true if "" is acceptable, false otherwiserawPrint
- true to show old values unfiltered, false for normal viewmaxChars
- 0, or a maximum number of chars for the stringhelp
- null, or a help message to respond to on ?eval
- null, or an GenericEditor.CMEval
objectchoices
- null, or the set of valid choices, any objects that have toString()java.io.IOException
- any i/o errors that occur (socket reset errors usually)void promptStatStr(MOB mob, Modifiable E, int showNumber, int showFlag, java.lang.String fieldDisp, java.lang.String statField) throws java.io.IOException
mob
- the player doing the editingE
- the Modifiable object to modifyshowNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringstatField
- the official Modifiable stat field idjava.io.IOException
- any i/o errors that occur (socket reset errors usually)Modifiable
void promptStatStr(MOB mob, Modifiable E, java.lang.String help, int showNumber, int showFlag, java.lang.String fieldDisp, java.lang.String statField, boolean emptyOK) throws java.io.IOException
mob
- the player doing the editingE
- the Modifiable object to modifyhelp
- null, or a help message to respond to on ?showNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringstatField
- the official Modifiable stat field idemptyOK
- true if "" is acceptable, false otherwisejava.io.IOException
- any i/o errors that occur (socket reset errors usually)Modifiable
void promptStatInt(MOB mob, Modifiable E, int showNumber, int showFlag, java.lang.String fieldDisp, java.lang.String statField) throws java.io.IOException
mob
- the player doing the editingE
- the Modifiable object to modifyshowNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringstatField
- the official Modifiable stat field idjava.io.IOException
- any i/o errors that occur (socket reset errors usually)Modifiable
void promptStatInt(MOB mob, Modifiable E, java.lang.String help, int showNumber, int showFlag, java.lang.String fieldDisp, java.lang.String statField) throws java.io.IOException
mob
- the player doing the editingE
- the Modifiable object to modifyhelp
- null, or a help message to respond to on ?showNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringstatField
- the official Modifiable stat field idjava.io.IOException
- any i/o errors that occur (socket reset errors usually)Modifiable
void promptStatBool(MOB mob, Modifiable E, int showNumber, int showFlag, java.lang.String fieldDisp, java.lang.String statField) throws java.io.IOException
mob
- the player doing the editingE
- the Modifiable object to modifyshowNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringstatField
- the official Modifiable stat field idjava.io.IOException
- any i/o errors that occur (socket reset errors usually)Modifiable
void promptStatBool(MOB mob, Modifiable E, java.lang.String help, int showNumber, int showFlag, java.lang.String fieldDisp, java.lang.String statField) throws java.io.IOException
mob
- the player doing the editingE
- the Modifiable object to modifyhelp
- null, or a help message to respond to on ?showNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringstatField
- the official Modifiable stat field idjava.io.IOException
- any i/o errors that occur (socket reset errors usually)Modifiable
void promptStatDouble(MOB mob, Modifiable E, int showNumber, int showFlag, java.lang.String fieldDisp, java.lang.String statField) throws java.io.IOException
mob
- the player doing the editingE
- the Modifiable object to modifyshowNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringstatField
- the official Modifiable stat field idjava.io.IOException
- any i/o errors that occur (socket reset errors usually)Modifiable
void promptStatDouble(MOB mob, Modifiable E, java.lang.String help, int showNumber, int showFlag, java.lang.String fieldDisp, java.lang.String statField) throws java.io.IOException
mob
- the player doing the editingE
- the Modifiable object to modifyhelp
- null, or a help message to respond to on ?showNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringstatField
- the official Modifiable stat field idjava.io.IOException
- any i/o errors that occur (socket reset errors usually)Modifiable
void promptStatChoices(MOB mob, Modifiable E, java.lang.String help, int showNumber, int showFlag, java.lang.String fieldDisp, java.lang.String statField, java.lang.Object[] choices) throws java.io.IOException
mob
- the player doing the editingE
- the Modifiable object to modifyhelp
- null, or a help message to respond to on ?showNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringstatField
- the official Modifiable stat field idchoices
- the set of valid choices, any object that has toString()java.io.IOException
- any i/o errors that occur (socket reset errors usually)Modifiable
void promptStatCommaChoices(MOB mob, Modifiable E, java.lang.String help, int showNumber, int showFlag, java.lang.String fieldDisp, java.lang.String statField, java.lang.Object[] choices) throws java.io.IOException
mob
- the player doing the editingE
- the Modifiable object to modifyhelp
- null, or a help message to respond to on ?showNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisp
- the prompt display stringstatField
- the official Modifiable stat field idchoices
- the set of valid choices, any object that has toString()java.io.IOException
- any i/o errors that occur (socket reset errors usually)Modifiable
java.util.Collection<? extends java.lang.Object> promptEnumChoices(MOB mob, java.util.Collection<? extends java.lang.Object> flags, java.lang.Object[] values, int showNumber, int showFlag, java.lang.String fieldDisplayStr) throws java.io.IOException
mob
- the player doing the editingflags
- the current existing set of selected enum valuesvalues
- the full set of all enum valuesshowNumber
- the item number of this menu entryshowFlag
- 0 to only show prompt and value, -999 to always edit, or the showNumber to editfieldDisplayStr
- the prompt display stringjava.io.IOException
- any i/o errors that occur (socket reset errors usually)