mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 12:46:03 +08:00
33 lines
845 B
C#
33 lines
845 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace EggLink.DanhengServer.Data.Config.Task
|
|
{
|
|
public class DestroyProp : TaskConfigInfo
|
|
{
|
|
public DynamicFloat ID { get; set; } = new();
|
|
public DynamicFloat GroupID { get; set; } = new();
|
|
public List<GroupEntityInfo> DestroyList { get; set; } = [];
|
|
}
|
|
|
|
public class GroupEntityInfo
|
|
{
|
|
public DynamicFloat GroupID { get; set; } = new();
|
|
public DynamicFloat GroupInstanceID { get; set; } = new();
|
|
}
|
|
|
|
public class DynamicFloat
|
|
{
|
|
public bool IsDynamic { get; set; }
|
|
public FixedValueInfo<int> FixedValue { get; set; } = new();
|
|
|
|
public int GetValue()
|
|
{
|
|
return IsDynamic ? 0 : FixedValue.Value;
|
|
}
|
|
}
|
|
}
|