s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
jams
Workshop
Steam
open_in_new
Steam Workshop
Assets
view_in_ar
Models
texture
Materials
apparel
Clothing
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Classes
FileSystemBrowserSource
chevron_left
Classes
class
FileSystemBrowserSource
Constructors
functions
FileSystemBrowserSource
Properties
data_object
RootName
Methods
functions
GetDetails
functions
GetFiles
functions
GetFolders
FileSystemBrowserSource
Browses a game filesystem such as FileSystem.Mounted or FileSystem.Data.
class
Sandbox.UI
.
sealed
Sandbox.Engine
build
Constructors
1
FileSystemBrowserSource
(
fileSystem
,
rootName
)
Uses the supplied filesystem for folder listings and file searches.
data_object
Properties
1
RootName
string
Name shown at the top of the folder tree and breadcrumbs.
functions
Methods
3
GetDetails
(
path
,
isFolder
)
ValueTuple`2
Reads details on demand. A folder has no file size.
GetFiles
(
folder
,
recursive
)
IEnumerable`1
Gets files from this folder, optionally including its descendants.
GetFolders
(
folder
)
IEnumerable`1
Gets the folders directly beneath the given path.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.