From 8ec10332f8282d4b2b5f07ad92d0616fc4b9f95d Mon Sep 17 00:00:00 2001 From: CortexCore <2630229280@qq.com> Date: Wed, 7 Jun 2023 02:39:44 +0800 Subject: [PATCH] readme.md --- LICENSE.md | 21 ++++++++++++ Readme.md | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 116 insertions(+), 4 deletions(-) create mode 100644 LICENSE.md diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..ad29d72 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 军火商小火柴 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/Readme.md b/Readme.md index 5ed54fb..4c88c55 100644 --- a/Readme.md +++ b/Readme.md @@ -1,4 +1,95 @@ -###BITKit -Dotnet框架,主要为Unity与asp.net提供服务 -服务提供者: 军火商小火柴 -联系方式: shitchilly@gmail.com \ No newline at end of file +# BITKit——easy useful的.net框架(支持网络) + +> 所有项目都需要一个Framework,BITKit为你提供所有支持 + +无论是小型,大型还是商业项目,你都可以用BITKit完成所有的需求 + +特别是Unity和asp + +## Getting Started 使用指南 + +该框架由于目前还没有用户,所以使用指南将包括在部分文件中 + +### Prerequisites 项目使用条件 + +你需要一些小小的nuget程序包,或者一些小小的Unity Packages +``` + UniTask 提供异步处理 +``` +``` + Unity.Mathematics 提供数学结构 +``` +``` +(可选) GameDesigner 提供主要的网络服务(未来可能会用内置KCP) +``` +在Unity中,你还需要以下Plugins: + +``` +Sirenix Odin +``` +``` +Demigiant DOTween +``` +``` +Rotary Heart SerializableDictionaryLite (已下架) +``` + +### Installation 安装 + +1.从Git Clone此项目 + +[该项目Git链接](http://server.bitfall.icu:3000/root/BITKit.git) 右键复制 +#### Unity: + + +``` +在 PackagesManager 运行 "Add Package From Git Url" +``` +#### Net Core: + +``` +从Git Clone该项目后,支持在解决方案中"添加现有项目"即可完成安装 +``` + +### Usage example 使用示例 +```csharp +//打包数据 +BITAssets.Build(myFile); +//二进制和反二进制化数据 +BITBinary.Write(value); +BITBinary.Read(value); +//注册远程指令 +INetProvider.AddCommandListener(callback); +//向服务器发送指令 +INetProvider.ServerCommand(); +//向客户端发送指令 +INetProvider.ClientCommand(64); +``` + + +## Deployment 部署方法 + +#### Unity :直接Build项目 +#### Net Core :直接发布项目 + +## Contributing 贡献指南 + +从Readme文件下方找到作者的联系方式,并直接联系作者 + +## Release History 版本历史 + +* 0.2.1 + * 更新 `README.md` +* 0.2.0 + * 添加 `README.md` +* 0.1.0 + * 创建Git 仓库 + +## Authors 关于作者 + +* **军火商小火柴** - *Initial work* - [军火商小火柴](https://bitfall.icu) + + +## License 授权协议 + +这个项目 MIT 协议, 请点击 [LICENSE.md](LICENSE.md) 了解更多细节。 \ No newline at end of file