A network library for client/server games written in C++
翻譯準備中
遊戲C++ · CGitHub @mas-bandwidth自行安裝營運者未確認
試用過了嗎? 點一下就好,不需要登入。
製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗If this library helps you, please support it: Become a supporter
yojimbo is a network library for client/server games written in C++.
It's designed around the networking requirements of competitive multiplayer games like first person shooters.
Generally speaking, if you have a game engine written in C++ and you want to network your game, yojimbo is a really good choice.
It has the following features:
yojimbo is stable and production ready.
yojimbo is designed for client/server games with 100 players or less.
The client and server must use the same configuration. Make sure the ClientServerConfig, channels and message factory are identical on both sides, or the client and server won't work together. Keeping the two sides in sync is your responsibility.
yojimbo is single-threaded. Call all client and server functions from the same thread. If you want to run networking on its own thread, that works fine — just make sure every yojimbo call happens on that one thread.
You can get the latest source code by cloning it from github:
git clone https://github.com/mas-bandwidth/yojimbo.git
Alternatively, you can download the latest release.
The author of this library is Glenn Fiedler.
Yojimbo is built on top of other open source libraries by the same author: netcode, reliable, and serialize
If you find this software useful, please consider becoming a supporter. Thanks!
Contributions are welcome — see CONTRIBUTING.md for how to build, test, and submit changes. To report a security vulnerability, please follow SECURITY.md rather than opening a public issue.
yojimbo is built on top of netcode, reliable, and serialize — shipping yojimbo means shipping all four. If you use yojimbo in a product, please credit them together in your product credits:
yojimbo - Glenn Fiedler and Rowan Claude netcode - Glenn Fiedler and Rowan Claude reliable - Glenn Fiedler and Rowan Claude serialize - Glenn Fiedler and Rowan Claude
The license doesn't require this. It's an official request, and honoring it is appreciated. Fair credit keeps open source honest.
yojimbo also bundles libsodium and tlsf — their own license notices apply as usual.