{"id":21358853,"url":"https://github.com/gameframex/gameframex.tools","last_synced_at":"2025-07-13T00:34:19.509Z","repository":{"id":236024272,"uuid":"791748835","full_name":"GameFrameX/GameFrameX.Tools","owner":"GameFrameX","description":"GameFrameX的工具集合.协议导出cs,ts 文件","archived":false,"fork":false,"pushed_at":"2024-08-23T01:36:03.000Z","size":68,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-23T14:07:15.463Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GameFrameX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-25T09:46:11.000Z","updated_at":"2024-08-23T01:36:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a8cfc4b-974c-4e36-b492-be2904813705","html_url":"https://github.com/GameFrameX/GameFrameX.Tools","commit_stats":null,"previous_names":["alianblank/gameframex.tools","gameframex/gameframex.tools"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GameFrameX%2FGameFrameX.Tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GameFrameX%2FGameFrameX.Tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GameFrameX%2FGameFrameX.Tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GameFrameX%2FGameFrameX.Tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GameFrameX","download_url":"https://codeload.github.com/GameFrameX/GameFrameX.Tools/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225847335,"owners_count":17533619,"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-22T05:22:39.630Z","updated_at":"2025-07-13T00:34:19.495Z","avatar_url":"https://github.com/GameFrameX.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GameFrameX.Tools\r\n\r\n# ProtoExport 工具\r\n\r\n这是一个用于将Proto协议文件转换为 `Server/Unity/TypeScript` 代码的工具。\r\n\r\n# 参数解析\r\n\r\n以下是此工具命令行参数的详细说明：\r\n\r\n`--mode`    \r\n此参数用于指定运行模式。有效值包括 `Server`, `Unity`, 或 `TypeScript` 中的任何一个。\r\n\r\n`--inputpath`    \r\n此参数用于指定.proto协议文件的路径。程序将扫描该路径下所有以.proto结尾的文件。\r\n\r\n`--outputpath`    \r\n此参数用于指定输出文件的保存路径。\r\n\r\n`--namespaceName`   \r\n此参数用于指定命名空间。在TypeScript模式中此参数无效。如果不想设定命名空间，此参数可以传空值。\r\n\r\n## 命令行示例\r\n\r\n下面的命令示例展示了如何将Proto协议文件转换为Server代码：\r\n\r\n```\r\n--mode server --inputpath ./../../../../../Protobuf --outputpath ./../../../../../Server/GameFrameX.Proto/Proto --namespaceName GameFrameX.Proto.Proto\r\n```\r\n\r\n在上述命令示例中：\r\n\r\n- `--mode server` 表示设置运行模式为 Server。\r\n- `--inputpath ./../../../../../Protobuf` 表示.proto协议文件的路径为 `./../../../../../Protobuf`。\r\n- `--outputpath ./../../../../../Server/GameFrameX.Proto/Proto` 表示输出文件的保存路径为 `./../../../../../Server/GameFrameX.Proto/Proto`。\r\n- `--namespaceName GameFrameX.Proto.Proto` 表示命名空间设定为 `GameFrameX.Proto.Proto`。\r\n\r\n更改命令行参数，可以根据实际需求转换合适的代码。","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgameframex%2Fgameframex.tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgameframex%2Fgameframex.tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgameframex%2Fgameframex.tools/lists"}