public class MUDGrinder extends StdWebMacro
idConverter
Constructor | Description |
---|---|
MUDGrinder() |
Modifier and Type | Method | Description |
---|---|---|
protected int[] |
getAppropriateXY(Area A,
java.lang.String mapStyle) |
|
static Area |
getAreaObject(java.lang.String ID) |
|
protected Area |
getLoggedArea(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq,
MOB mob) |
|
static Room |
getRoomObject(com.planet_ink.coffee_web.interfaces.HTTPRequest req,
java.lang.String ID) |
|
static Room |
getRoomObject(java.lang.String AREA,
java.lang.String ID) |
|
protected java.lang.String |
gridRoomID(Area A,
int x,
int y) |
|
boolean |
isAdminMacro() |
Whether this macro is restricted to the admin web server.
|
java.lang.String |
name() |
The public name of this macro
|
protected java.lang.String |
quickfind(Area A,
java.lang.String find) |
|
java.lang.String |
runMacro(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq,
java.lang.String parm,
com.planet_ink.coffee_web.interfaces.HTTPResponse httpResp) |
This method is executed only if this macro returns false for
preferBinary().
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearWebMacros, clearWebMacros, colorwebifyOnly, compareTo, copyOf, getHTTPFileData, grabFile, helpHelp, helpHelp, htmlIncomingFilter, htmlIncomingFilter, htmlOutgoingFilter, htmlOutgoingFilter, ID, initializeClass, isAWebPath, L, newInstance, parseOrderedParms, parseParms, parseParms, preferBinary, runBinaryMacro, safeIncomingfilter, webify, webify
public java.lang.String name()
WebMacro
name
in interface CMObject
name
in interface WebMacro
name
in class StdWebMacro
Environmental.Name()
public boolean isAdminMacro()
WebMacro
isAdminMacro
in interface WebMacro
isAdminMacro
in class StdWebMacro
public static Area getAreaObject(java.lang.String ID)
public static Room getRoomObject(java.lang.String AREA, java.lang.String ID)
public static Room getRoomObject(com.planet_ink.coffee_web.interfaces.HTTPRequest req, java.lang.String ID)
public java.lang.String runMacro(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq, java.lang.String parm, com.planet_ink.coffee_web.interfaces.HTTPResponse httpResp)
WebMacro
runMacro
in interface WebMacro
runMacro
in class StdWebMacro
httpReq
- the external requests objectparm
- any parameter strings given to the macrohttpResp
- the response, with headersWebMacro.preferBinary()
,
HTTPRequest
protected java.lang.String gridRoomID(Area A, int x, int y)
protected int[] getAppropriateXY(Area A, java.lang.String mapStyle)
protected Area getLoggedArea(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq, MOB mob)
protected java.lang.String quickfind(Area A, java.lang.String find)