This commit is contained in:
Vladislav Khorev 2026-02-26 21:02:16 +03:00
parent 74c2f786a1
commit f8642efa23
10 changed files with 20 additions and 20 deletions

Binary file not shown.

BIN
resources/multiplayer_menu/Backbutton.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/multiplayer_menu/Button.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/multiplayer_menu/Button2.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/multiplayer_menu/Button3.png (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

BIN
resources/multiplayer_menu/JoinServer.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/multiplayer_menu/ServerName.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/multiplayer_menu/title.png (Stored with Git LFS)

Binary file not shown.

View File

@ -7,8 +7,8 @@
namespace ZL {
void WebSocketClientEmscripten::Connect(const std::string& host, uint16_t port) {
// Формируем URL. Обратите внимание, что в Web часто лучше использовать ws://localhost
//std::string url = "ws://" + host + ":" + std::to_string(port);
std::string url = "wss://api.spacegame.fishrungames.com";
std::string url = "ws://" + host + ":" + std::to_string(port);
//std::string url = "wss://api.spacegame.fishrungames.com";
EmscriptenWebSocketCreateAttributes attr = {
url.c_str(),