Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest > API/Plugins/NetcodeUnitTest/Net
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPackageMap
- UPackageMapClient
- UUnitTestPackageMap
References
| Module | NetcodeUnitTest |
| Header | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/Net/UnitTestPackageMap.h |
| Include | #include "Net/UnitTestPackageMap.h" |
Syntax
UCLASS&40;Transient&41;
class UUnitTestPackageMap : public UPackageMapClient
Remarks
Package map override, for blocking the creation of actor channels for specific actors (by detecting the actor class being created)
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bPendingArchetypeSpawn | Whether or not SerializeNewActor is about to spawn an actor, from an archetype | |
| bool | bWithinSerializeNewActor | Whether or not we are currently within execution of SerializeNewActor | |
| TObjectPtr< UMinimalClient > | MinClient | Cached reference to the minimal client that owns this package map | |
| FOnSerializeName | OnSerializeName | Delegate for hooking SerializeName | |
| TMap< UObject *, UObject * > | ReplaceObjects | Map of objects to watch and replace, in SerializeObject |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UUnitTestPackageMap
(
const FObjectInitializer& ObjectInitializer |
UUnitTestPackageMap |
Overridden from UPackageMap
| Type | Name | Description | |
|---|---|---|---|
| bool | SerializeName
(
FArchive& Ar, |
||
| bool | SerializeNewActor
(
FArchive& Ar, |
Standard method of serializing a new actor. | |
| bool | SerializeObject
(
FArchive& Ar, |
This is the meat of the PackageMap class which serializes a reference to Object. |