Skip to content

Commit

Permalink
Docs: specify that deathlink cause should contain the player name (#2557
Browse files Browse the repository at this point in the history
)

* Docs: specify that the cause should contain the player name

* accidental whitespace moment

* fix table formatting
  • Loading branch information
alwaysintreble authored Jan 13, 2024
1 parent 0c0adb0 commit 2725c02
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/network protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -675,8 +675,8 @@ Tags are represented as a list of strings, the common Client tags follow:
### DeathLink
A special kind of Bounce packet that can be supported by any AP game. It targets the tag "DeathLink" and carries the following data:

| Name | Type | Notes |
| ---- | ---- | ---- |
| time | float | Unix Time Stamp of time of death. |
| cause | str | Optional. Text to explain the cause of death, ex. "Berserker was run over by a train." |
| source | str | Name of the player who first died. Can be a slot name, but can also be a name from within a multiplayer game. |
| Name | Type | Notes |
|--------|-------|--------------------------------------------------------------------------------------------------------------------------------------------------------|
| time | float | Unix Time Stamp of time of death. |
| cause | str | Optional. Text to explain the cause of death. When provided, or checked, this should contain the player name, ex. "Berserker was run over by a train." |
| source | str | Name of the player who first died. Can be a slot name, but can also be a name from within a multiplayer game. |

0 comments on commit 2725c02

Please sign in to comment.