Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
Loading...
Searching...
No Matches
IEventPublisher.hpp
Go to the documentation of this file.
1
8#ifndef RTYPE_EVENT_SESSION_HPP_
9 #define RTYPE_EVENT_SESSION_HPP_
10
13
18namespace rtp::net
19{
27 public:
31 virtual ~IEventPublisher() = default;
32
37 virtual void publishEvent(NetworkEvent event) = 0;
38 };
39} // namespace rtp::net
40
41#endif /* !RTYPE_NETWORK_SESSION_HPP_ */
Network packet implementation for R-Type protocol.
Interface for network event handling.
virtual ~IEventPublisher()=default
Virtual default destructor.
virtual void publishEvent(NetworkEvent event)=0
Get buffer sequence for network transmission.
File : IEventPublisher.hpp License: MIT Author : Elias Josué HAJJAR LLAUQUEN elias-josue....
Represents a network event containing session ID and packet data.
Definition INetwork.hpp:34