Difference between revisions of "ObjectType:system"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
== Members ==
 
== Members ==
*[[DataType:string|string]] '''OS''':  Operating system identifier (e.g. Microsoft Windows XP)
+
*[[ObjectType:string|string]] '''OS''':  Operating system identifier (e.g. Microsoft Windows XP)
*[[DataType:int|int]] '''MemFree''': Amount of free physical system RAM, in megabytes
+
*[[ObjectType:uint|uint]] '''MemFree''': Amount of free physical system RAM, in megabytes
*[[DataType:int|int]] '''MemTotal''': Total amount of physical system RAM, in megabytes
+
*[[ObjectType:uint|uint]] '''MemTotal''': Total amount of physical system RAM, in megabytes
*[[DataType:string|string]] '''OSBuild''': Operating system build identifier (e.g. 2600.xpsp_sp2_rtm040803-2158)
+
*[[ObjectType:string|string]] '''OSBuild''': Operating system build identifier (e.g. 2600.xpsp_sp2_rtm040803-2158)
*[[DataType:int|int]] '''GetProcAddress['''module''','''function''']''': Retrieves the address of an exported function, usually in a DLL. (Level of understanding: High)
+
*[[ObjectType:uint|uint]] '''GetProcAddress['''module''','''function''']''': Retrieves the address of an exported function, usually in a DLL. (Level of understanding: High)
*[[DataType:int|int]] '''TickCount''': A timestamp given in milliseconds.  This value does "wrap" every 46 days or so.
+
*[[ObjectType:uint|uint]] '''TickCount''': A timestamp given in milliseconds.  This value does "wrap" every 46 days or so.
*[[DataType:filepath|filepath]] '''CurrentDirectory''': Current directory according to the operating system
+
*[[ObjectType:filepath|filepath]] '''CurrentDirectory''': Current directory according to the operating system
 +
*[[ObjectType:uint|uint]] '''APICall[]''': This needs to be documented
  
 
== Methods ==
 
== Methods ==
 +
*'''APICall[]''': This needs to be documented
  
 
== Returns ==
 
== Returns ==

Revision as of 14:25, 7 April 2006

Description

Members

  • string OS: Operating system identifier (e.g. Microsoft Windows XP)
  • uint MemFree: Amount of free physical system RAM, in megabytes
  • uint MemTotal: Total amount of physical system RAM, in megabytes
  • string OSBuild: Operating system build identifier (e.g. 2600.xpsp_sp2_rtm040803-2158)
  • uint GetProcAddress[module,function]: Retrieves the address of an exported function, usually in a DLL. (Level of understanding: High)
  • uint TickCount: A timestamp given in milliseconds. This value does "wrap" every 46 days or so.
  • filepath CurrentDirectory: Current directory according to the operating system
  • uint APICall[]: This needs to be documented

Methods

  • APICall[]: This needs to be documented

Returns

Same as OS

Examples

Display system type

echo ${System}

Output
Microsoft Windows XP

Create a HUD element displaying memory information

HUD -add Memory 1,1 MemoryUsage:${System.MemFree}/${System.MemTotal} MB


Operates On

none

See Also