mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-26 15:37:20 +00:00
2abcb142ad
- Pass componentID to activity component constructor - use int componentid so -1 can denote no component
19 lines
451 B
C++
19 lines
451 B
C++
|
|
#ifndef __SCRIPTEDACTIVITYCOMPONENT__H__
|
|
#define __SCRIPTEDACTIVITYCOMPONENT__H__
|
|
|
|
#include "ActivityComponent.h"
|
|
#include "eReplicaComponentType.h"
|
|
|
|
class Entity;
|
|
|
|
class ScriptedActivityComponent : public ActivityComponent {
|
|
public:
|
|
inline static const eReplicaComponentType ComponentType = eReplicaComponentType::SCRIPTED_ACTIVITY;
|
|
ScriptedActivityComponent(Entity* parent, int32_t componentId);
|
|
};
|
|
|
|
#endif //!__SCRIPTEDACTIVITYCOMPONENT__H__
|
|
|
|
|