# WorkshopFileBase:Fetch

- **Ortam:** İstemci, Sunucu, Menü
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/WorkshopFileBase:Fetch
- **Çeviri tarihi:** 2025-09-08

```lua
WorkshopFileBase:Fetch( string type, number offset, number perpage, table extratags, string searchText, number filter = nil, string sort = nil )
```

## Açıklama

Belirtilen isim alanı ve tür için tüm abonelikleri getirir

> **NOT:** Eğer `local` türünü kullanmak istiyorsanız, `:FetchLocal(offset, perpage)` fonksiyonunu uygulamanız gerekir!

## Argümanlar

1. [string](https://gmod.tr/wiki/string) **type**: Aranacak tür. (`local`, `subscribed`, `subscribed_ugc`, `mine`, `favorite`)
2. [number](https://gmod.tr/wiki/number) **offset**: İlk x sonucu atlar.
3. [number](https://gmod.tr/wiki/number) **perpage**: Sayfa başına kaç sonuç döndürülmesi gerektiğini belirtir.
4. [table](https://gmod.tr/wiki/table) **extratags**: Sonuçları filtrelemek için ek etiketler.
5. [string](https://gmod.tr/wiki/string) **searchText**: Eklenti başlığında bulunması gereken metin. Hiçbir şey için boş bir dize kullanın
6. [number](https://gmod.tr/wiki/number) **filter** = nil: Sonuçlar için filtre. (`enabledonly`, `disabledonly`)
7. [string](https://gmod.tr/wiki/string) **sort** = nil: Nasıl sıralanması gerektiğini belirtir. Eğer `nil` olarak ayarlanırsa, `timeadded` değerine geri döner. (`title`, `size`, `updated`)

- [GMod Wiki ana sayfası](https://gmod.tr/wiki)

---

[Tüm sunucular](https://gmod.tr/) · [GmodTR Launcher](https://gmod.tr/launcher) · [Rehber](https://gmod.tr/rehber) · [GMod Wiki](https://gmod.tr/wiki) · [GmodTR nedir?](https://gmod.tr/hakkinda) · [Sunucu ekle](https://gmod.tr/sunucu-ekle) · [Discord](https://discord.gg/gmodtr)

Kaynak: https://gmod.tr/wiki/WorkshopFileBase:Fetch
