(client) feat:添加基地界面到游玩界面的过程,添加存档管理,技能树变得可用 (#58)

Co-authored-by: m0_75251201 <m0_75251201@noreply.gitcode.com>
Reviewed-on: http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite/pulls/58
This commit is contained in:
2025-10-03 00:31:34 +08:00
parent aff747be17
commit dd9d90439d
134 changed files with 10322 additions and 4872 deletions

View File

@@ -1,6 +1,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using UnityEngine;
namespace Data
{
@@ -23,13 +24,11 @@ namespace Data
var xElements = nodes as XElement[] ?? nodes.ToArray();
if (!xElements.Any())
return false;
List<BehaviorTreeDef> children = new();
foreach (var node in xElements)
{
var childNode = new BehaviorTreeDef();
if (!childNode.Init(node))
return false;
childNode.Init(node);
children.Add(childNode);
}

View File

@@ -2,6 +2,7 @@ namespace Data
{
public class CharacterDef : EntityDef
{
public DimensionDef insideDimensionDef;
}

View File

@@ -3,6 +3,8 @@ namespace Data
public class DimensionDef:Define
{
public MapGeneratorDef[] mapGenerators;
public string icon;
public bool canSelect = true;
public StoryDef story;
}
}