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
-
#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.
-
#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:
581 582 583 584 585 586 587 588 589 590 591 |
# File 'lib/reve/classes.rb', line 581 def initialize #:nodoc: @skills = [] @enhancers = [] @roles = [] @certificate_ids = [] @corporate_titles = [] @corporationRolesAtHQ = [] @corporationRoles = [] @corporationRolesAtBase = [] @corporationRolesAtOther = [] end |
Instance Attribute Details
#balance ⇒ Object
Returns the value of attribute balance.
573 574 575 |
# File 'lib/reve/classes.rb', line 573 def balance @balance end |
#bloodline ⇒ Object
Returns the value of attribute bloodline.
573 574 575 |
# File 'lib/reve/classes.rb', line 573 def bloodline @bloodline end |
#certificate_ids ⇒ Object
Returns the value of attribute certificate_ids.
575 576 577 |
# File 'lib/reve/classes.rb', line 575 def certificate_ids @certificate_ids end |
#charisma ⇒ Object
Returns the value of attribute charisma.
574 575 576 |
# File 'lib/reve/classes.rb', line 574 def charisma @charisma end |
#clone_name ⇒ Object
Returns the value of attribute clone_name.
574 575 576 |
# File 'lib/reve/classes.rb', line 574 def clone_name @clone_name end |
#clone_skill_points ⇒ Object
Returns the value of attribute clone_skill_points.
574 575 576 |
# File 'lib/reve/classes.rb', line 574 def clone_skill_points @clone_skill_points end |
#corporate_titles ⇒ Object
Returns the value of attribute corporate_titles.
575 576 577 |
# File 'lib/reve/classes.rb', line 575 def corporate_titles @corporate_titles end |
#corporation_id ⇒ Object
Returns the value of attribute corporation_id.
573 574 575 |
# File 'lib/reve/classes.rb', line 573 def corporation_id @corporation_id end |
#corporation_name ⇒ Object
Returns the value of attribute corporation_name.
573 574 575 |
# File 'lib/reve/classes.rb', line 573 def corporation_name @corporation_name end |
#corporationRoles ⇒ Object Also known as: corporate_roles
Returns the value of attribute corporationRoles.
576 577 578 |
# File 'lib/reve/classes.rb', line 576 def corporationRoles @corporationRoles end |
#corporationRolesAtBase ⇒ Object Also known as: corporate_roles_at_base
Returns the value of attribute corporationRolesAtBase.
576 577 578 |
# File 'lib/reve/classes.rb', line 576 def corporationRolesAtBase @corporationRolesAtBase end |
#corporationRolesAtHQ ⇒ Object Also known as: corporate_roles_at_hq
Returns the value of attribute corporationRolesAtHQ.
576 577 578 |
# File 'lib/reve/classes.rb', line 576 def corporationRolesAtHQ @corporationRolesAtHQ end |
#corporationRolesAtOther ⇒ Object Also known as: corporate_roles_at_other
Returns the value of attribute corporationRolesAtOther.
576 577 578 |
# File 'lib/reve/classes.rb', line 576 def corporationRolesAtOther @corporationRolesAtOther end |
#enhancers ⇒ Object
Returns the value of attribute enhancers.
575 576 577 |
# File 'lib/reve/classes.rb', line 575 def enhancers @enhancers end |
#gender ⇒ Object
Returns the value of attribute gender.
573 574 575 |
# File 'lib/reve/classes.rb', line 573 def gender @gender end |
#id ⇒ Object
Returns the value of attribute id.
573 574 575 |
# File 'lib/reve/classes.rb', line 573 def id @id end |
#intelligence ⇒ Object
Returns the value of attribute intelligence.
574 575 576 |
# File 'lib/reve/classes.rb', line 574 def intelligence @intelligence end |
#memory ⇒ Object
Returns the value of attribute memory.
574 575 576 |
# File 'lib/reve/classes.rb', line 574 def memory @memory end |
#name ⇒ Object
Returns the value of attribute name.
573 574 575 |
# File 'lib/reve/classes.rb', line 573 def name @name end |
#perception ⇒ Object
Returns the value of attribute perception.
574 575 576 |
# File 'lib/reve/classes.rb', line 574 def perception @perception end |
#race ⇒ Object
Returns the value of attribute race.
573 574 575 |
# File 'lib/reve/classes.rb', line 573 def race @race end |
#roles ⇒ Object
Returns the value of attribute roles.
575 576 577 |
# File 'lib/reve/classes.rb', line 575 def roles @roles end |
#skills ⇒ Object
Returns the value of attribute skills.
575 576 577 |
# File 'lib/reve/classes.rb', line 575 def skills @skills end |
#willpower ⇒ Object
Returns the value of attribute willpower.
574 575 576 |
# File 'lib/reve/classes.rb', line 574 def willpower @willpower end |
Instance Method Details
#characterid=(i) ⇒ Object
:nodoc:
598 599 600 |
# File 'lib/reve/classes.rb', line 598 def characterid=(i) #:nodoc: @id = i.to_i end |
#clonename=(n) ⇒ Object
:nodoc:
592 593 594 |
# File 'lib/reve/classes.rb', line 592 def clonename=(n) #:nodoc: @clone_name = n end |
#cloneskillpoints=(i) ⇒ Object
:nodoc:
595 596 597 |
# File 'lib/reve/classes.rb', line 595 def cloneskillpoints=(i) #:nodoc: @clone_skill_points = i end |
#corporationid=(i) ⇒ Object
:nodoc:
604 605 606 |
# File 'lib/reve/classes.rb', line 604 def corporationid=(i) #:nodoc: @corporation_id = i.to_i end |
#corporationname=(i) ⇒ Object
:nodoc:
601 602 603 |
# File 'lib/reve/classes.rb', line 601 def corporationname=(i) #:nodoc: @corporation_name = i end |