Enum naia_shared::EntityActionType [−][src]
#[repr(u8)]
pub enum EntityActionType {
UpdateComponent,
RemoveComponent,
SpawnEntity,
DespawnEntity,
OwnEntity,
DisownEntity,
InsertComponent,
Unknown,
}
Expand description
Enum used as a shared network protocol, representing various message types related to Entities/Components
Variants
Action indicating a Replica to be updated
Action indicating a Replica to be deleted
Action indicating an Entity to be created
Action indicating an Entity to be deleted
Action indicating an Entity to be assigned
Action indicating an Entity to be unassigned
Action indicating a Component to be added to an Entity
Unknown / Undefined message, should always be last variant in this list
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EntityActionType
impl Send for EntityActionType
impl Sync for EntityActionType
impl Unpin for EntityActionType
impl UnwindSafe for EntityActionType
Blanket Implementations
Mutably borrows from an owned value. Read more