(client) feat:实现健康状态定义,实现事件定义

This commit is contained in:
m0_75251201
2025-08-27 22:39:34 +08:00
parent f4ce4fcf1f
commit 9713ad9129
22 changed files with 313 additions and 32 deletions

View File

@ -0,0 +1,16 @@
using System.Collections.Generic;
namespace Data
{
public class LocationRangeDef:Define
{
public float minRadius = 0f; // 最小距离(以格数单位)
public float maxRadius = 10f; // 最大距离(以格数单位)
public int width = 5; // 宽度(以格数单位),指定一个方形区域
public int height = 5; // 高度(以格数单位)
public bool allowNearWalls = true; // 是否允许靠近墙壁生成
public bool allowSpawnOnPawn = false; // 是否允许直接生成在角色身上
// 可以添加更多约束,如:
public List<string> allowedTerrainTags; // 允许生成的地形标签
}
}