Author Topic: LoadBricksGUI  (Read 462 times)

So I was being curious and starting looking at how the LoadBricksGUI worked. I found the name of the list where all the possible maps to load are, which is "LoadBricks_FileList". I use the command:
Code: [Select]
echo(LoadBricks_FileList.getRowTextByID(LoadBricks_FileList.getSelectedID())); to see the data stored in the file list and found:

"C.T.F. Battle Grounds^1/2/12 - 16:07:15^01120102160715"

I expected to see the file path of the selected save in one of the fields, but the third field was that long number. Does anyone know what that is exactly? And how does the save locate the .bls file when you hit load? Does it just loop through the files in the map folder and check if the names match up?
« Last Edit: February 27, 2012, 02:24:48 AM by Jardev »

That's what is displayed in the row of text on the GUI control.
The ^'s are tabs.

He's asking what field 2 is. The "01120102160715" part.

Possibly file modified date and/or time in seconds or something else. In any case I'm guessing that it's used for sorting by date, because the user-friendly representation of the last modified date isn't very good for sorting.