Skip to content

EntropyEngine::Networking::PropertyHash

128-bit property hash for per-instance property identification More…

#include <PropertyHash.h>

Name
booloperator==(const PropertyHash & other) const
booloperator<(const PropertyHash & other) const
booloperator!=(const PropertyHash & other) const
boolisNull() const
Check if hash is null/uninitialized.
PropertyHash() =default
PropertyHash(uint64_t h, uint64_t l)
Name
uint64_tlow
Low 64 bits of hash.
uint64_thigh
High 64 bits of hash.
struct EntropyEngine::Networking::PropertyHash;

128-bit property hash for per-instance property identification

Uniquely identifies a property on a specific entity instance. Computed using SHA-256(entityId || componentType || propertyName) truncated to 128 bits.

The hash is computed ONCE on property creation and provides per-instance uniqueness at ecosystem scale. Each property on each entity has a unique hash.

Example: Entity 42’s Transform.position has a different hash than Entity 99’s Transform.position.

inline bool operator==(
const PropertyHash & other
) const
inline bool operator<(
const PropertyHash & other
) const
inline bool operator!=(
const PropertyHash & other
) const
inline bool isNull() const

Check if hash is null/uninitialized.

Return: true if both components are zero

PropertyHash() =default
inline PropertyHash(
uint64_t h,
uint64_t l
)
uint64_t low {0};

Low 64 bits of hash.

uint64_t high {0};

High 64 bits of hash.


Updated on 2026-01-26 at 17:14:35 -0500