2024-08-17 14:27:18 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
2024-08-22 20:37:39 +08:00
|
|
|
|
using AppGame;
|
2024-08-17 14:27:18 +08:00
|
|
|
|
using DotRecast.Core.Collections;
|
|
|
|
|
using Entitas;
|
|
|
|
|
using Game.JNGFrame.Logic.Entity;
|
|
|
|
|
using Game.JNGFrame.Logic.Entity.Contexts;
|
2024-08-31 21:05:29 +08:00
|
|
|
|
using Game.Logic.Entity.Nodes;
|
2024-08-17 14:27:18 +08:00
|
|
|
|
using JNGame.Math;
|
|
|
|
|
using JNGame.Sync.State.Tile.Entity;
|
|
|
|
|
using JNGame.Sync.System;
|
|
|
|
|
using JNGame.Sync.System.Data;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
namespace Game.JNGState.Logic.Data
|
|
|
|
|
{
|
2024-08-22 20:37:39 +08:00
|
|
|
|
|
2024-08-17 14:27:18 +08:00
|
|
|
|
[Serializable]
|
2024-08-22 20:37:39 +08:00
|
|
|
|
public class EDNodeValue : GDataValue
|
2024-08-17 14:27:18 +08:00
|
|
|
|
{
|
2024-08-22 20:37:39 +08:00
|
|
|
|
|
2024-08-17 14:27:18 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-08-22 20:37:39 +08:00
|
|
|
|
public class EDNodeData : GDataBase<EDNodeData,EDNodeValue,EDNode>
|
2024-08-17 14:27:18 +08:00
|
|
|
|
{
|
2024-08-22 20:37:39 +08:00
|
|
|
|
|
2024-08-17 14:27:18 +08:00
|
|
|
|
}
|
2024-08-31 15:35:12 +08:00
|
|
|
|
public class EDNodeDataSystem : GDataBaseSystem<EDNodeData,EDNodeValue,EDNode>
|
2024-08-17 14:27:18 +08:00
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public EDNodeDataSystem(SStateDataEnum type) : base(type)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override JNTileContext<EDNode> NodeContext => Contexts.GetContext<EDNodeContext>();
|
|
|
|
|
|
|
|
|
|
public override int NetID => (int)NetDataEnum.EDNodeData;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|