76 string path =
"video\\*";
99 ButtonWidget entryButton = ButtonWidget.Cast(entry.GetChildren());
100 entryButton.
SetText(entryName);
101 entryButton.SetUserID(333);
128 TimeConversions.ConvertSecondsToFullTime(time / 1000, timeData);
139 return super.OnChange(w,
x,
y, finished);
174 else if (w.GetUserID() == 333)
177 ButtonWidget.Cast(w).GetText(
name);
182 return super.OnClick(w,
x,
y, button);
226 child = child.GetSibling();
237 #ifdef PLATFORM_WINDOWS
241 path =
"/app0/video/";
244 path =
"G:\\video\\";
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
override ScriptCallQueue GetCallQueue(int call_category)
proto native WorkspaceWidget GetWorkspace()
int m_Days int m_Hours int m_Minutes int m_Seconds string FormatedAsTimestamp()
struct that keeps Time relevant information for future formatting
proto void Remove(func fn)
remove specific call from queue
proto void CallLater(func fn, int delay=0, bool repeat=false, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
adds call into the queue with given parameters and arguments (arguments are held in memory until the ...
proto native CGame GetGame()
proto void Print(void var)
Prints content of variable to console/log.
proto native void CloseFindFile(FindFileHandle handle)
enum FindFileFlags FindFile(string pattern, out string fileName, out FileAttr fileAttributes, FindFileFlags flags)
proto bool FindNextFile(FindFileHandle handle, out string fileName, out FileAttr fileAttributes)