private bool CanMoveItemsFrom(BaseEntity entity, Item item) { StorageContainer storageContainer = entity as StorageContainer; if (storageContainer && !storageContainer.CanMoveFrom(base.baseEntity, item)) { return(false); } return(true); }
private bool CanMoveItemsFrom(BaseEntity entity, Item item) { StorageContainer storageContainer = entity as StorageContainer; return(!Object.op_Implicit((Object)storageContainer) || storageContainer.CanMoveFrom(this.baseEntity, item)); }