UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UObjectMigrationContext.h File Reference

Go to the source code of this file.

Classes

struct  FUObjectMigrationContext
 
struct  FScopedObjectMigrationContext
 

Macros

#define UE_API   COREUOBJECT_API
 

Enumerations

enum class  EObjectMigrationSide : uint8 { Receive , Send }
 
enum class  EObjectMigrationRecvType : uint8 { Invalid , Borrowed , ReturnedLoan , AssignedOwnership }
 
enum class  EObjectMigrationSendType : uint8 {
  Invalid , Loan , ReturnBorrowed , ReassignBorrowed ,
  ReassignOwnership
}
 

Functions

UE_API const TCHARToString (EObjectMigrationRecvType Value)
 
UE_API const TCHARToString (EObjectMigrationSendType Value)
 

Macro Definition Documentation

◆ UE_API

#define UE_API   COREUOBJECT_API

Enumeration Type Documentation

◆ EObjectMigrationRecvType

Possible types of migration that have happened when you have received an Object

Enumerator
Invalid 
Borrowed 

Received an object without changing ownership (implies it will be sent back to the server that owns it eventually)

ReturnedLoan 

We are receiving an Object we have previously loaned-out (we already own it)

AssignedOwnership 

We received objects and must take ownership of the them (we have no choice)

◆ EObjectMigrationSendType

Possible types of migration that are happening when you are sending an Object

Enumerator
Invalid 
Loan 

Loaned-out an object while retaining ownership (implies we want this back, we still own it)

ReturnBorrowed 

This borrowed object is being returned (sent back) to the server that loaned it out

ReassignBorrowed 

This borrowed object is being forwarded to another server which requested it (it should be returned to the owner, not us)

ReassignOwnership 

Reassign objects to relinquish ownership and assign them to the destination server

◆ EObjectMigrationSide

Which side of the migration are we on?

Enumerator
Receive 

We are receiving (migrating-in) an object

Send 

We are sending (migrating-out) an object

Function Documentation

◆ ToString() [1/2]

UE_API const TCHAR * ToString ( EObjectMigrationRecvType  Value)

◆ ToString() [2/2]

UE_API const TCHAR * ToString ( EObjectMigrationSendType  Value)