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
9
namespace
Verse
10
{
11
struct
FAccessContext
;
12
13
struct
FStoppedWorld
14
{
15
FStoppedWorld
() =
default
;
16
17
COREUOBJECT_API
FStoppedWorld
(
FStoppedWorld
&&);
18
FStoppedWorld
(
const
FStoppedWorld
&) =
delete
;
19
20
COREUOBJECT_API
FStoppedWorld
& operator=(
FStoppedWorld
&&);
21
FStoppedWorld
& operator=(
const
FStoppedWorld
&) =
delete
;
22
23
COREUOBJECT_API
void
CancelStop
();
24
25
// This will crash if you haven't moved this value to another FStoppedWorld or called CancelStop().
26
COREUOBJECT_API
~FStoppedWorld
();
27
28
const
TArray<FAccessContext>
&
GetContexts
()
const
{
return
Contexts; }
29
30
private
:
31
friend
struct
FContextImpl
;
32
33
TArray<FAccessContext>
Contexts;
34
bool
bHoldingStoppedWorldMutex
=
false
;
35
};
36
37
}
// namespace Verse
38
#endif
// WITH_VERSE_VM
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
TArray
Definition
Array.h:670
Verse
Definition
Archive.h:36
Engine
Source
Runtime
CoreUObject
Public
VerseVM
VVMStoppedWorld.h
Generated by
1.9.8