Class: Australium::PlayerSuicide
- Defined in:
- lib/australium/events/player_suicide.rb
Constant Summary collapse
- LOG_REGEX =
/"(?<player>.+)" committed suicide with "(?<weapon>[^"]+)"/
Constants inherited from Event
Event::PROPERTY_REGEX, Event::TIMESTAMP_REGEX
Instance Attribute Summary collapse
-
#player ⇒ Player
The Player who committed suicide.
-
#weapon ⇒ String
The name of the weapon the player committed suicide with (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
#player ⇒ Player
Returns the Australium::Player who committed suicide.
|
# File 'lib/australium/events/player_suicide.rb', line 6
|
#weapon ⇒ String
Returns the name of the weapon the player committed suicide with (can be World).
|
# File 'lib/australium/events/player_suicide.rb', line 6
|