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:
@@ -40,19 +40,6 @@ namespace Content.Shared.GameObjects.Components.Observer
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public class GhostWarpRequestMessage : ComponentMessage
|
||||
{
|
||||
public EntityUid PlayerTarget;
|
||||
public string WarpName;
|
||||
public GhostWarpRequestMessage(EntityUid playerTarget = default, string warpTarget = default)
|
||||
{
|
||||
WarpName = warpTarget;
|
||||
PlayerTarget = playerTarget;
|
||||
Directed = true;
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public class GhostRequestWarpPointData : ComponentMessage
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user