Files
tbd-station-14/Content.Client/Materials/UI/MaterialStorageUIController.cs
Nemanja 2b01899d63 Make the material ejection control completely generic (#23308)
* Finish decoupling material ejection from lathes

* commented
2023-12-31 23:16:25 -08:00

13 lines
416 B
C#

using Content.Shared.Materials;
using Robust.Client.UserInterface.Controllers;
namespace Content.Client.Materials.UI;
public sealed class MaterialStorageUIController : UIController
{
public void SendLatheEjectMessage(EntityUid uid, string material, int sheetsToEject)
{
EntityManager.RaisePredictiveEvent(new EjectMaterialMessage(EntityManager.GetNetEntity(uid), material, sheetsToEject));
}
}