Class: Australium::PlayerKill
- Defined in:
- lib/australium/events/player_kill.rb
Constant Summary collapse
- LOG_REGEX =
/"(?<attacker>.+)" killed "(?<victim>.+)" with "(?<weapon>[^"]+)"/
Constants inherited from Event
Event::PROPERTY_REGEX, Event::TIMESTAMP_REGEX
Instance Attribute Summary collapse
-
#attacker ⇒ Player
The player responsible for the kill.
-
#victim ⇒ Player
The player who was killed.
-
#weapon ⇒ String
The name of the weapon used to kill (can be World).
Attributes inherited from Event
Method Summary
Methods inherited from Event
Constructor Details
This class inherits a constructor from Australium::Event
Instance Attribute Details
#attacker ⇒ Player
Returns the player responsible for the kill.
|
# File 'lib/australium/events/player_kill.rb', line 6
|
#victim ⇒ Player
Returns the player who was killed.
|
# File 'lib/australium/events/player_kill.rb', line 6
|
#weapon ⇒ String
Returns the name of the weapon used to kill (can be World).
|
# File 'lib/australium/events/player_kill.rb', line 6
|