Class: Studio::Quest

Inherits:
Object show all
Defined in:
docs/00800_Studio.rb

Overview

Data class describing an Quest

Defined Under Namespace

Classes: Earning, Objective

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#db_symbolSymbol (readonly)

db_symbol of the quest

Returns:

  • (Symbol)


875
876
877
# File 'docs/00800_Studio.rb', line 875

def db_symbol
  @db_symbol
end

#earningsArray<Earning> (readonly)

List of all the earning from completing the quest

Returns:



887
888
889
# File 'docs/00800_Studio.rb', line 887

def earnings
  @earnings
end

#idInteger (readonly)

ID of the quest

Returns:

  • (Integer)


872
873
874
# File 'docs/00800_Studio.rb', line 872

def id
  @id
end

#is_primaryBoolean (readonly)

Is the quest primary

Returns:

  • (Boolean)


878
879
880
# File 'docs/00800_Studio.rb', line 878

def is_primary
  @is_primary
end

#objectivesArray<Objective> (readonly)

List of objective to complete the quest

Returns:



884
885
886
# File 'docs/00800_Studio.rb', line 884

def objectives
  @objectives
end

#resolutionSymbol (readonly)

Kind of quest resolution process (:default or :progressive)

Returns:

  • (Symbol)


881
882
883
# File 'docs/00800_Studio.rb', line 881

def resolution
  @resolution
end

Instance Method Details

#descriptionString Also known as: descr

Get the text description of the ability

Returns:



890
891
# File 'docs/00800_Studio.rb', line 890

def description
end

#nameString

Get the text name of the ability

Returns:



895
896
# File 'docs/00800_Studio.rb', line 895

def name
end