Class: Armory::Guild::Character
- Inherits:
-
Struct
- Object
- Struct
- Armory::Guild::Character
- Defined in:
- lib/armory/guild.rb
Instance Attribute Summary collapse
-
#class_id ⇒ Object
Returns the value of attribute class_id.
-
#gender_id ⇒ Object
Returns the value of attribute gender_id.
-
#level ⇒ Object
Returns the value of attribute level.
-
#name ⇒ Object
Returns the value of attribute name.
-
#race_id ⇒ Object
Returns the value of attribute race_id.
-
#rank ⇒ Object
Returns the value of attribute rank.
Instance Method Summary collapse
Instance Attribute Details
#class_id ⇒ Object
Returns the value of attribute class_id
35 36 37 |
# File 'lib/armory/guild.rb', line 35 def class_id @class_id end |
#gender_id ⇒ Object
Returns the value of attribute gender_id
35 36 37 |
# File 'lib/armory/guild.rb', line 35 def gender_id @gender_id end |
#level ⇒ Object
Returns the value of attribute level
35 36 37 |
# File 'lib/armory/guild.rb', line 35 def level @level end |
#name ⇒ Object
Returns the value of attribute name
35 36 37 |
# File 'lib/armory/guild.rb', line 35 def name @name end |
#race_id ⇒ Object
Returns the value of attribute race_id
35 36 37 |
# File 'lib/armory/guild.rb', line 35 def race_id @race_id end |
#rank ⇒ Object
Returns the value of attribute rank
35 36 37 |
# File 'lib/armory/guild.rb', line 35 def rank @rank end |
Instance Method Details
#class_name ⇒ Object
36 37 38 |
# File 'lib/armory/guild.rb', line 36 def class_name Armory::Classes[class_id] end |
#faction ⇒ Object
48 49 50 |
# File 'lib/armory/guild.rb', line 48 def faction Armory::Factions[faction_id] end |