mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-07 02:08:17 +02:00
24 lines
733 B
C#
24 lines
733 B
C#
using System.Collections.Generic;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Map;
|
|
using Robust.Shared.Maths;
|
|
|
|
namespace Robust.Server.GameObjects.EntitySystemMessages
|
|
{
|
|
/// <summary>
|
|
/// Event for when the intersecting Vector2i of an entity changes.
|
|
/// Not called for space (given no tiles).
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// List is empty if it's no longer intersecting any.
|
|
/// </remarks>
|
|
public sealed class TileLookupUpdateMessage : EntitySystemMessage
|
|
{
|
|
public Dictionary<GridId, List<Vector2i>>? NewIndices { get; }
|
|
|
|
public TileLookupUpdateMessage(Dictionary<GridId, List<Vector2i>>? indices)
|
|
{
|
|
NewIndices = indices;
|
|
}
|
|
}
|
|
} |