mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-06-17 12:14:21 +00:00
fixes
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user