Represents a log of a player death event (kill).
Signature:
declare class KillLog extends BaseExtends: Base
#Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
Creates an instance of KillLog. |
#Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
(Optional) The Player instance representing the player who was killed, if they are still cached. | |||
|
number |
The UserId of the player who was killed. | ||
|
string |
The Roblox username of the player who was killed. | ||
|
(Optional) The Player instance representing the player who did the killing, if they are still cached. | |||
|
number |
The UserId of the player who did the killing. | ||
|
string |
The Roblox username of the player who did the killing. | ||
|
number |
Unix timestamp of when the kill occurred. |
#Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
Patches the KillLog structure with new raw data. | ||
|
Converts this KillLog instance to raw JSON representation. |