R-Type 0.1
Loading...
Searching...
No Matches
rtype::protocol::DestroyEntityPayload Struct Reference

Payload of a DestroyEntity message, 9 bytes, sent by the server to remove an entity from a client. More...

#include <Protocol/EntityPayload.hpp>

Public Attributes

be32 serverTick
 Server tick at sending time.
 
be32 networkId
 Identifier of the removed entity.
 
DestroyReason reason = DestroyReason::Unknown
 Why the entity is removed.
 

Detailed Description

Payload of a DestroyEntity message, 9 bytes, sent by the server to remove an entity from a client.

Offset Size Field Description
0 4 serverTick Server tick at sending time.
4 4 networkId Entity id, never 0.
8 1 reason A DestroyReason value.