Files
Project-M/Assets/_Project/Scripts/Simulation/Player/CharacterStatsRef.cs
T
2026-05-31 21:35:12 -07:00

16 lines
532 B
C#

using Unity.Entities;
namespace ProjectM.Simulation
{
/// <summary>
/// Which authored character-stats definition this entity uses - a light key into the CharacterStats
/// blob, replacing M2's inlined PlayerMoveStats values. Not replicated (baked identically on both
/// worlds); promote to a GhostField if runtime character changes are ever needed. <c>Id</c> stores a
/// <see cref="CharacterId"/>.
/// </summary>
public struct CharacterStatsRef : IComponentData
{
public byte Id;
}
}