Skip to content

FileWriter

Class in Engine · Engine.FileWriter · native

Object › Actor › Info › FileWriter

Subclasses: FileLog

Using it from Lua
h7.find_all("FileWriter")            -- live instances
h7.find_class("Engine.FileWriter")   -- the class
h7.hook("Engine.FileWriter.CloseFile", fn)

Enums

FWFileType

FWFT_Log = 0, FWFT_Stats = 1, FWFT_HTML = 2, FWFT_User = 3, FWFT_Debug = 4

Properties

NameTypeNotes
ArchivePtrpointerconst, native
bFlushEachWritebool
bWantsAsyncWritesbool
Filenamestringconst
FileTypeFWFileTypeconst

Functions

NameDeclaration
CloseFilefinal native function CloseFile()
Destroyedevent Destroyed()
Logffinal native function Logf(coerce string logString)
OpenFilefinal native function bool OpenFile(coerce string InFilename, optional FWFileType InFileType, optional string InExtension, optional bool bUnique, optional bool bIncludeTimeStamp)

Default values

bFlushEachWrite=true
bTickIsDisabled=true

Inherited

FromMembers
Info0 properties, 0 functions
Actor156 properties, 262 functions
Object13 properties, 308 functions