Package games.stendhal.server.script
Class OfflineClearSentence
java.lang.Object
games.stendhal.server.core.scripting.ScriptImpl
games.stendhal.server.script.AbstractOfflineAction
games.stendhal.server.script.OfflineClearSentence
- All Implemented Interfaces:
Script
Clear the sentence attribute of an offline player
- Author:
- madmetzger
-
Field Summary
Fields inherited from class games.stendhal.server.core.scripting.ScriptImpl
sandbox
-
Constructor Summary
-
Method Summary
Methods inherited from class games.stendhal.server.script.AbstractOfflineAction
execute
Methods inherited from class games.stendhal.server.core.scripting.ScriptImpl
load, unload
-
Constructor Details
-
OfflineClearSentence
public OfflineClearSentence()
-
-
Method Details
-
validateParameters
Description copied from class:AbstractOfflineAction
validates the parameters, sends an error message, if something is wrong with them- Specified by:
validateParameters
in classAbstractOfflineAction
- Parameters:
admin
- admin executing the scriptargs
- arguments for the script- Returns:
- true if the parameters are valid, false otherwise
-
process
Description copied from class:AbstractOfflineAction
processes the requested operation on the loaded object- Specified by:
process
in classAbstractOfflineAction
- Parameters:
admin
- admin executing the scriptobject
- the RPObject of the player loaded from the databaseargs
- arguments for the script
-