mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
add new buff & time info for spiral abyss
This commit is contained in:
@@ -26,4 +26,7 @@ internal sealed class Battle
|
||||
/// </summary>
|
||||
[JsonPropertyName("avatars")]
|
||||
public List<Avatar> Avatars { get; set; } = default!;
|
||||
|
||||
[JsonPropertyName("settle_date_time")]
|
||||
public SettleDateTime SettleDateTime { get; set; } = default!;
|
||||
}
|
||||
|
||||
@@ -31,6 +31,7 @@ internal sealed class Floor
|
||||
/// 结束时间
|
||||
/// </summary>
|
||||
[JsonPropertyName("settle_time")]
|
||||
[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)]
|
||||
public long SettleTime { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
@@ -50,4 +51,10 @@ internal sealed class Floor
|
||||
/// </summary>
|
||||
[JsonPropertyName("levels")]
|
||||
public List<Level> Levels { get; set; } = default!;
|
||||
}
|
||||
|
||||
[JsonPropertyName("settle_date_time")]
|
||||
public SettleDateTime? SettleDateTime { get; set; }
|
||||
|
||||
[JsonPropertyName("ley_line_disorder")]
|
||||
public List<string> LeyLineDisorder { get; set; } = default!;
|
||||
}
|
||||
@@ -32,4 +32,10 @@ internal sealed class Level
|
||||
/// </summary>
|
||||
[JsonPropertyName("battles")]
|
||||
public List<Battle> Battles { get; set; } = default!;
|
||||
}
|
||||
|
||||
[JsonPropertyName("top_half_floor_monster")]
|
||||
public List<Monster> TopHalfFloorMonster { get; set; } = default!;
|
||||
|
||||
[JsonPropertyName("bottom_half_floor_monster")]
|
||||
public List<Monster> BottomHalfFloorMonster { get; set; } = default!;
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
// Copyright (c) DGP Studio. All rights reserved.
|
||||
// Licensed under the MIT license.
|
||||
|
||||
namespace Snap.Hutao.Web.Hoyolab.Takumi.GameRecord.SpiralAbyss;
|
||||
|
||||
internal sealed class Monster
|
||||
{
|
||||
[JsonPropertyName("name")]
|
||||
public string Name { get; set; } = default!;
|
||||
|
||||
[JsonPropertyName("icon")]
|
||||
public string Icon { get; set; } = default!;
|
||||
|
||||
[JsonPropertyName("level")]
|
||||
public int Level { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
// Copyright (c) DGP Studio. All rights reserved.
|
||||
// Licensed under the MIT license.
|
||||
|
||||
namespace Snap.Hutao.Web.Hoyolab.Takumi.GameRecord.SpiralAbyss;
|
||||
|
||||
internal sealed class SettleDateTime
|
||||
{
|
||||
[JsonPropertyName("year")]
|
||||
public int Year { get; set; }
|
||||
|
||||
[JsonPropertyName("month")]
|
||||
public int Month { get; set; }
|
||||
|
||||
[JsonPropertyName("day")]
|
||||
public int Day { get; set; }
|
||||
|
||||
[JsonPropertyName("hour")]
|
||||
public int Hour { get; set; }
|
||||
|
||||
[JsonPropertyName("minute")]
|
||||
public int Minute { get; set; }
|
||||
|
||||
[JsonPropertyName("second")]
|
||||
public int Second { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user