* ECS up disposals Also significantly reduced its CPU usage. * Make update significantly less S L O W * Start units pressurised * Client-side flush lerping * Fix powered not toggling UI * Fix flush button * InteractUsing * Minor optimisations * Fix collisions * Make visual state ECS * Almost done with shared * Most stuff moved * Optimise item sleeping
29 lines
663 B
C#
29 lines
663 B
C#
using System;
|
|
using JetBrains.Annotations;
|
|
using Robust.Shared.GameObjects;
|
|
|
|
namespace Content.Shared.Movement
|
|
{
|
|
[Obsolete("Component Messages are deprecated, use Entity Events instead.")]
|
|
public class RelayMovementEntityMessage : ComponentMessage
|
|
{
|
|
[PublicAPI]
|
|
public readonly IEntity Entity;
|
|
|
|
public RelayMovementEntityMessage(IEntity entity)
|
|
{
|
|
Entity = entity;
|
|
}
|
|
}
|
|
|
|
public sealed class RelayMovementEntityEvent : EntityEventArgs
|
|
{
|
|
public IEntity Entity { get; }
|
|
|
|
public RelayMovementEntityEvent(IEntity entity)
|
|
{
|
|
Entity = entity;
|
|
}
|
|
}
|
|
}
|