PlayerDiedEvent Class
Event signalling that the player entity has died. More...
Declaration
Public Constructors Index
| PlayerDiedEvent (const EntityHandle source) | |
|
Constructs a PlayerDiedEvent. More... | |
Public Member Functions Index
| EntityHandle | source () const noexcept |
|
Returns the handle of the deceased player entity. More... | |
Private Member Attributes Index
| EntityHandle | source_ |
|
Handle of the player entity that died. More... | |
Description
Event signalling that the player entity has died.
Consumed by match-rule systems to trigger life loss, game-over transitions, or respawn logic.
Definition at line 26 of file PlayerDiedEvent.ixx.
Public Constructors
PlayerDiedEvent()
| inline explicit |
Constructs a PlayerDiedEvent.
- Parameters
-
source Handle of the deceased player entity.
Definition at line 40 of file PlayerDiedEvent.ixx.
Reference source.
Public Member Functions
source()
| inline nodiscard noexcept |
Returns the handle of the deceased player entity.
- Returns
The source EntityHandle.
Definition at line 47 of file PlayerDiedEvent.ixx.
Referenced by PlayerDiedEvent.
Private Member Attributes
source_
|
Handle of the player entity that died.
Definition at line 31 of file PlayerDiedEvent.ixx.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.