Class: Reve::Classes::CorporateLogo
Overview
Part of the CorporationSheet; represnets a Corporation’s in-game logo All of these values are internal to CCP; shape_1
matches with color_1
and so on. Attributes
-
graphic_id ( Fixnum )
-
shape_1 ( Fixnum )
-
shape_2 ( Fixnum )
-
shape_3 ( Fixnum )
-
color_1 ( Fixnum )
-
color_2 ( Fixnum )
-
color_3 ( Fixnum )
Instance Attribute Summary collapse
-
#color_1 ⇒ Object
readonly
Returns the value of attribute color_1.
-
#color_2 ⇒ Object
readonly
Returns the value of attribute color_2.
-
#color_3 ⇒ Object
readonly
Returns the value of attribute color_3.
-
#graphic_id ⇒ Object
readonly
Returns the value of attribute graphic_id.
-
#shape_1 ⇒ Object
readonly
Returns the value of attribute shape_1.
-
#shape_2 ⇒ Object
readonly
Returns the value of attribute shape_2.
-
#shape_3 ⇒ Object
readonly
Returns the value of attribute shape_3.
Instance Method Summary collapse
-
#initialize(elem) ⇒ CorporateLogo
constructor
:nodoc:.
Constructor Details
#initialize(elem) ⇒ CorporateLogo
:nodoc:
690 691 692 693 694 695 696 697 698 |
# File 'lib/reve/classes.rb', line 690 def initialize(elem) #:nodoc: @graphic_id = elem['graphicID'].to_i @shape_1 = elem['shape1'].to_i @shape_2 = elem['shape2'].to_i @shape_3 = elem['shape3'].to_i @color_1 = elem['color1'].to_i @color_2 = elem['color2'].to_i @color_3 = elem['color3'].to_i end |
Instance Attribute Details
#color_1 ⇒ Object (readonly)
Returns the value of attribute color_1.
689 690 691 |
# File 'lib/reve/classes.rb', line 689 def color_1 @color_1 end |
#color_2 ⇒ Object (readonly)
Returns the value of attribute color_2.
689 690 691 |
# File 'lib/reve/classes.rb', line 689 def color_2 @color_2 end |
#color_3 ⇒ Object (readonly)
Returns the value of attribute color_3.
689 690 691 |
# File 'lib/reve/classes.rb', line 689 def color_3 @color_3 end |
#graphic_id ⇒ Object (readonly)
Returns the value of attribute graphic_id.
689 690 691 |
# File 'lib/reve/classes.rb', line 689 def graphic_id @graphic_id end |
#shape_1 ⇒ Object (readonly)
Returns the value of attribute shape_1.
689 690 691 |
# File 'lib/reve/classes.rb', line 689 def shape_1 @shape_1 end |
#shape_2 ⇒ Object (readonly)
Returns the value of attribute shape_2.
689 690 691 |
# File 'lib/reve/classes.rb', line 689 def shape_2 @shape_2 end |
#shape_3 ⇒ Object (readonly)
Returns the value of attribute shape_3.
689 690 691 |
# File 'lib/reve/classes.rb', line 689 def shape_3 @shape_3 end |