/
SpectatorComponent.h
34 lines (26 loc) · 1.03 KB
/
SpectatorComponent.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef SPECTATOR_COMPONENT_H_
#define SPECTATOR_COMPONENT_H_
#include "../backend/CBSEBackend.h"
#include "../backend/CBSEComponents.h"
class SpectatorComponent: public SpectatorComponentBase {
public:
// ///////////////////// //
// Autogenerated Members //
// ///////////////////// //
/**
* @brief Default constructor of the SpectatorComponent.
* @param entity The entity that owns the component instance.
* @param r_ClientComponent A ClientComponent instance that this component depends on.
* @param r_HealthComponent A HealthComponent instance that this component depends on.
* @note This method is an interface for autogenerated code, do not modify its signature.
*/
SpectatorComponent(Entity& entity, ClientComponent& r_ClientComponent, HealthComponent& r_HealthComponent);
/**
* @brief Handle the PrepareNetCode message.
* @note This method is an interface for autogenerated code, do not modify its signature.
*/
void HandlePrepareNetCode();
// ///////////////////// //
private:
};
#endif // SPECTATOR_COMPONENT_H_