Files
DarkflameServer/dScripts/02_server/DLU/RegisterWithZoneControl.cpp
David Markowitz 79bb48d3bc feat: implement a bunch of basic scripts that don't really do anything (#1999)
* feat: implement a bunch of basic scripts that don't really do anything

None of these do anything noticeable or break anything

* fixes
2026-06-16 09:49:30 -05:00

13 lines
362 B
C++

#include "RegisterWithZoneControl.h"
#include "Entity.h"
#include "EntityManager.h"
#include "GameMessages.h"
void RegisterWithZoneControl::OnStartup(Entity* self) {
GameMessages::ObjectLoaded objLoaded;
objLoaded.objectID = self->GetObjectID();
objLoaded.lot = self->GetLOT();
objLoaded.Send(Game::entityManager->GetZoneControlEntity()->GetObjectID());
}