Class: Studio::Quest
Overview
Data class describing an Quest
Defined Under Namespace
Instance Attribute Summary collapse
-
#db_symbol ⇒ Symbol
readonly
db_symbol of the quest.
-
#earnings ⇒ Array<Earning>
readonly
List of all the earning from completing the quest.
-
#id ⇒ Integer
readonly
ID of the quest.
-
#is_primary ⇒ Boolean
readonly
Is the quest primary.
-
#objectives ⇒ Array<Objective>
readonly
List of objective to complete the quest.
-
#resolution ⇒ Symbol
readonly
Kind of quest resolution process (:default or :progressive).
Instance Method Summary collapse
-
#description ⇒ String
(also: #descr)
Get the text description of the ability.
-
#name ⇒ String
Get the text name of the ability.
Instance Attribute Details
#db_symbol ⇒ Symbol (readonly)
db_symbol of the quest
900 901 902 |
# File 'docs/3_Studio.rb', line 900 def db_symbol @db_symbol end |
#earnings ⇒ Array<Earning> (readonly)
List of all the earning from completing the quest
912 913 914 |
# File 'docs/3_Studio.rb', line 912 def earnings @earnings end |
#id ⇒ Integer (readonly)
ID of the quest
897 898 899 |
# File 'docs/3_Studio.rb', line 897 def id @id end |
#is_primary ⇒ Boolean (readonly)
Is the quest primary
903 904 905 |
# File 'docs/3_Studio.rb', line 903 def is_primary @is_primary end |
#objectives ⇒ Array<Objective> (readonly)
List of objective to complete the quest
909 910 911 |
# File 'docs/3_Studio.rb', line 909 def objectives @objectives end |
#resolution ⇒ Symbol (readonly)
Kind of quest resolution process (:default or :progressive)
906 907 908 |
# File 'docs/3_Studio.rb', line 906 def resolution @resolution end |