HPL3/Amnesia: Rebirth/Scripting/Scripting Api/cSystem
< HPL3 | Amnesia: Rebirth | Scripting | Scripting Api
Jump to navigation
Jump to search
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Contents
- 1 Summary
- 2 Function Detail
- 2.1 cSystem_CloneFile
- 2.2 cSystem_CopyTextToClipboard
- 2.3 cSystem_CreateFolder
- 2.4 cSystem_FileCreationDate
- 2.5 cSystem_FileExists
- 2.6 cSystem_FileModifiedDate
- 2.7 cSystem_FindFilesInDir
- 2.8 cSystem_FindFoldersInDir
- 2.9 cSystem_FolderExists
- 2.10 cSystem_GetApplicationTime
- 2.11 cSystem_GetAvailableVideoDrivers
- 2.12 cSystem_GetAvailableVideoModes
- 2.13 cSystem_GetDate
- 2.14 cSystem_GetFileSize
- 2.15 cSystem_GetFullFilePath
- 2.16 cSystem_GetPlatform
- 2.17 cSystem_GetPlatformName
- 2.18 cSystem_GetSystemAvailableDrives
- 2.19 cSystem_GetSystemSpecialPath
- 2.20 cSystem_GetWorkingDir
- 2.21 cSystem_HasWindowFocus
- 2.22 cSystem_LoadTextFromClipboard
- 2.23 cSystem_ProfileEnd
- 2.24 cSystem_ProfileStart
- 2.25 cSystem_RemoveFile
- 2.26 cSystem_RemoveFolder
- 2.27 cSystem_Sleep
- 2.28 cSystem_Wrapper_CreateMessageBox
Summary
Return Type | Function and Description |
---|---|
bool | cSystem_CloneFile(const tWString &in asSrcFileName, const tWString &in asDestFileName, bool abFailIfExists) |
void | cSystem_CopyTextToClipboard(const tWString &in asText) |
bool | cSystem_CreateFolder(const tWString &in asPath) |
cDate | cSystem_FileCreationDate(const tWString &in asFilePath) |
bool | cSystem_FileExists(const tWString &in asFileName) |
cDate | cSystem_FileModifiedDate(const tWString &in asFilePath) |
void | cSystem_FindFilesInDir(array<tWString> &inout avStrings, const tWString &in asDir, const tWString &in asMask, bool abAddHidden) |
void | cSystem_FindFoldersInDir(array<tWString> &inout avtStrings, const tWString &in asDir, bool abAddHidden, bool abAddUpFolder) |
bool | cSystem_FolderExists(const tWString &in asPath) |
uint | cSystem_GetApplicationTime() |
void | cSystem_GetAvailableVideoDrivers(array<tString> &inout avDrivers) |
void | cSystem_GetAvailableVideoModes(array<cVector2l> &inout avScreenSizes, array<int> &inout avBpps, array<int> &inout avMinRefreshRates, int alMinBpp, int alMinRefreshRate, bool abRemoveDuplicates) |
cDate | cSystem_GetDate() |
uint | cSystem_GetFileSize(const tWString &in asFileName) |
tWString | cSystem_GetFullFilePath(const tWString &in asFilePath) |
ePlatform | cSystem_GetPlatform() |
tString | cSystem_GetPlatformName() |
uint | cSystem_GetSystemAvailableDrives() |
tWString | cSystem_GetSystemSpecialPath(eSystemPath aPathType) |
tWString | cSystem_GetWorkingDir() |
bool | cSystem_HasWindowFocus(const tWString &in asWindowCaption) |
tWString | cSystem_LoadTextFromClipboard() |
void | cSystem_ProfileEnd(const tString &in asName) |
void | cSystem_ProfileStart(const tString &in asName) |
void | cSystem_RemoveFile(const tWString &in asFileName) |
bool | cSystem_RemoveFolder(const tWString &in asPath, bool abDeleteAllFiles, bool abDeleteAllSubFolders) |
void | cSystem_Sleep(uint alMilliSecs) |
void | cSystem_Wrapper_CreateMessageBox(eMsgBoxType aType, const tWString &in asCaption, const tWString &in asMessage) |
Function Detail
cSystem_CloneFile
cSystem_CopyTextToClipboard
void cSystem_CopyTextToClipboard(const tWString &in asText)
Parameters
- asText (tWString) —
Returns:
- void
cSystem_CreateFolder
cSystem_FileCreationDate
cDate cSystem_FileCreationDate(const tWString &in asFilePath)
Parameters
- asFilePath (tWString) —
Returns:
- cDate—
cSystem_FileExists
bool cSystem_FileExists(const tWString &in asFileName)
Parameters
- asFileName (tWString) —
Returns:
- bool—
cSystem_FileModifiedDate
cDate cSystem_FileModifiedDate(const tWString &in asFilePath)
Parameters
- asFilePath (tWString) —
Returns:
- cDate—
cSystem_FindFilesInDir
cSystem_FindFoldersInDir
cSystem_FolderExists
cSystem_GetApplicationTime
uint cSystem_GetApplicationTime()
Returns:
- uint—
cSystem_GetAvailableVideoDrivers
void cSystem_GetAvailableVideoDrivers(tString &inout avDrivers)
Parameters
- avDrivers (tString) —
Returns:
- void
cSystem_GetAvailableVideoModes
void cSystem_GetAvailableVideoModes(cVector2l &inout avScreenSizes,
int &inout avBpps,
int &inout avMinRefreshRates,
int alMinBpp,
int alMinRefreshRate,
bool abRemoveDuplicates)
Parameters
- avScreenSizes (cVector2l) —
- avBpps (int) —
- avMinRefreshRates (int) —
- alMinBpp (int) —
- alMinRefreshRate (int) —
- abRemoveDuplicates (bool) —
Returns:
- void
cSystem_GetDate
cDate cSystem_GetDate()
Returns:
- cDate—
cSystem_GetFileSize
uint cSystem_GetFileSize(const tWString &in asFileName)
Parameters
- asFileName (tWString) —
Returns:
- uint—
cSystem_GetFullFilePath
tWString cSystem_GetFullFilePath(const tWString &in asFilePath)
Parameters
- asFilePath (tWString) —
Returns:
- tWString—
cSystem_GetPlatform
ePlatform cSystem_GetPlatform()
Returns:
- ePlatform—
cSystem_GetPlatformName
const tString& cSystem_GetPlatformName()
Returns:
- const tString&—
cSystem_GetSystemAvailableDrives
uint cSystem_GetSystemAvailableDrives()
Returns:
- uint—
cSystem_GetSystemSpecialPath
tWString cSystem_GetSystemSpecialPath(eSystemPath aPathType)
Parameters
- aPathType (eSystemPath) —
Returns:
- tWString—
cSystem_GetWorkingDir
tWString cSystem_GetWorkingDir()
Returns:
- tWString—
cSystem_HasWindowFocus
bool cSystem_HasWindowFocus(const tWString &in asWindowCaption)
Parameters
- asWindowCaption (tWString) —
Returns:
- bool—
cSystem_LoadTextFromClipboard
tWString cSystem_LoadTextFromClipboard()
Returns:
- tWString—
cSystem_ProfileEnd
cSystem_ProfileStart
cSystem_RemoveFile
void cSystem_RemoveFile(const tWString &in asFileName)
Parameters
- asFileName (tWString) —
Returns:
- void
cSystem_RemoveFolder
bool cSystem_RemoveFolder(const tWString &in asPath,
bool abDeleteAllFiles,
bool abDeleteAllSubFolders)
Parameters
- asPath (tWString) —
- abDeleteAllFiles (bool) —
- abDeleteAllSubFolders (bool) —
Returns:
- bool—
cSystem_Sleep
void cSystem_Sleep(uint alMilliSecs)
Parameters
- alMilliSecs (uint) —
Returns:
- void
cSystem_Wrapper_CreateMessageBox
void cSystem_Wrapper_CreateMessageBox(eMsgBoxType aType,
const tWString &in asCaption,
const tWString &in asMessage)
Parameters
- aType (eMsgBoxType) —
- asCaption (tWString) —
- asMessage (tWString) —
Returns:
- void