20 Commits

Author SHA1 Message Date
David Markowitz
0e551429d3
chore: move all teams logic to its own namespace to consolidate logic (#1777)
* Add invite initial response msg

re-do team leave logic to send more accurate messages

Players are still able to leave the team with the same results as before, however now the correct messages are sent to team chats (no fixes for local teams).

* chore: move team logic to separate container

Makes it easier to follow team logic when you're not bouncing between 3 classes in 3 files.  Consolidates all team logic to 1 namespace in TeamContainer.  No logic changes were done, only renaming and fixing errors from the moving. TeamData should be replaced with unique_ptrs at some point so the Shutdown method can be removed from TeamContainer.
2025-05-05 09:04:43 -05:00
Aaron Kimbrell
566791e647
chore: limit API to only listen on localhost (#1740) 2025-01-25 20:47:12 -06:00
Aaron Kimbre
9542216650 comments and tweaks 2025-01-15 14:59:30 -06:00
Aaron Kimbre
5b8fe2cba0 refactor again 2025-01-15 13:48:49 -06:00
Aaron Kimbre
72ae55981b fix here too 2025-01-06 13:55:43 -06:00
Aaron Kimbre
88376c233c cleanup and make the web routes cleaner 2025-01-06 01:23:29 -06:00
Aaron Kimbre
f3b4143698 fix typo 2025-01-05 18:31:53 -06:00
Aaron Kimbre
210bc48149 return 204 when no data 2025-01-02 23:11:06 -06:00
David Markowitz
e757086465 include optimization 2025-01-02 20:28:03 -08:00
David Markowitz
631980af3a add json stuff 2025-01-02 20:14:07 -08:00
David Markowitz
6e66c5c362 works 2025-01-02 18:42:50 -08:00
Aaron Kimbre
7aaa69e42d lol, fix it 2025-01-02 20:19:23 -06:00
Aaron Kimbre
181bb0ce14 Address some fo the feedback 2025-01-02 20:09:44 -06:00
Aaron Kimbrell
94d53fa77c
Update dChatServer/ChatWebAPI.cpp
Co-authored-by: David Markowitz <39972741+EmosewaMC@users.noreply.github.com>
2025-01-02 20:03:44 -06:00
Aaron Kimbre
3578076eca even more cleanup, and make the tryparse work properly 2025-01-02 17:04:07 -06:00
Aaron Kimbre
7d06d012b5 formatting and more cleanup 2025-01-02 16:48:31 -06:00
Aaron Kimbre
126701b5fe Make startup cleaner and don't listen by default 2025-01-02 16:35:27 -06:00
Aaron Kimbre
2d08ec641c cleanup and fixes 2025-01-02 16:28:34 -06:00
Aaron Kimbre
e86f4e011b redo it with mongoose
add all previous POC api endpoints
2025-01-02 16:11:45 -06:00
Aaron Kimbre
070bec697c Alllll the groundwork 2025-01-02 00:45:53 -06:00