* Update RobustToolbox * Transition direct type usages * More updates * Fix invalid use of to map * Update RobustToolbox * Fix dropping items * Rename name usages of "GridCoordinates" to "EntityCoordinates" * Revert "Update RobustToolbox" This reverts commit 9f334a17c5908ded0043a63158bb671e4aa3f346. * Revert "Update RobustToolbox" This reverts commit 3a9c8cfa3606fa501aa84407796d2ad920853a09. # Conflicts: # RobustToolbox * Fix cursed IMapGrid method usage. * GridTileLookupTest now uses EntityCoordinates Co-authored-by: Víctor Aguilera Puerto <6766154+Zumorica@users.noreply.github.com> Co-authored-by: Víctor Aguilera Puerto <zddm@outlook.es>
49 lines
864 B
C#
49 lines
864 B
C#
using System;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Map;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.GameObjects.Components.Movement
|
|
{
|
|
public enum ItemTeleporterState
|
|
{
|
|
Off,
|
|
Charging,
|
|
On,
|
|
Cooldown,
|
|
}
|
|
|
|
public enum TeleporterType
|
|
{
|
|
Directed,
|
|
Random,
|
|
Beacon,
|
|
}
|
|
|
|
[NetSerializable]
|
|
[Serializable]
|
|
public enum TeleporterVisuals
|
|
{
|
|
VisualState,
|
|
}
|
|
|
|
[NetSerializable]
|
|
[Serializable]
|
|
public enum TeleporterVisualState
|
|
{
|
|
Ready,
|
|
Charging,
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public class TeleportMessage : ComponentMessage
|
|
{
|
|
public readonly EntityCoordinates Target;
|
|
|
|
public TeleportMessage(EntityCoordinates target)
|
|
{
|
|
Target = target;
|
|
}
|
|
}
|
|
}
|