https://github.com/simdsoft/yasio_unity
The unity c# wrapper of yasio
https://github.com/simdsoft/yasio_unity
Last synced: 2 months ago
JSON representation
The unity c# wrapper of yasio
- Host: GitHub
- URL: https://github.com/simdsoft/yasio_unity
- Owner: simdsoft
- License: mit
- Created: 2021-02-24T08:55:03.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-11-23T19:08:28.000Z (about 1 year ago)
- Last Synced: 2025-04-03T17:39:13.743Z (11 months ago)
- Language: C++
- Homepage:
- Size: 33.8 MB
- Stars: 19
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yasio_unity - The unity c# wrapper of yasio
## Unity version
2021.3.36f1+
## Repo Introduction
- NSM(NetworkServiceManager)
- Plugins buld with vs2022, if can't load, please install the redist: https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170
## Class name
- YASIO_NI: yasio dllimport interfaces and enums
- NetworkServiceManager: manage network connection, message send, recv and others.
- INetworkPacketHandler: protocol abstract, could implemented with protobuf, flatbuffers and etc.
- SampleNetworkPacketHandler: The simplest binary protocol implementation.
## Run
Open the scene `SampleScene`, then click button `Login`