UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
CoreNetTypes.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6
7#if WITH_ENGINE
8 #include "CoreNetTypes.generated.h"
9#endif
10
12#ifndef UE_NET_REPACTOR_NAME_DEBUG
13 #define UE_NET_REPACTOR_NAME_DEBUG 0
14#endif
15
16
18UENUM(BlueprintType)
20{
21 COND_None = 0 UMETA(DisplayName = "None"), // This property has no condition, and will send anytime it changes
22 COND_InitialOnly = 1 UMETA(DisplayName = "Initial Only"), // This property will only attempt to send on the initial bunch
23 COND_OwnerOnly = 2 UMETA(DisplayName = "Owner Only"), // This property will only send to the actor's owner
24 COND_SkipOwner = 3 UMETA(DisplayName = "Skip Owner"), // This property send to every connection EXCEPT the owner
25 COND_SimulatedOnly = 4 UMETA(DisplayName = "Simulated Only"), // This property will only send to simulated actors
26 COND_AutonomousOnly = 5 UMETA(DisplayName = "Autonomous Only"), // This property will only send to autonomous actors
27 COND_SimulatedOrPhysics = 6 UMETA(DisplayName = "Simulated Or Physics"), // This property will send to simulated OR bRepPhysics actors
28 COND_InitialOrOwner = 7 UMETA(DisplayName = "Initial Or Owner"), // This property will send on the initial packet, or to the actors owner
29 COND_Custom = 8 UMETA(DisplayName = "Custom"), // This property has no particular condition, but wants the ability to toggle on/off via SetCustomIsActiveOverride
30 COND_ReplayOrOwner = 9 UMETA(DisplayName = "Replay Or Owner"), // This property will only send to the replay connection, or to the actors owner
31 COND_ReplayOnly = 10 UMETA(DisplayName = "Replay Only"), // This property will only send to the replay connection
32 COND_SimulatedOnlyNoReplay = 11 UMETA(DisplayName = "Simulated Only No Replay"), // This property will send to actors only, but not to replay connections
33 COND_SimulatedOrPhysicsNoReplay = 12 UMETA(DisplayName = "Simulated Or Physics No Replay"), // This property will send to simulated Or bRepPhysics actors, but not to replay connections
34 COND_SkipReplay = 13 UMETA(DisplayName = "Skip Replay"), // This property will not send to the replay connection
35 COND_Dynamic = 14 UMETA(Hidden), // This property wants to override the condition at runtime. Defaults to always replicate until you override it to a new condition.
36 COND_Never = 15 UMETA(Hidden), // This property will never be replicated
37 COND_NetGroup = 16 UMETA(Hidden), // This subobject will replicate to connections that are part of the same group the subobject is registered to. Not usable on properties.
39};
40
41
43{
44 REPNOTIFY_OnChanged = 0, // Only call the property's RepNotify function if it changes from the local value
45 REPNOTIFY_Always = 1, // Always Call the property's RepNotify function when it is received from the server
46};
47
49{
54 TearOff,
56 /* reserved */
57 MAX = 15 // this value is used for serialization, modifying it may require a network version change
58};
59
COREUOBJECT_API const TCHAR * LexToString(const EChannelCloseReason Value)
Definition CoreNet.cpp:677
ELifetimeCondition
Definition CoreNetTypes.h:20
@ COND_Never
Definition CoreNetTypes.h:36
@ COND_OwnerOnly
Definition CoreNetTypes.h:23
@ COND_SkipOwner
Definition CoreNetTypes.h:24
@ COND_Dynamic
Definition CoreNetTypes.h:35
@ COND_Custom
Definition CoreNetTypes.h:29
@ COND_SimulatedOnly
Definition CoreNetTypes.h:25
@ COND_Max
Definition CoreNetTypes.h:38
@ COND_SkipReplay
Definition CoreNetTypes.h:34
@ COND_SimulatedOrPhysics
Definition CoreNetTypes.h:27
@ COND_NetGroup
Definition CoreNetTypes.h:37
@ COND_ReplayOrOwner
Definition CoreNetTypes.h:30
@ COND_InitialOnly
Definition CoreNetTypes.h:22
@ COND_ReplayOnly
Definition CoreNetTypes.h:31
@ COND_SimulatedOrPhysicsNoReplay
Definition CoreNetTypes.h:33
@ COND_InitialOrOwner
Definition CoreNetTypes.h:28
@ COND_AutonomousOnly
Definition CoreNetTypes.h:26
@ COND_SimulatedOnlyNoReplay
Definition CoreNetTypes.h:32
@ COND_None
Definition CoreNetTypes.h:21
ELifetimeRepNotifyCondition
Definition CoreNetTypes.h:43
@ REPNOTIFY_Always
Definition CoreNetTypes.h:45
@ REPNOTIFY_OnChanged
Definition CoreNetTypes.h:44
EChannelCloseReason
Definition CoreNetTypes.h:49
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UMETA(...)
Definition ObjectMacros.h:747
#define UENUM(...)
Definition ObjectMacros.h:749
uint8_t uint8
Definition binka_ue_file_header.h:8