Class: Studio::Quest::Earning

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

Overview

Data class describing a quest earning

Instance Attribute Summary collapse

Instance Attribute Details

#earning_argsArray (readonly)

Argument of the method to call

Returns:

  • (Array)


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

def earning_args
  @earning_args
end

#earning_method_nameSymbol (readonly)

Name of the method to call to give the earning to player

Returns:

  • (Symbol)


916
917
918
# File 'docs/00800_Studio.rb', line 916

def earning_method_name
  @earning_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)


922
923
924
# File 'docs/00800_Studio.rb', line 922

def text_format_method_name
  @text_format_method_name
end