java.lang.Cloneable, CMCommon, CMObject, java.lang.Comparable<CMObject>, Contingent, Environmental, Expireable, Modifiable, MsgListener, StatsAffecting, TickableDefaultSocialpublic interface Social extends Environmental, CMCommon
| Modifier and Type | Interface | Description | 
|---|---|---|
| static class  | Social.SocialFlag | Flags that apply to a particular social | 
idConverterSTATUS_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 | 
|---|---|---|
| double | actionsCost(MOB mob,
           java.util.List<java.lang.String> cmds) | Returns the number of actions required to completely
 activate this social. | 
| java.lang.String | argumentName() | Argument name is the social's optional remaining argument. | 
| java.lang.String | baseName() | Base name is the name of the social's command word. | 
| double | checkedActionsCost(MOB mob,
                  java.util.List<java.lang.String> cmds) | Returns the number of actions required to completely
 activate this social. | 
| double | combatActionsCost(MOB mob,
                 java.util.List<java.lang.String> cmds) | Returns the number of actions required to completely
 activate this social. | 
| java.lang.String | getCriteriaZappermask() | Gets the zapper mask for whether a mob meets the critera necessary
 to use this social at the moment. | 
| java.lang.String | getEncodedLine() | Returns the encoded social line. | 
| java.lang.String | getFailedTargetMessage() | See_when_no_target: what the player sees when this social is used targeted, but
 the target is not available. | 
| java.util.Set<Social.SocialFlag> | getFlags() | Returns the readable/writeable flag set for this social. | 
| int | getOthersCode() | The official CoffeeMud message code used as the others code for this social,
 which reflects what the player appears to be doing. | 
| java.lang.String | getOthersMessage() | Third_party_sees:  what everyone but the player and their target
 sees when a player uses this social. | 
| java.lang.String | getSoundFile() | Returns the name of the MSP sound file associated with this social. | 
| int | getSourceCode() | The official CoffeeMud message code used as the source code for this social,
 which reflects what the player is doing. | 
| java.lang.String | getSourceMessage() | You_see: what the player themself sees when they use this social. | 
| int | getTargetCode() | The official CoffeeMud message code used as the target code for this social,
 which reflects what is being done to the target. | 
| java.lang.String | getTargetDesc() | Returns a friendly description of the target, including any argument | 
| java.lang.String | getTargetMessage() | Target_sees: what the target of this social sees when social is used on them. | 
| boolean | invoke(MOB mob,
      java.util.List<java.lang.String> commands,
      Physical target,
      boolean auto) | Executes this social by the given mob, using the target provided, with
 help from the provided command line strings in a vector,
 and with override message code flag. | 
| boolean | isTargetable() | Returns whether targetName is an -NAME> code, meaning it is targettable
 at a person or mob or something. | 
| CMMsg | makeChannelMsg(MOB mob,
              int channelInt,
              java.lang.String channelName,
              java.util.List<java.lang.String> commands,
              boolean makeTarget) | Manufactures a proper channel message that represents executing this
 social over a public chat channel. | 
| CMMsg | makeMessage(MOB mob,
           java.lang.String str,
           java.lang.String end,
           int srcMask,
           int fullCode,
           java.util.List<java.lang.String> commands,
           java.lang.String I3channelName,
           boolean makeTarget) | Manufactures a proper message that represents executing this social as an action | 
| boolean | meetsCriteriaToUse(MOB mob) | Returns whether the given mob meets the criteria necessary to use
 this social at this time. | 
| void | setCriteriaZappermask(java.lang.String mask) | Sets the zapper mask for whether a mob meets the critera necessary
 to use this social at the moment. | 
| void | setFailedMessage(java.lang.String str) | See_when_no_target: what the player sees when this social is used targeted, but
 the target is not available. | 
| void | setOthersCode(int code) | Sets the official CoffeeMud message code used as the others code for this social,
 which reflects what the player appears to be doing. | 
| void | setOthersMessage(java.lang.String str) | Third_party_sees:  what everyone but the player and their target
 sees when a player uses this social. | 
| void | setSoundFile(java.lang.String newFile) | Sets the name of the MSP sound file associated with this social. | 
| void | setSourceCode(int code) | Sets the official CoffeeMud message code used as the source code for this social,
 which reflects what the player is doing. | 
| void | setSourceMessage(java.lang.String str) | You_see: what the player themself sees when they use this social. | 
| void | setTargetCode(int code) | Sets the official CoffeeMud message code used as the target code for this social,
 which reflects what is being done to the target. | 
