Class: Studio::Quest::Objective
- Defined in:
- scripts/00800 Studio/00001 Data/00051 Quest.rb
Overview
Data class describing a quest objective
Instance Attribute Summary collapse
-
#hidden_by_default ⇒ Boolean
readonly
If the objective is hidden by default.
-
#objective_method_args ⇒ Array
readonly
Arguments of the method to call.
-
#objective_method_name ⇒ Symbol
readonly
Name of the method to call to validate the objective.
-
#text_format_method_name ⇒ Symbol
readonly
Name of the method to call in order to get the text to show in UI.
Instance Attribute Details
#hidden_by_default ⇒ Boolean (readonly)
If the objective is hidden by default
57 58 59 |
# File 'scripts/00800 Studio/00001 Data/00051 Quest.rb', line 57 def hidden_by_default @hidden_by_default end |
#objective_method_args ⇒ Array (readonly)
Arguments of the method to call
49 50 51 |
# File 'scripts/00800 Studio/00001 Data/00051 Quest.rb', line 49 def objective_method_args @objective_method_args end |
#objective_method_name ⇒ Symbol (readonly)
Name of the method to call to validate the objective
45 46 47 |
# File 'scripts/00800 Studio/00001 Data/00051 Quest.rb', line 45 def objective_method_name @objective_method_name end |
#text_format_method_name ⇒ Symbol (readonly)
Name of the method to call in order to get the text to show in UI
53 54 55 |
# File 'scripts/00800 Studio/00001 Data/00051 Quest.rb', line 53 def text_format_method_name @text_format_method_name end |