Files
BuYuHouDuan/CommonDomain/BaseModel/FishSpawnConfig.cs
T

79 lines
1.9 KiB
C#
Raw Normal View History

2026-10-12 16:22:04 +08:00
using System;
using System.Collections.Generic;
namespace CommonDomain.BaseModel
{
public class FishSpawnConfigStoreModel
{
public Dictionary<string, FishSpawnLevelConfig> Levels { get; set; } = new Dictionary<string, FishSpawnLevelConfig>();
}
public class FishSpawnLevelConfig
{
public int GameType { get; set; }
public int RoomLevel { get; set; }
public List<FishSpawnProbability> Probabilities { get; set; } = new List<FishSpawnProbability>();
public List<FishSpawnFish> Fishes { get; set; } = new List<FishSpawnFish>();
public List<FishSpawnArray> FishArrays { get; set; } = new List<FishSpawnArray>();
}
public class FishSpawnProbability
{
public int Type { get; set; }
public int FishType { get; set; }
public int FirstFishCountMin { get; set; }
public int FirstFishCountMax { get; set; }
public int TimeMin { get; set; }
public int TimeMax { get; set; }
public int CountMin { get; set; }
public int CountMax { get; set; }
public int MaxCountMin { get; set; }
public int MaxCountMax { get; set; }
}
public class FishSpawnFish
{
public string FishNumber { get; set; } = string.Empty;
public int FishWeight { get; set; }
public int Times { get; set; }
public int MaxCount { get; set; }
public int FishType { get; set; }
public List<int> PathList { get; set; } = new List<int>();
}
public class FishSpawnArray
{
public string FishArrayNumber { get; set; } = string.Empty;
public string ArrayNumber { get; set; } = string.Empty;
public string FishNumber { get; set; } = string.Empty;
public int FishCount { get; set; }
public string BossFishNumber { get; set; } = string.Empty;
public int BossCount { get; set; }
public double GenerateFrequency { get; set; }
}
}