{"id":19614811,"url":"https://github.com/leancloud/play-sdk-csharp","last_synced_at":"2025-07-15T21:34:19.890Z","repository":{"id":33918137,"uuid":"146383943","full_name":"leancloud/Play-SDK-CSharp","owner":"leancloud","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-08T10:52:44.000Z","size":2956,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-04-13T06:30:18.371Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leancloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-28T02:59:06.000Z","updated_at":"2023-10-25T11:57:29.000Z","dependencies_parsed_at":"2023-01-15T03:20:41.757Z","dependency_job_id":null,"html_url":"https://github.com/leancloud/Play-SDK-CSharp","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leancloud%2FPlay-SDK-CSharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leancloud%2FPlay-SDK-CSharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leancloud%2FPlay-SDK-CSharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leancloud%2FPlay-SDK-CSharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leancloud","download_url":"https://codeload.github.com/leancloud/Play-SDK-CSharp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224092043,"owners_count":17254152,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T10:53:51.234Z","updated_at":"2024-11-11T10:53:52.947Z","avatar_url":"https://github.com/leancloud.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Play-SDK-CSharp\n\n![build](https://img.shields.io/travis/leancloud/Play-SDK-CSharp)\n![version](https://img.shields.io/github/v/release/leancloud/Play-SDK-CSharp)\n\n## 安装\n\n从 Release 下载 SDK.zip，解压后将 Plugins 目录拖拽至 Unity 工程。如果项目中已有 Plugins 目录，则合并至项目中的 Plugins 目录。\n\n## 文档\n\n- [API 文档](https://leancloud.github.io/Play-SDK-CSharp/html/)\n\n## 编译\n\n下载源码后，使用 Visual Studio 打开根目录下的 Play-SDK-CSharp.sln，点击编译。\n\n或使用命令行 `msbuild /p:Configuration=Release Play-SDK-CSharp.sln` 进行编译。\n\n目录 `Play-SDK-CSharp/SDK-Net35/bin/Release/` 下即为生成的 dll。\n\n## 项目的目录结构\n\n```\n├── SDK-Net35                       // SDK 工程\n│   └── src                \t\t\t// 源码目录\n│   \t├── Play.cs                // 最重要的接口类，提供操作接口和注册事件\n│   \t├── Room.cs                // 房间类\n│   \t├── Player.cs                // 玩家类\n│   \t├── Event.cs                // SDK 事件\n│   \t├── LobbyRoom.cs                // 大厅房间类\n│   \t├── Region.cs                // App 节点枚举\n│   \t├── RoomOptions.cs                // 创建房间选项\n│   \t├── SendEventOptions.cs                // 发送自定义事件选项\n│   \t└── ...\n├── Test                      // 单元测试\n│   ├── ChangeProperties.cs                 // 连接测试\n│   ├── CreateRoomTest.cs                 // 创建房间测试\n│   ├── CustomEventTest.cs                   // 自定义事件测试\n│   ├── JoinRoomTest.cs                   // 加入房间测试\n│   ├── LobbyTest.cs                   // 大厅测试\n│   ├── LogTest.cs                   // 日志测试\n│   └── MasterTest.cs                   // 主机切换测试\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleancloud%2Fplay-sdk-csharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleancloud%2Fplay-sdk-csharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleancloud%2Fplay-sdk-csharp/lists"}