XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

DeathMod

【Terraria】DeathMod (now aka Soul Harvest)

公开
关注 0 Fork 0 Star 0
UTF-8
using System;
using System.Collections.Generic;
using Terraria;

namespace SoulHarvest.Common;


/// <summary>
/// Stable node metadata used by persistence, services and UI adapters. A node is
/// either a branch skill (<see cref="Form"/> plus <see cref="SkillIndex"/>) or a
/// character-wide node (<see cref="CommonNode"/>).
/// </summary>
public sealed record ReaperNodeDefinition(
    ReaperNodeId Id,
    ReaperFormId Form,
    int SkillIndex,
    ReaperCommonNode? CommonNode,
    ReaperStage RequiredStage)
{
    public bool IsCommon => CommonNode.HasValue;
}