|
ecsnet
|
Defines the NetworkedEntity component used for network replication. More...
#include <stdint.h>#include <string.h>#include "ecs.h"

Go to the source code of this file.
Classes | |
| struct | networked_entity_t |
| Component representing network identity and interest groups. More... | |
Typedefs | |
| typedef uint32_t | interest_mask_t |
| Bitmask type for representing interest groups (up to 32 groups). | |
Variables | |
| ECSNET_API component_t | COMPONENT_NETWORKED_ENTITY |
| Global component ID for NetworkedEntity. Defined in ecs_builtin.c. Used by the ECS to identify this component type. | |
Defines the NetworkedEntity component used for network replication.
Each entity that should be replicated across the network includes this component. It stores a globally unique network_id assigned by the server and a bitmask of interest_groups which determines which clients should receive updates for this entity.