This commit is contained in:
David Markowitz
2026-06-16 02:13:59 -07:00
parent 26f388eaed
commit d3ab8abb29
3 changed files with 16 additions and 4 deletions

View File

@@ -1,5 +1,9 @@
#include "RegisterWithZoneControl.h"
#include "Entity.h"
#include "EntityManager.h"
#include "GameMessages.h"
void RegisterWithZoneControl::OnStartup(Entity* self) {
GameMessages::ObjectLoaded objLoaded;
objLoaded.objectID = self->GetObjectID();

View File

@@ -1,6 +1,14 @@
// Darkflame Universe
// Copyright 2026
#ifndef REGISTERWITHZONECONTROL_H
#define REGISTERWITHZONECONTROL_H
#include "CppScripts.h"
class RegisterWithZoneControl : public CppScripts::Script {
public:
void OnStartup(Entity* self) override;
};
#endif //!REGISTERWITHZONECONTROL_H