AE
Client
Server
Methods
table GetLogs(number fromId)
number NewLogId()
boolean IsClientApp()
boolean IsServerApp()
boolean IsStudioApp()
boolean OnServer()
boolean OnClient()
number GetDebugTime()
number GetDisplayScale()
table GetSafeArea()
table GetDisplayUsableArea()
CommandLine GetCommandLine()
Returns the CommandLine (engine command-line arguments).
string GetScript(string fileName)
table GetVersion()
table GetFolders()
System GetSystem()
System GetHostSystem()
Device GetDevice()
boolean IsDebuggerPresent()
number GetLogTime(string name)
Reads an engine profiler timer's last-frame value in seconds (multiply by 1e6 for µs to match the "Profiling On Server" window's Duration column). Pass a timer name discovered via GetLogTimers, e.g. AE:GetLogTime("SUF/Server - Update"). Single reads fluctuate frame-to-frame — sample over several frames and average/take percentiles.
table GetLogTimers(string namePrefix)
Lists all engine profiler timer names under a prefix — use it to discover what's measurable, then call GetLogTime on each. AE:GetLogTimers("") returns everything; AE:GetLogTimers("NEW/") filters by prefix. Common prefixes: SUF/ (server update-frame labels shown in the Profiling window, with SUF/Frame as the total frame timer) and NEW/ (independent C++ subsystem probes that may overlap SUF/).