User Tools

Site Tools


ientitypacketcollectionloadingservice

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
ientitypacketcollectionloadingservice [2026/08/15 08:37] – divinerientitypacketcollectionloadingservice [2026/08/15 08:37] (current) – diviner
Line 8: Line 8:
 === Methods === === Methods ===
 ^Method | Task **LoadEntityPacketCollection**([[Chunk]] chunk, [[EntityPacketCollection]] entityPacketCollection, bool containsEncodedPackets, CancellationToken cancellationToken) | ^Method | Task **LoadEntityPacketCollection**([[Chunk]] chunk, [[EntityPacketCollection]] entityPacketCollection, bool containsEncodedPackets, CancellationToken cancellationToken) |
-^Description | Loads all valid serialized [[IEntity|Entities]] from the supplied [[EntityPacketCollection]] into the specified [[Chunk]]. Progress is broadcast during loading according to the configured loading frequency. The containsEncodedPackets boolean is used to instruct how the [[Entity]] packets deserialize. Packet encoding reduces save file size by storing a packet's type as an integer instead of serializing its Type as a string value, but adding new packets can break the indexing and corrupt the save file. An [[EntityPacketCollection]] must deserialize with the same encoding setting it was serialized with. |+^Description | Loads all valid serialized [[IEntity|Entities]] from the supplied [[EntityPacketCollection]] into the specified [[Chunk]]. Progress is broadcast during loading according to the configured loading frequency. The containsEncodedPackets boolean is used to instruct how the [[IEntity]] packets deserialize. Packet encoding reduces save file size by storing a packet's type as an integer instead of serializing its Type as a string value, but adding new packets can break the indexing and corrupt the save file. An [[EntityPacketCollection]] must deserialize with the same encoding setting it was serialized with. |
ientitypacketcollectionloadingservice.1786783023.txt.gz · Last modified: by diviner

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki