File PacketSender.hpp¶
-
struct NetworkIdentifierWithSubId¶
-
class PacketSender : private Bedrock::EnableNonOwnerReferences¶
Subclassed by LoopbackPacketSender
Public Functions
-
virtual ~PacketSender() = default¶
-
virtual void sendToClient(const UserEntityIdentifierComponent *userIdentifier, const Packet &packet) = 0¶
-
virtual void sendToClient(const NetworkIdentifier &id, const Packet &packet, SubClientId subid) = 0¶
-
virtual void sendToClients(const std::vector<NetworkIdentifierWithSubId> &ids, const Packet &packet) = 0¶
-
virtual void sendBroadcast(const NetworkIdentifier &exceptId, SubClientId exceptSubid, const Packet &packet) = 0¶
Public Members
-
SubClientId mSenderSubId¶
-
virtual ~PacketSender() = default¶