From 136a13aac796071299282ad72bf594a33f08eb57 Mon Sep 17 00:00:00 2001 From: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com> Date: Fri, 4 Apr 2025 22:39:18 -0400 Subject: [PATCH] Docs: Include that DeathLink `cause` can be an empty string (#4729) --- docs/network protocol.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/network protocol.md b/docs/network protocol.md index 05a53344..70c66543 100644 --- a/docs/network protocol.md +++ b/docs/network protocol.md @@ -756,8 +756,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. 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. | +| 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, if the string is non-empty, it 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. |