Skip to content

v0.9.0

Choose a tag to compare

@Segfaultd Segfaultd released this 08 Jun 10:36
· 24 commits to master since this release

Core

  • Strong-typed PeerGuid (#25). A new enum class PeerGuid : uint64_t names a peer's RakNetGUID value distinctly from NetworkID (an object id), so the two can no longer be passed interchangeably in a uint64_t-typed signature — removing a class of silent "passed the wrong id" bugs in ReplicaManager3 glue and void(uint64_t) callbacks.
    • Convert with MafiaNet::ToPeerGuid() / MafiaNet::ToGuid(); compare against the UNASSIGNED_PEER_GUID sentinel.
    • As a trivially-copyable 8-byte scoped enum it serializes byte-identically through BitStream (and therefore VariableDeltaSerializer) to the raw uint64_t it replaces — fully wire-compatible, no netcode/protocol bump.
    • Purely additive; no behavioural change.

Full Changelog: v0.8.0...v0.9.0