mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-06-16 19:54:23 +00:00
9 lines
288 B
C++
9 lines
288 B
C++
#include "RegisterWithZoneControl.h"
|
|
|
|
void RegisterWithZoneControl::OnStartup(Entity* self) {
|
|
GameMessages::ObjectLoaded objLoaded;
|
|
objLoaded.objectID = self->GetObjectID();
|
|
objLoaded.lot = self->GetLOT();
|
|
objLoaded.Send(Game::entityManager->GetZoneControlEntity()->GetObjectID());
|
|
}
|