Construction graph improvements (#17960)
This commit is contained in:
committed by
GitHub
parent
fbf1d476f2
commit
9243050e1a
16
Content.Shared/Construction/IGraphTransform.cs
Normal file
16
Content.Shared/Construction/IGraphTransform.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace Content.Shared.Construction;
|
||||
|
||||
public interface IGraphTransform
|
||||
{
|
||||
public void Transform(EntityUid oldUid, EntityUid newUid, EntityUid? userUid, GraphTransformArgs args);
|
||||
}
|
||||
|
||||
public readonly struct GraphTransformArgs
|
||||
{
|
||||
public readonly IEntityManager EntityManager;
|
||||
|
||||
public GraphTransformArgs(IEntityManager entityManager)
|
||||
{
|
||||
EntityManager = entityManager;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user