SteamClient
Steam 客户端 API 调用
Proto files
- https://github.com/SteamDatabase/Protobufs/blob/master/steam/enums.proto
- https://github.com/SteamDatabase/Protobufs/blob/master/steam/steammessages_base.proto
- https://github.com/SteamDatabase/Protobufs/blob/master/steam/steammessages_auth.steamclient.proto
- https://github.com/SteamDatabase/Protobufs/blob/master/steam/steammessages_unified_base.steamclient.proto
📁 项目文件夹结构
pkgRelease 配置下生成编译的 nuget 包存放目录ref子模块引用其他仓库目录,在解决方案中的1.Reference文件夹下src源码目录
🏗️ 解决方案结构
- 0.Root 项目根文件夹
- Source 共享源码
- ImplicitUsings 全局命名空间引用
- AssemblyInfo.cs 程序集信息
- Utils.cs 项目工具类
- TFM .NET 目标框架
- .editorconfig 代码样式配置
- .gitignore Git 忽略扩展名与路径配置
- .gitmodules Git 子模块配置
- Directory.Build.props csproj 全局项目共享配置
- Directory.Packages.props NuGet 中央包管理
- GeneratePackage.props NuGet 发行包信息
- nuget.config NuGet 包源配置
- Source 共享源码
- 1.Reference 引用子模块依赖项目
- BD.SteamClient 库
- Constants 静态类常量
- Extensions 扩展函数
- Helpers 静态助手类
- Services 服务接口
- Services.Implementation 服务接口实现
- BD.SteamClient 基本库
- Columns 列接口
- Enums 枚举
- Extensions 扩展函数
- BD.SteamClient.Models.Protobuf Protobuf 模型库
- BD.SteamClient.UnitTest 单元测试
- XXXXUnitTest.cs 对某个功能进行测试
⚠ 注意事项
ServiceCollectionExtensions.*.csDI 注册服务扩展类,命名空间统一使用
// ReSharper disable once CheckNamespace namespace Microsoft.Extensions.DependencyInjection;
Extensions扩展函数,命名空间使用
// ReSharper disable once CheckNamespace namespace BD.SteamClient;