Commit graph

31 commits

Author SHA1 Message Date
MihailRis
1f1cb22e4d add 'network.find_free_port' function 2025-11-15 16:18:34 +03:00
MihailRis
f8be3e74f1 add error callback to network.tcp_connect 2025-11-15 12:46:36 +03:00
MihailRis
44bf4a2f9e add ReadableConnection interface 2025-10-06 01:49:13 +03:00
MihailRis
2895cff5f2 feat: max clients connected limit in TcpServer 2025-10-05 22:52:55 +03:00
MihailRis
2f15a1a8d4 refactor Network.cpp 2025-10-04 14:58:03 +03:00
Xertis
1f049c2fd0 change "get" to "is" 2025-10-01 01:05:30 +03:00
Xertis
86053fa86d Merge branch 'dev' of https://github.com/Xertis/VoxelEngine-Cpp into dev 2025-09-30 23:45:25 +03:00
Xertis
b6ca7cf918 make Nagle's algorithm configurable 2025-09-30 23:45:00 +03:00
GHOST11111100
792ee63f22
Player Attributes (#578)
* feat: add max interaction distance functionality to Player class and Lua bindings

* feat: add getter and setter for max interaction distance in Player class documentation

* feat: add speed and gravity scale properties with corresponding getters and setters in Player class

* fix: replace deprecated __max and __min with std::max and std::min in setMaxInteractionDistance

* feat: add time scale functionality with getters and setters in World and Engine classes

* remove speed and gravity scale functions from player and world libraries

* remove time scale setting on world open and close

* rename interaction distance functions for consistency

* refactor: update interaction distance functions and remove time scale methods

* refactor: revert classes.lua to dev

* refactor: remove time scale functionality from Engine and World classes

* fix: Now I’ve definitely rolled back `classes.lua`.

* refactor: remove unused player attributes and clean up player class

* Update Player.hpp

removed unused methods from Player.cpp
2025-09-26 21:59:15 +03:00
MihailRis
7d6ddfa535 add 'data' argument to http error callback 2025-09-16 23:17:06 +03:00
MihailRis
9871bf1292 add 'headers' argument to network.get, network.get_binary and network.post 2025-09-08 23:46:37 +03:00
Onran0
4a9aad04ff udp support 2025-08-24 02:39:05 +09:00
MihailRis
1bd3463488 fix "cannot resume dead coroutine" for servers 2025-07-26 17:08:45 +03:00
MihailRis
556a561f1c feat: error callback in network.get, .get_binary, .post 2025-04-30 19:15:39 +03:00
MihailRis
d2bbd82dbe add 'discardAll' parameter to socket:close(...) 2025-01-17 23:43:44 +03:00
MihailRis
96b904e61f add network.post 2025-01-08 17:02:07 +03:00
MihailRis
21c76c1b0d add socket:get_address, serversocket:get_port 2024-11-30 22:32:14 +03:00
MihailRis
46628263d1 add network.get_total_upload, .get_total_download 2024-11-28 10:21:16 +03:00
MihailRis
34974c4bb3 add network.tcp_connect and .tcp_open 2024-11-27 17:06:06 +03:00
MihailRis
847ef23092 add network.__closeserver 2024-11-27 16:14:20 +03:00
MihailRis
a72d36f53c add simple inefficient server socket implementation (WIP) 2024-11-27 15:38:57 +03:00
MihailRis
fb0f4bff52 complete simple connection implementation 2024-11-27 12:10:59 +03:00
MihailRis
18bdce52df make socket non-blocking 2024-11-26 17:12:24 +03:00
MihailRis
5e063d9fe0 refactor Network 2024-11-23 09:49:17 +03:00
MihailRis
186078a8d5 make httpGet non-blocking 2024-11-22 07:28:18 +03:00
MihailRis
4aacd130ab update Socket interface 2024-11-15 07:09:55 +03:00
MihailRis
40ba7705b2 update Socket.send, recv 2024-11-11 20:09:56 +03:00
MihailRis
dc84fe1f07 add Network.connect (WIP) 2024-11-11 19:55:23 +03:00
MihailRis
4328c83c79 add httpGet error handling 2024-11-11 14:47:09 +03:00
MihailRis
d7389c2220 add Network.getTotalUpload, getTotalDownload 2024-11-11 04:26:07 +03:00
MihailRis
46dfdac998 add Network.httpGet (WIP) 2024-11-11 03:50:00 +03:00