16 lines
527 B
C#
16 lines
527 B
C#
using Unity.Entities;
|
|
using Unity.NetCode;
|
|
|
|
namespace ProjectM.Simulation
|
|
{
|
|
/// <summary>
|
|
/// Which authored ability definition occupies this entity's primary slot - a light replicated key
|
|
/// into the AbilityDatabase blob, replacing M2's inlined AbilityStats values. Replicated so an
|
|
/// ability swap is server-authoritative and prediction-correct. <c>Id</c> stores an <see cref="AbilityId"/>.
|
|
/// </summary>
|
|
public struct AbilityRef : IComponentData
|
|
{
|
|
[GhostField] public byte Id;
|
|
}
|
|
}
|