FNetDeltaSerializeInfo This is the parameter structure for delta serialization. 更多...
#include <CoreNet.h>
Public 属性 | |
| bool | bCalledPreNetReceive = false |
| Whether or not PreNetReceive has been called on the owning object. | |
| bool | bGuidListsChanged = false |
| Whether or not we changed Guid / Object references. 更多... | |
| bool | bInternalAck = false |
| Whether or the connection is completely reliable. 更多... | |
| bool | bIsWritingOnClient = false |
| Whether or not we're sending / writing data from the client. | |
| bool | bOutHasMoreUnmapped = false |
| Whether or not there are still some outstanding unmapped objects referenced by the struct. | |
| bool | bOutSomeObjectsWereMapped = false |
| If true, then we successfully mapped some unmapped objects. | |
| bool | bSupportsFastArrayDeltaStructSerialization = false |
| Whether or not we support FFastArraySerializer::FastArrayDeltaSerialize_DeltaSerializeStructs | |
| bool | bUpdateUnmappedObjects = false |
| If true, we are updating unmapped objects | |
| class UNetConnection * | Connection = nullptr |
| Connection that we're currently serializing data for. | |
| void * | Data = nullptr |
| Pointer to the struct that we're serializing. | |
| TSet< FNetworkGUID > * | GatherGuidReferences = nullptr |
| When non-null, this indicates that we're gathering Guid References. 更多... | |
| class UPackageMap * | Map = nullptr |
| PackageMap that can be used to serialize objects and track Guid References. 更多... | |
| const FNetworkGUID * | MoveGuidToUnmapped = nullptr |
| When non-null, this indicates the given Guid has become unmapped and any references to it should be updated. | |
| INetSerializeCB * | NetSerializeCB = nullptr |
| Pointer to a NetSerializeCB implementation that can be used when serializing. | |
| TSharedPtr< INetDeltaBaseState > * | NewState = nullptr |
| SharedPtr to new base state created by NetDeltaSerialize. 更多... | |
| UObject * | Object = nullptr |
| The object that owns the struct we're serializing. | |
| INetDeltaBaseState * | OldState = nullptr |
| Pointer to the previous base state. 更多... | |
| FBitReader * | Reader = nullptr |
| Used when reading | |
| class UStruct * | Struct = nullptr |
| Type of struct that we're serializing. | |
| int32 * | TrackedGuidMemoryBytes = nullptr |
| When we're gathering guid references, ny memory used to track Guids can be added to this. 更多... | |
| FBitWriter * | Writer = nullptr |
| Used when writing | |
FNetDeltaSerializeInfo This is the parameter structure for delta serialization.
It is kind of a dumping ground for anything custom implementations may need.
| bool FNetDeltaSerializeInfo::bGuidListsChanged = false |
Whether or not we changed Guid / Object references.
Used when reading.
| bool FNetDeltaSerializeInfo::bInternalAck = false |
Whether or the connection is completely reliable.
We cache this off separate from UNetConnection so we can limit usage.
| TSet<FNetworkGUID>* FNetDeltaSerializeInfo::GatherGuidReferences = nullptr |
When non-null, this indicates that we're gathering Guid References.
Any Guids the struct is referencing should be added. This may contain gathered Guids from other structs, so do not clear this set.
| class UPackageMap* FNetDeltaSerializeInfo::Map = nullptr |
PackageMap that can be used to serialize objects and track Guid References.
Used primarily when reading.
| TSharedPtr<INetDeltaBaseState>* FNetDeltaSerializeInfo::NewState = nullptr |
SharedPtr to new base state created by NetDeltaSerialize.
Used when writing.
| INetDeltaBaseState* FNetDeltaSerializeInfo::OldState = nullptr |
Pointer to the previous base state.
Used when writing.
| int32* FNetDeltaSerializeInfo::TrackedGuidMemoryBytes = nullptr |
When we're gathering guid references, ny memory used to track Guids can be added to this.
This may be tracking Guid memory from other structs, so do not reset this. Note, this is not guaranteed to be valid when GatherGuidReferences is.