Class: Reve::Classes::CharacterSheet
Overview
Holds the result of the Reve::API#character_sheet call. This has all of the stuff that appears in the in-game ‘character sheet’ screen. The skills array is a Skill list (no name is stored in it) The enhancers array is an AttributeEnhancer derrived list Attributes
-
name ( String ) - Name of the Character
-
race ( String ) - Race of the Character
-
gender ( String ) - Gender of the Character
-
id ( Fixnum ) - ID of the Character
-
corporation_name ( String ) - Name of the Corporation the Character is in
-
corporation_id ( Fixnum ) - ID of the Corporation the Character is in
-
balance ( Float ) - How much ISK the Character has
-
intelligence ( Fixnum ) - Character’s Intelligence level
-
memory ( Fixnum ) -
-
charisma ( Fixnum ) -
-
perception ( Fixnum ) -
-
willpower ( Fixnum ) -
-
skills ( [Skill] ) - An Array of Skill objects that the Character has trained.
-
enhancers ( [AttributeEnhancer] ) - An Array of any implants (AttributeEnhancer) the Character has in its head.
See Also: Reve::API#character_sheet, AttributeEnhancer (and subclasses), Skill
Instance Attribute Summary collapse
-
#ancestry ⇒ Object
Returns the value of attribute ancestry.
-
#balance ⇒ Object
Returns the value of attribute balance.
-
#bloodline ⇒ Object
Returns the value of attribute bloodline.
-
#certificate_ids ⇒ Object
Returns the value of attribute certificate_ids.
-
#charisma ⇒ Object
Returns the value of attribute charisma.
-
#clone_name ⇒ Object
Returns the value of attribute clone_name.
-
#clone_skill_points ⇒ Object
Returns the value of attribute clone_skill_points.
-
#corporate_titles ⇒ Object
Returns the value of attribute corporate_titles.
-
#corporation_id ⇒ Object
Returns the value of attribute corporation_id.
-
#corporation_name ⇒ Object
Returns the value of attribute corporation_name.
-
#corporationRoles ⇒ Object
(also: #corporate_roles)
Returns the value of attribute corporationRoles.
-
#corporationRolesAtBase ⇒ Object
(also: #corporate_roles_at_base)
Returns the value of attribute corporationRolesAtBase.
-
#corporationRolesAtHQ ⇒ Object
(also: #corporate_roles_at_hq)
Returns the value of attribute corporationRolesAtHQ.
-
#corporationRolesAtOther ⇒ Object
(also: #corporate_roles_at_other)
Returns the value of attribute corporationRolesAtOther.
-
#dob ⇒ Object
Returns the value of attribute dob.
-
#enhancers ⇒ Object
Returns the value of attribute enhancers.
-
#gender ⇒ Object
Returns the value of attribute gender.
-
#id ⇒ Object
Returns the value of attribute id.
-
#intelligence ⇒ Object
Returns the value of attribute intelligence.
-
#memory ⇒ Object
Returns the value of attribute memory.
-
#name ⇒ Object
Returns the value of attribute name.
-
#perception ⇒ Object
Returns the value of attribute perception.
-
#race ⇒ Object
Returns the value of attribute race.
-
#roles ⇒ Object
Returns the value of attribute roles.
-
#skills ⇒ Object
Returns the value of attribute skills.
-
#willpower ⇒ Object
Returns the value of attribute willpower.
Instance Method Summary collapse
-
#characterid=(i) ⇒ Object
:nodoc:.
-
#clonename=(n) ⇒ Object
:nodoc:.
-
#cloneskillpoints=(i) ⇒ Object
:nodoc:.
-
#corporationid=(i) ⇒ Object
:nodoc:.
-
#corporationname=(i) ⇒ Object
:nodoc:.
-
#initialize ⇒ CharacterSheet
constructor
:nodoc:.
Constructor Details
#initialize ⇒ CharacterSheet
:nodoc:
670 671 672 673 674 675 676 677 678 679 680 |
# File 'lib/reve/classes.rb', line 670 def initialize #:nodoc: @skills = [] @enhancers = [] @roles = [] @certificate_ids = [] @corporate_titles = [] @corporationRolesAtHQ = [] @corporationRoles = [] @corporationRolesAtBase = [] @corporationRolesAtOther = [] end |
Instance Attribute Details
#ancestry ⇒ Object
Returns the value of attribute ancestry.
664 665 666 |
# File 'lib/reve/classes.rb', line 664 def ancestry @ancestry end |
#balance ⇒ Object
Returns the value of attribute balance.
662 663 664 |
# File 'lib/reve/classes.rb', line 662 def balance @balance end |
#bloodline ⇒ Object
Returns the value of attribute bloodline.
662 663 664 |
# File 'lib/reve/classes.rb', line 662 def bloodline @bloodline end |
#certificate_ids ⇒ Object
Returns the value of attribute certificate_ids.
664 665 666 |
# File 'lib/reve/classes.rb', line 664 def certificate_ids @certificate_ids end |
#charisma ⇒ Object
Returns the value of attribute charisma.
663 664 665 |
# File 'lib/reve/classes.rb', line 663 def charisma @charisma end |
#clone_name ⇒ Object
Returns the value of attribute clone_name.
663 664 665 |
# File 'lib/reve/classes.rb', line 663 def clone_name @clone_name end |
#clone_skill_points ⇒ Object
Returns the value of attribute clone_skill_points.
663 664 665 |
# File 'lib/reve/classes.rb', line 663 def clone_skill_points @clone_skill_points end |
#corporate_titles ⇒ Object
Returns the value of attribute corporate_titles.
664 665 666 |
# File 'lib/reve/classes.rb', line 664 def corporate_titles @corporate_titles end |
#corporation_id ⇒ Object
Returns the value of attribute corporation_id.
662 663 664 |
# File 'lib/reve/classes.rb', line 662 def corporation_id @corporation_id end |
#corporation_name ⇒ Object
Returns the value of attribute corporation_name.
662 663 664 |
# File 'lib/reve/classes.rb', line 662 def corporation_name @corporation_name end |
#corporationRoles ⇒ Object Also known as: corporate_roles
Returns the value of attribute corporationRoles.
665 666 667 |
# File 'lib/reve/classes.rb', line 665 def corporationRoles @corporationRoles end |
#corporationRolesAtBase ⇒ Object Also known as: corporate_roles_at_base
Returns the value of attribute corporationRolesAtBase.
665 666 667 |
# File 'lib/reve/classes.rb', line 665 def corporationRolesAtBase @corporationRolesAtBase end |
#corporationRolesAtHQ ⇒ Object Also known as: corporate_roles_at_hq
Returns the value of attribute corporationRolesAtHQ.
665 666 667 |
# File 'lib/reve/classes.rb', line 665 def corporationRolesAtHQ @corporationRolesAtHQ end |
#corporationRolesAtOther ⇒ Object Also known as: corporate_roles_at_other
Returns the value of attribute corporationRolesAtOther.
665 666 667 |
# File 'lib/reve/classes.rb', line 665 def corporationRolesAtOther @corporationRolesAtOther end |
#dob ⇒ Object
Returns the value of attribute dob.
664 665 666 |
# File 'lib/reve/classes.rb', line 664 def dob @dob end |
#enhancers ⇒ Object
Returns the value of attribute enhancers.
664 665 666 |
# File 'lib/reve/classes.rb', line 664 def enhancers @enhancers end |
#gender ⇒ Object
Returns the value of attribute gender.
662 663 664 |
# File 'lib/reve/classes.rb', line 662 def gender @gender end |
#id ⇒ Object
Returns the value of attribute id.
662 663 664 |
# File 'lib/reve/classes.rb', line 662 def id @id end |
#intelligence ⇒ Object
Returns the value of attribute intelligence.
663 664 665 |
# File 'lib/reve/classes.rb', line 663 def intelligence @intelligence end |
#memory ⇒ Object
Returns the value of attribute memory.
663 664 665 |
# File 'lib/reve/classes.rb', line 663 def memory @memory end |
#name ⇒ Object
Returns the value of attribute name.
662 663 664 |
# File 'lib/reve/classes.rb', line 662 def name @name end |
#perception ⇒ Object
Returns the value of attribute perception.
663 664 665 |
# File 'lib/reve/classes.rb', line 663 def perception @perception end |
#race ⇒ Object
Returns the value of attribute race.
662 663 664 |
# File 'lib/reve/classes.rb', line 662 def race @race end |
#roles ⇒ Object
Returns the value of attribute roles.
664 665 666 |
# File 'lib/reve/classes.rb', line 664 def roles @roles end |
#skills ⇒ Object
Returns the value of attribute skills.
664 665 666 |
# File 'lib/reve/classes.rb', line 664 def skills @skills end |
#willpower ⇒ Object
Returns the value of attribute willpower.
663 664 665 |
# File 'lib/reve/classes.rb', line 663 def willpower @willpower end |
Instance Method Details
#characterid=(i) ⇒ Object
:nodoc:
687 688 689 |
# File 'lib/reve/classes.rb', line 687 def characterid=(i) #:nodoc: @id = i.to_i end |
#clonename=(n) ⇒ Object
:nodoc:
681 682 683 |
# File 'lib/reve/classes.rb', line 681 def clonename=(n) #:nodoc: @clone_name = n end |
#cloneskillpoints=(i) ⇒ Object
:nodoc:
684 685 686 |
# File 'lib/reve/classes.rb', line 684 def cloneskillpoints=(i) #:nodoc: @clone_skill_points = i end |
#corporationid=(i) ⇒ Object
:nodoc:
693 694 695 |
# File 'lib/reve/classes.rb', line 693 def corporationid=(i) #:nodoc: @corporation_id = i.to_i end |
#corporationname=(i) ⇒ Object
:nodoc:
690 691 692 |
# File 'lib/reve/classes.rb', line 690 def corporationname=(i) #:nodoc: @corporation_name = i end |