update: initcommit
commit
2aeea20c3c
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d28fd9758a191431c890011f3987ffc8
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 68f75ad8b6624e2ca86deea09d90452e
|
||||||
|
timeCreated: 1693367821
|
||||||
|
|
@ -0,0 +1,41 @@
|
||||||
|
# GURU KCP
|
||||||
|
|
||||||
|
### VERSION 0.0.1
|
||||||
|
|
||||||
|
## 插件介绍
|
||||||
|
|
||||||
|
基于DotNetty版本实现的kcp(包含fec功能的实现).
|
||||||
|
|
||||||
|
KCP是一个基于udp的快速可靠协议(rudp),能以比 TCP浪费10%-20%的带宽的代价,换取平均延迟降低 30%-40%,且最大延迟降低三倍的传输效果
|
||||||
|
|
||||||
|
主要用于构建unity客户端网络层.
|
||||||
|
|
||||||
|
|
||||||
|
## 安装和接入
|
||||||
|
|
||||||
|
### 插件引入
|
||||||
|
|
||||||
|
- 本插件需要使用公司内部的Gitlab加载对应的repo, 详见 [Castbox内部git服务器Gitea使用指南](https://docs.google.com/document/d/1DiGPDD5Teu2QcYaBhqAcsqMbb3DJ5sdnTQMuvVzJSUk/edit#heading=h.w9tkkzwwyjxf)
|
||||||
|
- 根据文档部署好本机配置后, 请在Unity内部配置如下参数
|
||||||
|
- TBD
|
||||||
|
- TBD
|
||||||
|
- TBD
|
||||||
|
|
||||||
|
|
||||||
|
## 逻辑实现
|
||||||
|
|
||||||
|
- TBD
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## 问题答疑
|
||||||
|
|
||||||
|
- Q
|
||||||
|
> A
|
||||||
|
|
||||||
|
- Q
|
||||||
|
> A
|
||||||
|
|
||||||
|
- Q
|
||||||
|
> A
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 293ea24319fb4fcfb0095218b973bbbb
|
||||||
|
timeCreated: 1693367723
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 16ec203675cc3446b99268e544551ec7
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"name": "GuruKCP.Runtime",
|
||||||
|
"rootNamespace": "Guru",
|
||||||
|
"references": [],
|
||||||
|
"includePlatforms": [],
|
||||||
|
"excludePlatforms": [
|
||||||
|
"Editor"
|
||||||
|
],
|
||||||
|
"allowUnsafeCode": false,
|
||||||
|
"overrideReferences": false,
|
||||||
|
"precompiledReferences": [],
|
||||||
|
"autoReferenced": true,
|
||||||
|
"defineConstraints": [],
|
||||||
|
"versionDefines": [],
|
||||||
|
"noEngineReferences": false
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 832e7ae06a4304a17a11ca2f7b21373d
|
||||||
|
AssemblyDefinitionImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
namespace Guru
|
||||||
|
{
|
||||||
|
public class GuruKCP
|
||||||
|
{
|
||||||
|
|
||||||
|
public const string Version = "0.0.1";
|
||||||
|
|
||||||
|
public static void StartConnect(string host, string port)
|
||||||
|
{
|
||||||
|
// TODO Auto-generated constructor stub
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5527c7388144477ca22db2088137d31a
|
||||||
|
timeCreated: 1693369076
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 0cce6bb95d7a4c62a10114242afa5176
|
||||||
|
timeCreated: 1693367793
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"name": "com.guru.unity.gurukcp",
|
||||||
|
"displayName": "GuruKCP",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"description": "基于DotNetty版本实现的kcp",
|
||||||
|
"unity": "2020.3",
|
||||||
|
"license": "MIT",
|
||||||
|
"category": "Game tool",
|
||||||
|
"dependencies": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 910a5bb10172460fbbd5a37fb2165116
|
||||||
|
timeCreated: 1693367664
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f431bc69c3f04069bb4b8e08592c5c83
|
||||||
|
timeCreated: 1693369217
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8dcd280e8a1f4d47a0797e0ed7fdf7de
|
||||||
|
timeCreated: 1693369233
|
||||||
Loading…
Reference in New Issue