cleoni.adv
Interface ISayProcessor
- All Known Implementing Classes:
- AdvancedLanguageParser, CustCmdProcessor, LanguageParser
public interface ISayProcessor
Required interface for customized SAY processing.
A custom processor of any classname wishing to intercept SAY commands
must implement this interface and have a default, no argument constructor.
The custom processor should be defined as a WORLD attribute within the
MyWorld.DXW file.
Example:
WORLD
...
custCmdProc org.dimx.CustCmdProcessor
...
OTHER_TAGS
END_OTHER_TAGS
END_WORLD
|
Method Summary |
java.util.Vector |
processSay(multiplayer server,
World world,
java.lang.String cmd,
java.lang.String arg1,
java.lang.String arg2,
Player player)
This API is subject to change until it is fully developed. |
processSay
java.util.Vector processSay(multiplayer server,
World world,
java.lang.String cmd,
java.lang.String arg1,
java.lang.String arg2,
Player player)
- This API is subject to change until it is fully developed.
- Parameters:
server - world - cmd - -- should be "say"arg1 - -- will be "whatever the user typed in the SAY txtBox"arg2 - -- may be a target objIdplayer -
- Returns:
- NULL to allow normal SAY processing to continue;
Vector{new cmd,arg1,arg2} to continue normal processing.