Separate ghost warp message into two (#3310)
* Separate ghost warp message into two * Remove redundant arguments * Address reviews * Move properties up
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.GameObjects.Components.Observer
|
||||
{
|
||||
[Serializable, NetSerializable]
|
||||
public class GhostWarpToTargetRequestMessage : ComponentMessage
|
||||
{
|
||||
public EntityUid Target { get; }
|
||||
|
||||
public GhostWarpToTargetRequestMessage(EntityUid target)
|
||||
{
|
||||
Target = target;
|
||||
Directed = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user