LeviLamina
Loading...
Searching...
No Matches
TeamBalancer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/raknet/PI2_LostConnectionReason.h"
7#include "mc/deps/raknet/PluginInterface2.h"
8#include "mc/deps/raknet/PluginReceiveResult.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace RakNet { struct Packet; }
13namespace RakNet { struct RakNetGUID; }
14namespace RakNet { struct SystemAddress; }
15// clang-format on
16
17namespace RakNet {
18
20public:
21 // TeamBalancer inner types declare
22 // clang-format off
23 struct MyTeamMembers;
24 struct TeamMember;
25 // clang-format on
26
27 // TeamBalancer inner types define
28 enum class DefaultAssigmentAlgorithm : int {
29 SmallestTeam = 0,
30 FillInOrder = 1,
31 };
32
33 struct TeamMember {
34 public:
35 // member variables
36 // NOLINTBEGIN
41 // NOLINTEND
42
43 public:
44 // prevent constructor by default
45 TeamMember& operator=(TeamMember const&);
46 TeamMember(TeamMember const&);
47 TeamMember();
48 };
49
51 public:
52 // member variables
53 // NOLINTBEGIN
57 // NOLINTEND
58
59 public:
60 // prevent constructor by default
61 MyTeamMembers& operator=(MyTeamMembers const&);
64 };
65
66public:
67 // member variables
68 // NOLINTBEGIN
77 // NOLINTEND
78
79public:
80 // prevent constructor by default
81 TeamBalancer& operator=(TeamBalancer const&);
84
85public:
86 // virtual functions
87 // NOLINTBEGIN
88 // vIndex: 0
89 virtual ~TeamBalancer() /*override*/ = default;
90
91 // vIndex: 4
92 virtual ::RakNet::PluginReceiveResult OnReceive(::RakNet::Packet*) /*override*/;
93
94 // vIndex: 7
95 virtual void OnClosedConnection(
98 ::RakNet::PI2_LostConnectionReason
99 ) /*override*/;
100
101 // vIndex: 1
102 virtual void OnAttach() /*override*/;
103 // NOLINTEND
104
105public:
106 // destructor thunk
107 // NOLINTBEGIN
108
109 // NOLINTEND
110
111public:
112 // virtual function thunks
113 // NOLINTBEGIN
114
115 // NOLINTEND
116};
117
118} // namespace RakNet
Definition Packet.h:26
Definition PluginInterface2.h:20
Definition TeamBalancer.h:19
Definition Packet.h:7
Definition RakNetGUID.h:7
Definition SystemAddress.h:7
Definition TeamBalancer.h:50
Definition TeamBalancer.h:33
Definition Alias.h:14