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
875 876 877 |
# File 'docs/00800_Studio.rb', line 875 def db_symbol @db_symbol end |
#earnings ⇒ Array<Earning> (readonly)
List of all the earning from completing the quest
887 888 889 |
# File 'docs/00800_Studio.rb', line 887 def earnings @earnings end |
#id ⇒ Integer (readonly)
ID of the quest
872 873 874 |
# File 'docs/00800_Studio.rb', line 872 def id @id end |
#is_primary ⇒ Boolean (readonly)
Is the quest primary
878 879 880 |
# File 'docs/00800_Studio.rb', line 878 def is_primary @is_primary end |
#objectives ⇒ Array<Objective> (readonly)
List of objective to complete the quest
884 885 886 |
# File 'docs/00800_Studio.rb', line 884 def objectives @objectives end |
#resolution ⇒ Symbol (readonly)
Kind of quest resolution process (:default or :progressive)
881 882 883 |
# File 'docs/00800_Studio.rb', line 881 def resolution @resolution end |