From 997432ecd0fca7628df7e4566e591c866eaabcf3 Mon Sep 17 00:00:00 2001 From: Ewan Lyon Date: Fri, 29 Jan 2021 21:54:13 +1100 Subject: [PATCH] Add table of contents --- docs/Messages.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/docs/Messages.md b/docs/Messages.md index 81df66a..1a5b0af 100644 --- a/docs/Messages.md +++ b/docs/Messages.md @@ -4,6 +4,17 @@ _[Link to NodeCG documentation for reference.](https://www.nodecg.dev/docs/class There are many messages used for interal communication between dashboard and extensions. These are not meant to be used in external uses and will remain undocumented. +Game + +- [newPhase:...](#newPhase) +- [newBomb:...](#newBomb) +- [gameOver](#gameOver) + +HLAE + +- [hlae:playerDeath](#hlae:playerDeath) +- [hlae:weaponFire](#hlae:weaponFire) + ## Usage Example code @@ -16,7 +27,7 @@ nodecg.listenFor('message-name', 'nodecg-csgo-manager', (data) => { ## Game -## newPhase:phase +## newPhase When the round is in a new phase this will transmit the output as `newPhase:` + the phase name. _No data is sent with this message_ @@ -33,7 +44,7 @@ _No data is sent with this message_ - 'newPhase:timeout_ct' - 'newPhase:warmup' -## newBomb:state +## newBomb When the bomb is in a new state this will transmit the output as `newBomb:` + the state name. _No data is sent with this message_