Proposal for observers and deferred implementations (#1599)

This commit is contained in:
Wincent Holm
2024-11-18 01:46:08 +01:00
committed by GitHub
parent 84d7c65717
commit fedd039e00
6 changed files with 184 additions and 0 deletions

View File

@@ -7,6 +7,7 @@
#include "Entity.h"
#include "Component.h"
#include "eReplicaComponentType.h"
#include "Implementation.h"
namespace CppScripts {
class Script;
@@ -463,6 +464,9 @@ public:
// handle hardcode mode drops
void DoHardcoreModeDrops(const LWOOBJID source);
static Implementation<bool, const Entity*> IsEnemyImplentation;
static Implementation<bool, const Entity*> IsFriendImplentation;
private:
/**
* Whether or not the health should be serialized