初始化 monorepo: Go后端(7微服务) + Unity客户端(9模块) + 启动器 HTML5原型: Three.js 3D体素世界, Perlin噪声地形, 原版材质, 22种方块 Minecraft创造模式背包: 双栏布局, 拖拽移动物品, 方向性元件引脚 AI助搭策划文档 + 客户端/服务端骨架 + Docker Compose + CI
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace PCL.Core.Link.McPing.Model;
|
||||
|
||||
public record McPingModInfoModResult(
|
||||
[property: JsonPropertyName("modid")] string Id,
|
||||
[property: JsonPropertyName("version")] string Version);
|
||||
@@ -0,0 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace PCL.Core.Link.McPing.Model;
|
||||
|
||||
public record McPingModInfoResult(
|
||||
[property: JsonPropertyName("type")] string Type,
|
||||
[property: JsonPropertyName("modList")] List<McPingModInfoModResult> ModList);
|
||||
@@ -0,0 +1,9 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace PCL.Core.Link.McPing.Model;
|
||||
|
||||
public record McPingPlayerResult(
|
||||
[property: JsonPropertyName("max")] int Max,
|
||||
[property: JsonPropertyName("online")] int Online,
|
||||
[property: JsonPropertyName("sample")] List<McPingPlayerSampleResult>? Samples);
|
||||
@@ -0,0 +1,7 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace PCL.Core.Link.McPing.Model;
|
||||
|
||||
public record McPingPlayerSampleResult(
|
||||
[property: JsonPropertyName("name")] string Name,
|
||||
[property: JsonPropertyName("id")] string Id);
|
||||
@@ -0,0 +1,12 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace PCL.Core.Link.McPing.Model;
|
||||
|
||||
public record McPingResult(
|
||||
[property: JsonPropertyName("version")] McPingVersionResult Version,
|
||||
[property: JsonPropertyName("players")] McPingPlayerResult Players,
|
||||
[property: JsonPropertyName("description")] string Description,
|
||||
[property: JsonPropertyName("favicon")] string? Favicon,
|
||||
[property: JsonPropertyName("latency")] long Latency,
|
||||
[property: JsonPropertyName("modinfo")] McPingModInfoResult? ModInfo,
|
||||
[property: JsonPropertyName("preventsChatReports")] bool? PreventsChatReports);
|
||||
@@ -0,0 +1,7 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace PCL.Core.Link.McPing.Model;
|
||||
|
||||
public record McPingVersionResult(
|
||||
[property: JsonPropertyName("name")] string Name,
|
||||
[property: JsonPropertyName("protocol")] int Protocol);
|
||||
Reference in New Issue
Block a user