Class: Studio::Quest::Objective

Inherits:
Object
  • Object
show all
Defined in:
scripts/00800 Studio/00001 Data/00051 Quest.rb

Overview

Data class describing a quest objective

Instance Attribute Summary collapse

Instance Attribute Details

#hidden_by_defaultBoolean (readonly)

If the objective is hidden by default

Returns:

  • (Boolean)


57
58
59
# File 'scripts/00800 Studio/00001 Data/00051 Quest.rb', line 57

def hidden_by_default
  @hidden_by_default
end

#objective_method_argsArray (readonly)

Arguments of the method to call

Returns:

  • (Array)


49
50
51
# File 'scripts/00800 Studio/00001 Data/00051 Quest.rb', line 49

def objective_method_args
  @objective_method_args
end

#objective_method_nameSymbol (readonly)

Name of the method to call to validate the objective

Returns:

  • (Symbol)


45
46
47
# File 'scripts/00800 Studio/00001 Data/00051 Quest.rb', line 45

def objective_method_name
  @objective_method_name
end

#text_format_method_nameSymbol (readonly)

Name of the method to call in order to get the text to show in UI

Returns:

  • (Symbol)


53
54
55
# File 'scripts/00800 Studio/00001 Data/00051 Quest.rb', line 53

def text_format_method_name
  @text_format_method_name
end