update: initcommit

main
huyufei 2023-08-30 12:26:45 +08:00
commit 2aeea20c3c
17 changed files with 125 additions and 0 deletions

8
Editor.meta Normal file
View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: d28fd9758a191431c890011f3987ffc8
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

0
Editor/__PLACEHOLDER__ Normal file
View File

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 68f75ad8b6624e2ca86deea09d90452e
timeCreated: 1693367821

41
README.md Normal file
View File

@ -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

3
README.md.meta Normal file
View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 293ea24319fb4fcfb0095218b973bbbb
timeCreated: 1693367723

8
Runtime.meta Normal file
View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 16ec203675cc3446b99268e544551ec7
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,16 @@
{
"name": "GuruKCP.Runtime",
"rootNamespace": "Guru",
"references": [],
"includePlatforms": [],
"excludePlatforms": [
"Editor"
],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 832e7ae06a4304a17a11ca2f7b21373d
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

13
Runtime/GuruKCP.cs Normal file
View File

@ -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
}
}
}

3
Runtime/GuruKCP.cs.meta Normal file
View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 5527c7388144477ca22db2088137d31a
timeCreated: 1693369076

0
Runtime/__PLACEHOLDER__ Normal file
View File

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 0cce6bb95d7a4c62a10114242afa5176
timeCreated: 1693367793

11
package.json Normal file
View File

@ -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": {
}
}

3
package.json.meta Normal file
View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 910a5bb10172460fbbd5a37fb2165116
timeCreated: 1693367664

3
~Samples.meta Normal file
View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: f431bc69c3f04069bb4b8e08592c5c83
timeCreated: 1693369217

0
~Samples/__PLACEHOLDER__ Normal file
View File

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 8dcd280e8a1f4d47a0797e0ed7fdf7de
timeCreated: 1693369233