// jesus christ, this is duplicated to server/client, should really just be shared.. private void OnSlipAttemptEvent(EntityUid uid, ClientInventoryComponent component, SlipAttemptEvent args) { if (component.TryGetSlot(EquipmentSlotDefines.Slots.SHOES, out EntityUid shoes)) { RaiseLocalEvent(shoes, args, false); } }
private void OnRefreshMovespeed(EntityUid uid, ClientInventoryComponent component, RefreshMovementSpeedModifiersEvent args) { foreach (var(_, ent) in component.AllSlots) { if (ent != default) { RaiseLocalEvent(ent, args, false); } } }
protected InventoryInterfaceController(ClientInventoryComponent owner) { Owner = owner; }