some stuff

This commit is contained in:
2026-03-05 21:25:59 +02:00
parent 2da75ebdd8
commit 99f68e655f
41 changed files with 706 additions and 324 deletions

View File

@@ -23,6 +23,8 @@ enum EMessageType: uint32_t
MESSAGE_PLAYER_LEFT,
MESSAGE_ENTITY_CLASS_SYNC,
MESSAGE_ENTITY_DATA_SYNC,
k_EMessage_PlayerSetLocalEntity,
};
struct PlayerJoined_t
@@ -53,7 +55,7 @@ struct EntityClass_t
struct EntityDataSync_t
{
EMessageType m_eType;
CNetworkUInt32 m_uIndex;
CNetworkUInt32 m_uIndex;
CNetworkUInt32 m_uCount;
};
@@ -63,6 +65,12 @@ struct EntityDataSyncValue_t
CNetworkUInt32 m_uVariableSize;
};
struct SetLocalEntity_t
{
EMessageType m_eType;
CNetworkUInt32 m_uIndex;
};
union PlayerPacket_t
{
EMessageType m_eType;
@@ -71,6 +79,7 @@ union PlayerPacket_t
PlayerLeft_t m_playerLeft;
EntityClass_t m_entityClass;
EntityDataSync_t m_entityData;
SetLocalEntity_t m_setLocalEntity;
};
#endif