17 lines
573 B
C#
17 lines
573 B
C#
using Unity.Entities;
|
|
|
|
namespace ProjectM.Simulation
|
|
{
|
|
/// <summary>
|
|
/// Per-entity effective character stats (movement + survivability): authored base (from the
|
|
/// CharacterStats blob keyed by CharacterStatsRef) folded with the StatModifier buffer by
|
|
/// StatRecomputeSystem each predicted tick. Derived/local, NOT replicated (see EffectiveAbilityStats).
|
|
/// </summary>
|
|
public struct EffectiveCharacterStats : IComponentData
|
|
{
|
|
public float MoveSpeed;
|
|
public float TurnRateRadiansPerSec;
|
|
public float MaxHealth;
|
|
}
|
|
}
|