Class: Studio::Quest

Inherits:
Object show all
Defined in:
docs/3_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)


900
901
902
# File 'docs/3_Studio.rb', line 900

def db_symbol
  @db_symbol
end

#earningsArray<Earning> (readonly)

List of all the earning from completing the quest

Returns:



912
913
914
# File 'docs/3_Studio.rb', line 912

def earnings
  @earnings
end

#idInteger (readonly)

ID of the quest

Returns:

  • (Integer)


897
898
899
# File 'docs/3_Studio.rb', line 897

def id
  @id
end

#is_primaryBoolean (readonly)

Is the quest primary

Returns:

  • (Boolean)


903
904
905
# File 'docs/3_Studio.rb', line 903

def is_primary
  @is_primary
end

#objectivesArray<Objective> (readonly)

List of objective to complete the quest

Returns:



909
910
911
# File 'docs/3_Studio.rb', line 909

def objectives
  @objectives
end

#resolutionSymbol (readonly)

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

Returns:

  • (Symbol)


906
907
908
# File 'docs/3_Studio.rb', line 906

def resolution
  @resolution
end

Instance Method Details

#descriptionString Also known as: descr

Get the text description of the ability

Returns:



915
916
# File 'docs/3_Studio.rb', line 915

def description
end

#nameString

Get the text name of the ability

Returns:



920
921
# File 'docs/3_Studio.rb', line 920

def name
end