Class Reve::Classes::KillAttacker
In: lib/reve/classes.rb
Parent: Object

It‘s possible to be killed/attacked by an NPC. In this case character_id, character_name, alliance_id, alliance_name and weapon_type_id will be nil Represents an attacker (attacking a KillVictim) in a Kill Attributes

  • id ( Fixnum | NilClass ) - ID of the attacker; nil if the attacker was an NPC or not a Character
  • name ( String | NilClass ) - Name of the attacker; nil if the attacker was an NPC or not a Character
  • corporation_id ( Fixnum ) - ID of the Corporation that the Character belongs to (could be NPC Corporation!)
  • corporation_name ( String ) - Name of the Corporation that the Character belongs to (could be NPC Corporation!)
  • alliance_id ( Fixnum | NilClass ) - ID of the Alliance that the Character belongs to (nil if the KillAttacker doesn‘t belong to an Alliance)
  • security_status ( Float ) - Security status of the KillAttacker
  • damage_done ( Fixnum ) - How much damage the KillAttacker did.
  • final_blow ( Boolean ) - True if this KillAttacker got the final blow to kill the KillVictim
  • weapon_type_id ( Fixnum | NilClass ) - Type ID of the (a?) weapon the KillAttacker was firing. (Refer to CCP database dump invtypes)
  • ship_type_id ( Fixnum ) - Type ID of the ship the KillAttacker was flying. (Refer to CCP database dump invtypes)

See Also: Kill, KillLoss, KillVictim, Reve::API#personal_kills, Reve::API#corporate_kills

Attributes

alliance_id  [R] 
alliance_name  [R] 
corporation_id  [R] 
corporation_name  [R] 
damage_done  [R] 
final_blow  [R] 
id  [R] 
name  [R] 
security_status  [R] 
ship_type_id  [R] 
weapon_type_id  [R] 

[Validate]