1
0

MaterialStorageUIController.cs 416 B

123456789101112
  1. using Content.Shared.Materials;
  2. using Robust.Client.UserInterface.Controllers;
  3. namespace Content.Client.Materials.UI;
  4. public sealed class MaterialStorageUIController : UIController
  5. {
  6. public void SendLatheEjectMessage(EntityUid uid, string material, int sheetsToEject)
  7. {
  8. EntityManager.RaisePredictiveEvent(new EjectMaterialMessage(EntityManager.GetNetEntity(uid), material, sheetsToEject));
  9. }
  10. }