Garry's Mod Wiki

DTree_Node:FilePopulateCallback

DTree_Node:FilePopulateCallback( table files, table folders, string foldername, string path, boolean bAndChildren, string wildcard )

Description

This is used internally - although you're able to use it you probably shouldn't.

Called automatically from DTree_Node:FilePopulate to actually fill the node with sub-nodes based on set preferences like should files be added, etc.

Arguments

1 table files
A list of files in this folder
2 table folders
A list of folder in this folder.
3 string foldername
The folder name/path this node represents
4 string path
The Path ID search was performed with. See File Search Paths
5 boolean bAndChildren
Inherited from the FilePopulate call. Does nothing
6 string wildcard
The wildcard that was given

Page Links


Special Pages


Wikis

?

Render Time: 97ms

DB GetPage 37
Generate Html 15
SaveChanges (1) 24
Render Body 0
Render Sidebar 18