UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IoDispatcherInternal.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4#include "IO/IoDispatcher.h"
5#include "IO/IoChunkId.h"
6
7// This header is used for IoDispatcher functionality we don't want to expose outside of the engine
8
10{
11public:
12 static bool HasPackageData()
13 {
14 // Checking for the global script objects chunk is currently the best means
15 // to know if the IoDispatcher will be loading packaged data
16 const FIoDispatcher& Dispatcher = FIoDispatcher::Get();
19 }
20};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
FIoChunkId CreateIoChunkId(uint64 ChunkId, uint16 ChunkIndex, EIoChunkType IoChunkType)
Definition IoChunkId.h:160
Definition IoDispatcherInternal.h:10
static bool HasPackageData()
Definition IoDispatcherInternal.h:12
Definition IoDispatcher.h:350
CORE_API bool DoesChunkExist(const FIoChunkId &ChunkId) const
Definition IoDispatcher.cpp:1007
static CORE_API FIoDispatcher & Get()
Definition IoDispatcher.cpp:1072