mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-27 07:57:21 +00:00
2abcb142ad
- Pass componentID to activity component constructor - use int componentid so -1 can denote no component
16 lines
442 B
C++
16 lines
442 B
C++
#ifndef __MINIGAMECONTROLCOMPONENT__H__
|
|
#define __MINIGAMECONTROLCOMPONENT__H__
|
|
|
|
#include "ActivityComponent.h"
|
|
#include "eReplicaComponentType.h"
|
|
|
|
class Entity;
|
|
|
|
class MinigameControlComponent : public ActivityComponent {
|
|
public:
|
|
inline static const eReplicaComponentType ComponentType = eReplicaComponentType::MINIGAME_CONTROL;
|
|
MinigameControlComponent(Entity* parent, int32_t componentId);
|
|
};
|
|
|
|
#endif //!__MINIGAMECONTROLCOMPONENT__H__
|