ezEngine  Release 25.03
ezOSFile::EventData Struct Reference

The data that is sent through the event interface. More...

#include <OSFile.h>

Public Attributes

EventType::Enum m_EventType = EventType::None
 The type of information that is sent.
 
ezInt32 m_iFileID = 0
 A unique ID for each file access. Reads and writes to the same open file use the same ID. If the same file is opened multiple times, different IDs are used.
 
ezStringView m_sFile
 The name of the file that was operated upon.
 
ezStringView m_sFile2
 If a second file was operated upon (FileCopy), that is the second file name.
 
ezFileOpenMode::Enum m_FileMode = ezFileOpenMode::None
 Mode that a file has been opened in.
 
bool m_bSuccess = true
 Whether the operation succeeded (reading, writing, etc.)
 
ezTime m_Duration
 How long the operation took.
 
ezUInt64 m_uiBytesAccessed = 0
 How many bytes were transfered (reading, writing)
 

Detailed Description

The data that is sent through the event interface.


The documentation for this struct was generated from the following file: