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
Constructors -
Method Summary
Methods inherited from class games.stendhal.server.script.AbstractOfflineAction
executeMethods inherited from class games.stendhal.server.core.scripting.ScriptImpl
load, unload
-
Constructor Details
-
OfflineClearSentence
public OfflineClearSentence()
-
-
Method Details
-
validateParameters
Description copied from class:AbstractOfflineActionvalidates the parameters, sends an error message, if something is wrong with them- Specified by:
validateParametersin 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:AbstractOfflineActionprocesses the requested operation on the loaded object- Specified by:
processin classAbstractOfflineAction- Parameters:
admin- admin executing the scriptobject- the RPObject of the player loaded from the databaseargs- arguments for the script
-