mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-18 01:35:27 +00:00
feat(component): the BBB component only where the client has one
The client makes a BBB component (76) for a character (DoObjectPreLoad, LOT 1) and for registry entries (none in the CDClient), and reads it last (LWOBBBComponent::Deserialize: a metadata-source-item bit and the item). DLU wrote a placeholder 0 bit at the end of every construction; now only a character's BBBComponent writes it. Every other object sends one bit less, which the client never read (live non-player constructions decode without it; the zone control object stays byte for byte equal to live). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -283,10 +283,8 @@ namespace {
|
||||
miniGameControlComponent->Serialize(outBitStream, bIsInitialUpdate);
|
||||
}
|
||||
|
||||
// BBB Component, unused currently
|
||||
// Need to to write0 so that is serialized correctly
|
||||
// TODO: Implement BBB Component
|
||||
outBitStream.Write0();
|
||||
// The BBB component (characters): no metadata source item
|
||||
if (entity.GetLOT() == 1) outBitStream.Write0();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user