FNetBitWriter

Consider adding UE_NET_TRACE_ENABLE to build config, for now we use the UE_TRACE_ENABLED as NetTrace is not support unless tracing is enabled.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/CoreNet.h

Include

#include "UObject/CoreNet.h"

Syntax

class FNetBitWriter : public FBitWriter

Remarks

FNetBitWriter A bit writer that serializes FNames and UObject* through a network packagemap.

Variables

Name Description

Public variable

UPackageMap ...

 

PackageMap

Constructors

Name Description

Public function

FNetBitWriter()

Public function

FNetBitWriter

(
    int64 InMaxBits
)

Public function

FNetBitWriter

(
    UPackageMap* InPackageMap,
    int64 InMaxBits
)

Overridden from FBitWriter

Name Description

Public function Virtual Const

void

 

CountMemory

(
    FArchive& Ar
)

Counts the in-memory bytes used by this object

Operators

Name Description

Public function Virtual

FArchive &

 

operator<<

(
    FName& Value
)

Serializes an FName value from or into this archive.

Public function Virtual

FArchive &

 

operator<<

(
    UObject*& Value
)

Serializes an UObject value from or into this archive.

Public function Virtual

FArchive &

 

operator<<

(
    FSoftObjectPath& Value
)

Serializes soft object paths from or into this archive.

Public function Virtual

FArchive &

 

operator<<

(
    FSoftObjectPtr& Value
)

Serializes asset pointer from or into this archive.

Public function Virtual

FArchive &

 

operator<<

(
    FObjectPtr& Value
)

Serializes a wrapped object pointer value from or into this archive.

Public function Virtual

FArchive &

 

operator<<

(
    FWeakObjectPtr& Value
)

Serializes FWeakObjectPtr value from or into this archive.