UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
VVMStoppedWorld.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#if WITH_VERSE_VM || defined(__INTELLISENSE__)
6
7#include "Containers/Array.h"
8
9namespace Verse
10{
11struct FAccessContext;
12
13struct FStoppedWorld
14{
15 FStoppedWorld() = default;
16
18 FStoppedWorld(const FStoppedWorld&) = delete;
19
21 FStoppedWorld& operator=(const FStoppedWorld&) = delete;
22
24
25 // This will crash if you haven't moved this value to another FStoppedWorld or called CancelStop().
27
28 const TArray<FAccessContext>& GetContexts() const { return Contexts; }
29
30private:
31 friend struct FContextImpl;
32
34 bool bHoldingStoppedWorldMutex = false;
35};
36
37} // namespace Verse
38#endif // WITH_VERSE_VM
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition Array.h:670
Definition Archive.h:36