upm_guru_dof_lib/README.md

54 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# GURU Dof kcp Client
### VERSION 0.0.1
## 插件介绍
基于upm_guru_kcp库服务与dof项目的客户端类封装.
在更新了prot文件之后需要重新生成对应的cs文件。请按以下步骤进行操作
## 安装 .NET 6.0 运行时必须使用6.0版本)
* 下载离线安装包
https://dotnet.microsoft.com/zh-cn/download/dotnet/thank-you/runtime-6.0.21-macos-x64-installer
* 或者使用 homebrew
brew tap isen-ng/dotnet-sdk-versions
brew install --cask dotnet-sdk6-0-400
## 安装 protobuf-net.Protogen 命令行程序
dotnet tool install --global protobuf-net.Protogen --version 3.2.12
## 进入项目目录
cd upm_guru_dof_lib/Runtime/ServerProtos
## 生成 cs 文件
~/.dotnet/tools/protogen messages.proto --csharp_out=../NetworkGen
## 安装和接入
### 插件引入
- 本插件需要使用公司内部的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