Class: Studio::Quest::Earning

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


944
945
946
# File 'docs/3_Studio.rb', line 944

def earning_args
  @earning_args
end

#earning_method_nameSymbol (readonly)

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

Returns:

  • (Symbol)


941
942
943
# File 'docs/3_Studio.rb', line 941

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)


947
948
949
# File 'docs/3_Studio.rb', line 947

def text_format_method_name
  @text_format_method_name
end