Clean up all missing EntitySystem proxy method uses (#38353)
This commit is contained in:
@@ -194,12 +194,12 @@ namespace Content.Client.Inventory
|
||||
|
||||
public void UIInventoryActivate(string slot)
|
||||
{
|
||||
EntityManager.RaisePredictiveEvent(new UseSlotNetworkMessage(slot));
|
||||
RaisePredictiveEvent(new UseSlotNetworkMessage(slot));
|
||||
}
|
||||
|
||||
public void UIInventoryStorageActivate(string slot)
|
||||
{
|
||||
EntityManager.RaisePredictiveEvent(new OpenSlotStorageNetworkMessage(slot));
|
||||
RaisePredictiveEvent(new OpenSlotStorageNetworkMessage(slot));
|
||||
}
|
||||
|
||||
public void UIInventoryExamine(string slot, EntityUid uid)
|
||||
@@ -223,7 +223,7 @@ namespace Content.Client.Inventory
|
||||
if (!TryGetSlotEntity(uid, slot, out var item))
|
||||
return;
|
||||
|
||||
EntityManager.RaisePredictiveEvent(
|
||||
RaisePredictiveEvent(
|
||||
new InteractInventorySlotEvent(GetNetEntity(item.Value), altInteract: false));
|
||||
}
|
||||
|
||||
@@ -232,7 +232,7 @@ namespace Content.Client.Inventory
|
||||
if (!TryGetSlotEntity(uid, slot, out var item))
|
||||
return;
|
||||
|
||||
EntityManager.RaisePredictiveEvent(new InteractInventorySlotEvent(GetNetEntity(item.Value), altInteract: true));
|
||||
RaisePredictiveEvent(new InteractInventorySlotEvent(GetNetEntity(item.Value), altInteract: true));
|
||||
}
|
||||
|
||||
protected override void UpdateInventoryTemplate(Entity<InventoryComponent> ent)
|
||||
|
||||
Reference in New Issue
Block a user