mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-21 10:04:18 +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. |
||
---|---|---|
.. | ||
backend_sdl.cpp | ||
backend_sdl.h | ||
client.cpp | ||
client.h | ||
friends.cpp | ||
friends.h | ||
graphics_threaded.cpp | ||
graphics_threaded.h | ||
input.cpp | ||
input.h | ||
keynames.h | ||
opengl_sl.cpp | ||
opengl_sl.h | ||
opengl_sl_program.cpp | ||
opengl_sl_program.h | ||
serverbrowser.cpp | ||
serverbrowser.h | ||
sound.cpp | ||
sound.h | ||
text.cpp | ||
updater.cpp | ||
updater.h |