Commit Graph

19 Commits

Author SHA1 Message Date
Ayndpa
37272a5b95 添加帧率限制,优化窗口聚焦时的性能表现 2025-11-19 22:29:40 +08:00
Ayndpa
e66f85576e 优化连接信息显示,调整无效状态的表示方式 2025-11-19 22:22:07 +08:00
Ayndpa
c08a7753f3 实现单实例检查机制,优化窗口激活逻辑,添加跨平台支持 2025-11-19 22:14:15 +08:00
Ayndpa
f045632a78 优化io_context管理,添加工作保护和线程处理,确保资源正确释放 2025-11-19 22:07:48 +08:00
Ayndpa
e01f08c655 初始化Steam API,优化房间连接逻辑,移除冗余的Rich Presence处理 2025-11-19 21:35:16 +08:00
Ayndpa
94d3445cd2 添加连接类型列到用户列表,优化连接信息显示逻辑 2025-11-19 21:07:48 +08:00
Ayndpa
47943a0052 调整邀请朋友渲染顺序,优化断开连接按钮显示逻辑 2025-11-19 21:02:19 +08:00
Ayndpa
30fe49880f 重构网络管理,优化房间状态显示逻辑,添加断开连接功能,确保资源正确释放 2025-11-19 21:00:35 +08:00
Ayndpa
455539cbf1 优化Steam网络管理,添加主机延迟获取功能,重构房间成员管理逻辑 2025-11-19 20:56:48 +08:00
Ayndpa
dc3535f8c2 重构网络管理,移除TCPClient和TCPServer类,整合多路复用功能,优化连接管理和数据传输逻辑 2025-11-19 18:30:52 +08:00
Ayndpa
f661b1d369 重构Steam网络管理,整合房间管理功能,添加多路复用支持,优化TCP服务器和消息处理 2025-11-19 16:49:36 +08:00
Ayndpa
b2ad339efd 拆分房间功能和管理到单独文件,并删除control_packets相关代码 2025-11-19 16:08:48 +08:00
Ayndpa
d1d26ad0f0 更新Steam网络信息,添加用户信息更新功能以获取延迟和中继状态 2025-11-18 21:45:42 +08:00
Ayndpa
e7a09f9d92 增强Steam好友邀请功能,添加连接字符串支持并改进错误处理;实现游戏大厅加入请求的回调 2025-11-18 21:37:01 +08:00
Ayndpa
af181bb133 Refactor Steam Networking Components
- Removed SteamMessageHandler class and its implementation files.
- Integrated control packet handling directly into the SteamMessageHandler.
- Updated TCPClient and TCPServer classes to improve connection management and error handling.
- Added SteamNetworkingManager class to manage Steam networking, including lobby creation and connection handling.
- Implemented callbacks for Steam Friends and Matchmaking to handle lobby events.
- Enhanced message forwarding logic between TCP clients and Steam connections.
- Introduced control packet handling for ping responses.
- Improved thread safety with mutexes for shared resources.
2025-11-18 21:03:01 +08:00
Ayndpa
676d39d6a2 添加连接管理的互斥锁,增强多线程环境下的连接安全性;更新TCPClient以支持断开回调 2025-11-18 19:20:36 +08:00
Ayndpa
b308a644ff 重构代码,删除不必要的文件,添加控制数据包处理和Steam消息处理功能 2025-11-18 19:05:50 +08:00
Ayndpa
3b85a5f3bb 增强P2P连接的可靠性,添加用户信息管理和连接重试机制 2025-11-18 18:28:52 +08:00
Ayndpa
0f76252c16 Add initial implementation of ConnectTool with Dear ImGui and Steam Networking
- Created project files for ConnectTool including filters and user settings.
- Added README.md with setup instructions and prerequisites for building the project.
- Implemented imgui_hello.cpp as a simple Dear ImGui application using GLFW and OpenGL.
- Developed online_game_tool.cpp for hosting and joining game rooms using Steam Networking.
- Created p2p_chat.cpp for a peer-to-peer chat application utilizing Steam Networking.
- Implemented steam_friends.cpp to display the user's Steam friends list.
- Added TCP client and server classes for handling network communication.
- Integrated TCP server and client functionality into online_game_tool for real-time data exchange.
2025-11-17 20:41:03 +08:00