Better item construction

This commit is contained in:
Clyybber
2020-06-06 10:40:53 +02:00
parent 5d2282231f
commit 2995981b5e
4 changed files with 84 additions and 7 deletions

View File

@@ -114,6 +114,12 @@ namespace Content.Client.GameObjects.Components.Construction
SendNetworkMessage(msg);
}
public void TryStartItemConstruction(string prototypeName)
{
var msg = new TryStartItemConstructionMessage(prototypeName);
SendNetworkMessage(msg);
}
public void ClearGhost(int ghostId)
{
if (Ghosts.TryGetValue(ghostId, out var ghost))