merge
This commit is contained in:
parent
74c2f786a1
commit
f8642efa23
BIN
resources/multiplayer_menu/AvailableServers.png
(Stored with Git LFS)
BIN
resources/multiplayer_menu/AvailableServers.png
(Stored with Git LFS)
Binary file not shown.
BIN
resources/multiplayer_menu/Backbutton.png
(Stored with Git LFS)
BIN
resources/multiplayer_menu/Backbutton.png
(Stored with Git LFS)
Binary file not shown.
BIN
resources/multiplayer_menu/Button.png
(Stored with Git LFS)
BIN
resources/multiplayer_menu/Button.png
(Stored with Git LFS)
Binary file not shown.
BIN
resources/multiplayer_menu/Button2.png
(Stored with Git LFS)
BIN
resources/multiplayer_menu/Button2.png
(Stored with Git LFS)
Binary file not shown.
BIN
resources/multiplayer_menu/Button3.png
(Stored with Git LFS)
BIN
resources/multiplayer_menu/Button3.png
(Stored with Git LFS)
Binary file not shown.
BIN
resources/multiplayer_menu/Filledbuttons.png
(Stored with Git LFS)
BIN
resources/multiplayer_menu/Filledbuttons.png
(Stored with Git LFS)
Binary file not shown.
BIN
resources/multiplayer_menu/JoinServer.png
(Stored with Git LFS)
BIN
resources/multiplayer_menu/JoinServer.png
(Stored with Git LFS)
Binary file not shown.
BIN
resources/multiplayer_menu/ServerName.png
(Stored with Git LFS)
BIN
resources/multiplayer_menu/ServerName.png
(Stored with Git LFS)
Binary file not shown.
BIN
resources/multiplayer_menu/title.png
(Stored with Git LFS)
BIN
resources/multiplayer_menu/title.png
(Stored with Git LFS)
Binary file not shown.
@ -7,8 +7,8 @@
|
|||||||
namespace ZL {
|
namespace ZL {
|
||||||
void WebSocketClientEmscripten::Connect(const std::string& host, uint16_t port) {
|
void WebSocketClientEmscripten::Connect(const std::string& host, uint16_t port) {
|
||||||
// Формируем URL. Обратите внимание, что в Web часто лучше использовать ws://localhost
|
// Формируем URL. Обратите внимание, что в Web часто лучше использовать ws://localhost
|
||||||
//std::string url = "ws://" + host + ":" + std::to_string(port);
|
std::string url = "ws://" + host + ":" + std::to_string(port);
|
||||||
std::string url = "wss://api.spacegame.fishrungames.com";
|
//std::string url = "wss://api.spacegame.fishrungames.com";
|
||||||
|
|
||||||
EmscriptenWebSocketCreateAttributes attr = {
|
EmscriptenWebSocketCreateAttributes attr = {
|
||||||
url.c_str(),
|
url.c_str(),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user