LeviLamina
Loading...
Searching...
No Matches
ILanEventHandler.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace NetherNet::LanEvents { struct DiscoveryRequest; }
8namespace NetherNet::LanEvents { struct DiscoveryResponse; }
9namespace NetherNet::LanEvents { struct MessageReceived; }
10namespace NetherNet::LanEvents { struct MessageSent; }
11// clang-format on
12
13namespace NetherNet {
14
16public:
17 // virtual functions
18 // NOLINTBEGIN
19 virtual ~ILanEventHandler() = default;
20
21#ifdef LL_PLAT_S
22 virtual void OnLanEvent(::NetherNet::LanEvents::MessageSent const&);
23#else // LL_PLAT_C
24 virtual void OnLanEvent(::NetherNet::LanEvents::MessageSent const& event);
25#endif
26
27 virtual void OnLanEvent(::NetherNet::LanEvents::MessageReceived const& event);
28
29 virtual void OnLanEvent(::NetherNet::LanEvents::DiscoveryRequest const& event);
30
31 virtual void OnLanEvent(::NetherNet::LanEvents::DiscoveryResponse const& event);
32 // NOLINTEND
33
34public:
35 // virtual function thunks
36 // NOLINTBEGIN
38
39#ifdef LL_PLAT_C
41
43#endif
44
45
46 // NOLINTEND
47};
48
49} // namespace NetherNet
Definition ILanEventHandler.h:15
MCAPI void $OnLanEvent(::NetherNet::LanEvents::MessageSent const &)
Definition DiscoveryRequest.h:7
Definition DiscoveryResponse.h:7
Definition MessageReceived.h:7
Definition MessageSent.h:7