mirror of
https://github.com/rafi1212122/BLHX.Server.git
synced 2025-12-13 06:54:51 +01:00
implement basic gacha ( no droprates yet)
This commit is contained in:
@@ -33,6 +33,10 @@ public static class Data
|
||||
|
||||
[LoadData("item_data_statistics.json", LoadDataType.ShareCfgData)]
|
||||
public static Dictionary<int, ItemDataStatistics> ItemDataStatistics { get; private set; } = null!;
|
||||
|
||||
[LoadData("activity_ship_create.json", LoadDataType.ShareCfg)]
|
||||
public static Dictionary<uint, ActivityShipCreate> ActivityShipCreate { get; private set; } = null!;
|
||||
|
||||
|
||||
public static void Load()
|
||||
{
|
||||
|
||||
23
BLHX.Server.Common/Data/Model/ActivityShipCreate.cs
Normal file
23
BLHX.Server.Common/Data/Model/ActivityShipCreate.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace BLHX.Server.Common.Data {
|
||||
public class ActivityShipCreate {
|
||||
[JsonPropertyName("activity_id")]
|
||||
public uint ActivityId { get; set; }
|
||||
|
||||
[JsonPropertyName("create_id")]
|
||||
public uint CreateId { get; set; }
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public uint Id { get; set; }
|
||||
|
||||
[JsonPropertyName("pickup_list")]
|
||||
public uint[] PickupList { get; set; }
|
||||
|
||||
[JsonPropertyName("pickup_num")]
|
||||
public uint PickupNum { get; set; }
|
||||
|
||||
[JsonPropertyName("ratio_display")]
|
||||
public uint[] RatioDisplay { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user