Skip to content

Sein Broker Membership Data

Struct · FSeinBrokerMembershipData : FSeinPayload

Parent: Sein Component Data

#include "Components/SeinBrokerMembershipData.h"

deterministic: safe in simulation code

Back-reference stamped on each entity when it joins a broker. Lets the dispatcher find-and-evict in O(1) instead of walking every broker in the pool. Value is invalid when the entity has no current broker.

FSeinEntityHandle CurrentBrokerHandle

Blueprint read-only

The broker this entity belongs to; invalid when it is in none.

int64 CohesionGroupId · default 0

Blueprint read-only

Per-ORDER cohesion group id. Identifies the whole selection an entity was ordered with, ACROSS the separate dispatch tracks a selection splits into — loose units land in one ephemeral broker, each group’s members keep their own group broker, so CurrentBrokerHandle alone is single-level and won’t tell a group member it was co-selected with another group (or with loose units). The command processor stamps the SAME id on every participating unit of a multi- element order so the local-avoidance cohesion skip treats them as one group (they pack instead of steering around each other); the hard floor still prevents overlap. 0 = not in any cohesion group (solo order / never grouped).

Deterministic by construction: minted from (CurrentTick, within-tick order index) during CommandProcessing, identical on every client and after a snapshot restore (the id rides this serialized component; nothing re-mints on restore).