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
1078 1079 1080 |
# File 'docs/3_Studio.rb', line 1078 def db_symbol @db_symbol end |
#earnings ⇒ Array<Earning> (readonly)
List of all the earning from completing the quest
1090 1091 1092 |
# File 'docs/3_Studio.rb', line 1090 def earnings @earnings end |
#id ⇒ Integer (readonly)
ID of the quest
1075 1076 1077 |
# File 'docs/3_Studio.rb', line 1075 def id @id end |
#is_primary ⇒ Boolean (readonly)
Is the quest primary
1081 1082 1083 |
# File 'docs/3_Studio.rb', line 1081 def is_primary @is_primary end |
#objectives ⇒ Array<Objective> (readonly)
List of objective to complete the quest
1087 1088 1089 |
# File 'docs/3_Studio.rb', line 1087 def objectives @objectives end |
#resolution ⇒ Symbol (readonly)
Kind of quest resolution process (:default or :progressive)
1084 1085 1086 |
# File 'docs/3_Studio.rb', line 1084 def resolution @resolution end |