Class: Armory::Guild::Character

Inherits:
Struct
  • Object
show all
Defined in:
lib/armory/guild.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#class_idObject

Returns the value of attribute class_id

Returns:

  • (Object)

    the current value of class_id



35
36
37
# File 'lib/armory/guild.rb', line 35

def class_id
  @class_id
end

#gender_idObject

Returns the value of attribute gender_id

Returns:

  • (Object)

    the current value of gender_id



35
36
37
# File 'lib/armory/guild.rb', line 35

def gender_id
  @gender_id
end

#levelObject

Returns the value of attribute level

Returns:

  • (Object)

    the current value of level



35
36
37
# File 'lib/armory/guild.rb', line 35

def level
  @level
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



35
36
37
# File 'lib/armory/guild.rb', line 35

def name
  @name
end

#race_idObject

Returns the value of attribute race_id

Returns:

  • (Object)

    the current value of race_id



35
36
37
# File 'lib/armory/guild.rb', line 35

def race_id
  @race_id
end

#rankObject

Returns the value of attribute rank

Returns:

  • (Object)

    the current value of rank



35
36
37
# File 'lib/armory/guild.rb', line 35

def rank
  @rank
end

Instance Method Details

#class_nameObject



36
37
38
# File 'lib/armory/guild.rb', line 36

def class_name
  Armory::Classes[class_id]
end

#factionObject



48
49
50
# File 'lib/armory/guild.rb', line 48

def faction
  Armory::Factions[faction_id]
end

#genderObject



40
41
42
# File 'lib/armory/guild.rb', line 40

def gender
  Armory::Genders[gender_id]
end

#raceObject



44
45
46
# File 'lib/armory/guild.rb', line 44

def race
  Armory::Races[race_id]
end