Package com.valhalla.sdk.api.methods
Class Dialogue.Option
java.lang.Object
com.valhalla.sdk.api.methods.Dialogue.Option
- Enclosing class:
Dialogue
One visible choice in an option menu.
-
Method Details
-
getIndex
public int getIndex()Returns 1-based position in the menu.- Returns:
- 1-based position in the menu
-
getText
Returns the option text without colour or formatting tags.- Returns:
- the option text without colour or formatting tags
-
getSnapshot
Returns the interface component for this option.- Returns:
- the interface component for this option
-
toString
-