s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News
jams
Workshop
Steam
open_in_newSteam Workshop
Assets
view_in_arModels textureMaterials apparelClothing
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
IFileBrowserSource
chevron_left API Reference
interface
IFileBrowserSource

Properties

data_objectRootName

Methods

functionsGetDetailsfunctionsGetFilesfunctionsGetFolders
IFileBrowserSource
Supplies slash-separated paths relative to a browser root. The empty string is the root folder.
interface Sandbox.UI .
abstractSandbox.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.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter