mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-14 12:08:20 +00:00
36694d3852
This is done by HTTP POSTing to a location specified by `sv_modhelp_url`. We also provide a `src/modhelp/server.py` which can use theses POSTs to forward them to Discord servers. The POST contains a JSON object payload, with the keys `"port"` which contains the server port, `"player_id"` which contains the calling player's client ID, `"player_name"` which contains the calling player's nick and `"message"` which is the user-specified message. Make JSON-escaping function public, add tests and fix bugs uncovered by these tests. Supersedes #1129. |
||
---|---|---|
.. | ||
entities | ||
gamemodes | ||
score | ||
ddracechat.cpp | ||
ddracechat.h | ||
ddracecommands.cpp | ||
entity.cpp | ||
entity.h | ||
eventhandler.cpp | ||
eventhandler.h | ||
gamecontext.cpp | ||
gamecontext.h | ||
gamecontroller.cpp | ||
gamecontroller.h | ||
gameworld.cpp | ||
gameworld.h | ||
player.cpp | ||
player.h | ||
save.cpp | ||
save.h | ||
score.h | ||
teams.cpp | ||
teams.h | ||
teehistorian.cpp | ||
teehistorian.h |