40 [[nodiscard]]
static LooseFileLocation*
Create(
const char* a_prefix, std::uint32_t a_minimumAsyncPacketSize,
bool a_asyncSupported);
Definition: LocationTraverser.h:10
Definition: Location.h:17
Definition: LooseFileLocation.h:23
bool asyncSupported
Definition: LooseFileLocation.h:45
ErrorCode DoDelete(const char *a_path) override
ErrorCode DoTraversePrefix(const char *a_path, LocationTraverser &a_traverser) override
ErrorCode DoCreateAsyncStream(const char *a_path, BSTSmartPointer< AsyncStream > &a_out, Location *&a_location, bool a_readOnly) override
std::uint16_t pad1E
Definition: LooseFileLocation.h:47
BSFixedString prefix
Definition: LooseFileLocation.h:43
std::uint8_t pad1D
Definition: LooseFileLocation.h:46
std::uint32_t minimumAsyncPacketSize
Definition: LooseFileLocation.h:44
std::uint32_t DoGetMinimumAsyncPacketSize() const override
ErrorCode DoCreateStream(const char *a_path, BSTSmartPointer< Stream > &a_stream, Location *&a_location, bool a_readOnly) override
~LooseFileLocation() override
ErrorCode DoGetInfo1(const char *a_path, Info &a_info, Location *&a_location) override
const char * DoGetName() const override
ErrorCode DoGetInfo2(const char *a_path, Info &a_info, LocationTraverser *a_traverser) override
static constexpr auto RTTI
Definition: LooseFileLocation.h:25
static LooseFileLocation * Create(const char *a_prefix)
static LooseFileLocation * Create(const char *a_prefix, std::uint32_t a_minimumAsyncPacketSize, bool a_asyncSupported)
Definition: BSTSmartPointer.h:37
ErrorCode
Definition: ErrorCodes.h:8
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSResource__LooseFileLocation
Definition: Offsets_RTTI.h:2129
constexpr auto MAX_PATH
Definition: WinAPI.h:9
Definition: LooseFileLocation.h:11
WinAPI::WIN32_FIND_DATAA findData
Definition: LooseFileLocation.h:15
void * handle
Definition: LooseFileLocation.h:14
char dirPath[WinAPI::MAX_PATH]
Definition: LooseFileLocation.h:16
ErrorCode lastError
Definition: LooseFileLocation.h:17
std::uint64_t entryPos
Definition: LooseFileLocation.h:18