提交示例代码
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
using Fantasy.Entitas;
|
||||
|
||||
namespace Fantasy;
|
||||
|
||||
public sealed class GateUnitFlagComponent : Entity
|
||||
{
|
||||
public long GateUnitId { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
using Fantasy.Entitas;
|
||||
|
||||
namespace Fantasy;
|
||||
|
||||
public sealed class GateUnitManageComponent : Entity
|
||||
{
|
||||
public readonly Dictionary<long, GateUnit> Units = new Dictionary<long, GateUnit>();
|
||||
public readonly Dictionary<string, GateUnit> UnitsByUserName = new Dictionary<string, GateUnit>();
|
||||
}
|
||||
Reference in New Issue
Block a user