public class CommandSuggestionEvent extends Event
Constructor and Description |
---|
CommandSuggestionEvent(Actor actor,
java.lang.String arguments)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
Actor |
getActor()
Get the actor that issued the command.
|
java.lang.String |
getArguments()
Get the arguments.
|
java.util.List<java.lang.String> |
getSuggestions()
Get the list of suggestions that are to be presented.
|
void |
setSuggestions(java.util.List<java.lang.String> suggestions)
Set the list of suggestions that are to be presented.
|
public CommandSuggestionEvent(Actor actor, java.lang.String arguments)
actor
- the playerarguments
- the argumentspublic Actor getActor()
public java.lang.String getArguments()
public java.util.List<java.lang.String> getSuggestions()
public void setSuggestions(java.util.List<java.lang.String> suggestions)
suggestions
- the list of suggestions