| void | setTargetMessage(java.lang.String str) | Target_sees: what the target of this social sees when social is used on them. | 
| java.lang.String | tailName() | Tail name is the full remainder of the social's target AND optional argument(s). | 
| boolean | targetable(Environmental E) | Whether this social variation can be targeted. | 
| java.lang.String | targetName() | Target name is the social's target argument only, such as <T-NAME>. | 
copyOf, ID, initializeClass, newInstanceamDestroyed, destroy, isSavable, setSavabledescription, displayText, image, isGeneric, L, maxRange, minRange, miscTextFormat, Name, rawImage, sameAs, setDescription, setDisplayText, setImage, setMiscText, setName, textexpirationDate, setExpirationDategetSaveStatIndex, getStat, getStatCodes, isStat, setStatexecuteMsg, okMessageaffectCharState, affectCharStats, affectPhyStatsgetTickStatus, name, tickjava.lang.String baseName()
java.lang.String tailName()
java.lang.String getTargetDesc()
java.lang.String targetName()
boolean isTargetable()
java.lang.String argumentName()
java.lang.String getSourceMessage()
setSourceMessage(String)void setSourceMessage(java.lang.String str)
str - what the player themself sees when they use this social.getSourceMessage()java.lang.String getOthersMessage()
setOthersMessage(String)void setOthersMessage(java.lang.String str)
str - the string everyone else seesgetOthersMessage()java.lang.String getTargetMessage()
setTargetMessage(String)void setTargetMessage(java.lang.String str)
str - what the target of this social sees when social is used on themgetTargetMessage()java.lang.String getFailedTargetMessage()
setFailedMessage(String)void setFailedMessage(java.lang.String str)
str - the string seen by the player when the target has leftgetFailedTargetMessage()int getSourceCode()
setSourceCode(int), 
CMMsg.MSG_SPEAK, 
CMMsg.MSG_HANDS, 
CMMsg.MSG_NOISE, 
CMMsg.MSG_NOISYMOVEMENTvoid setSourceCode(int code)
code - the CMMsg social code, fully formedgetSourceCode(), 
CMMsg.MSG_SPEAK, 
CMMsg.MSG_HANDS, 
CMMsg.MSG_NOISE, 
CMMsg.MSG_NOISYMOVEMENTint getOthersCode()
setOthersCode(int), 
CMMsg.MSG_SPEAK, 
CMMsg.MSG_HANDS, 
CMMsg.MSG_NOISE, 
CMMsg.MSG_NOISYMOVEMENT, 
CMMsg.MSG_OK_VISUALvoid setOthersCode(int code)
code - the CMMsg social code, fully formedgetOthersCode(), 
CMMsg.MSG_SPEAK, 
CMMsg.MSG_HANDS, 
CMMsg.MSG_NOISE, 
CMMsg.MSG_NOISYMOVEMENT, 
CMMsg.MSG_OK_VISUALint getTargetCode()
setTargetCode(int), 
CMMsg.MSG_SPEAK, 
CMMsg.MSG_HANDS, 
CMMsg.MSG_NOISE, 
CMMsg.MSG_NOISYMOVEMENT, 
CMMsg.MSG_OK_VISUALvoid setTargetCode(int code)
code - the CMMsg social code, fully formedgetTargetCode(), 
CMMsg.MSG_SPEAK, 
CMMsg.MSG_HANDS, 
CMMsg.MSG_NOISE, 
CMMsg.MSG_NOISYMOVEMENT, 
CMMsg.MSG_OK_VISUALboolean targetable(Environmental E)
E - The object to check to see if this is targetable against.Environmental.Name()java.lang.String getSoundFile()
setSoundFile(String)void setSoundFile(java.lang.String newFile)
newFile - the msp sound file namegetSoundFile()boolean meetsCriteriaToUse(MOB mob)
mob - the mob to checkvoid setCriteriaZappermask(java.lang.String mask)
mask - the zapper mask to usejava.lang.String getCriteriaZappermask()
boolean invoke(MOB mob, java.util.List<java.lang.String> commands, Physical target, boolean auto)
mob - the source of the social actioncommands - the vector of stringstarget - the target of the socialauto - true to override physical constraints of the source or targetCMMsg makeChannelMsg(MOB mob, int channelInt, java.lang.String channelName, java.util.List<java.lang.String> commands, boolean makeTarget)
mob - the mob doing the socialchannelInt - the channel int representing which chat channelchannelName - the channel name of the chat channelcommands - the commands as a string vector entered by the usermakeTarget - true to create a fake target, or false to find a real one.CMMsg, 
makeMessage(MOB, String, String, int, int, List, String, boolean)CMMsg makeMessage(MOB mob, java.lang.String str, java.lang.String end, int srcMask, int fullCode, java.util.List<java.lang.String> commands, java.lang.String I3channelName, boolean makeTarget)
mob - the mob doing the socialstr - the str an optional "header" string for the msg, usually mxp relatedend - the end an optional "trailer" string for the msg, usually mxp relatedsrcMask - the src mask to logically OR with the generated message source codefullCode - the override target and others code from the one in this socialcommands - the commands as a string vector entered by the userI3channelName - the i3channel name or null if n/amakeTarget - true to manufacture a target, or false to use a real oneCMMsg, 
makeChannelMsg(MOB, int, String, List, boolean)double actionsCost(MOB mob, java.util.List<java.lang.String> cmds)
mob - the mob executing the social, if anycmds - the parameters to be passed to the social, if anycombatActionsCost(MOB, List), 
checkedActionsCost(MOB, List)double combatActionsCost(MOB mob, java.util.List<java.lang.String> cmds)
mob - the mob executing the social, if anycmds - the parameters to be passed to the social, if anyactionsCost(MOB, List), 
checkedActionsCost(MOB, List)double checkedActionsCost(MOB mob, java.util.List<java.lang.String> cmds)
mob - the mob executing the social, if anycmds - the parameters to be passed to the social, if anycombatActionsCost(MOB, List), 
actionsCost(MOB, List)java.lang.String getEncodedLine()
java.util.Set<Social.SocialFlag> getFlags()