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
IFileBrowserSource
chevron_left
API Reference
interface
IFileBrowserSource
Properties
data_object
RootName
Methods
functions
GetDetails
functions
GetFiles
functions
GetFolders
IFileBrowserSource
Supplies slash-separated paths relative to a browser root. The empty string is the root folder.
interface
Sandbox.UI
.
abstract
Sandbox.Engine
data_object
Properties
1
RootName
string
Name to display for the root folder.
functions
Methods
3
GetDetails
(
path
,
isFolder
)
ValueTuple`2
Returns the byte size and last modification time for a visible entry. Either can be unknown.
GetFiles
(
folder
,
recursive
)
IEnumerable`1
Lists files as root-relative paths. Include descendants when recursive is true.
GetFolders
(
folder
)
IEnumerable`1
Lists immediate child folders as root-relative paths.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.