mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-06-17 04:04:21 +00:00
feat: implement a bunch of basic scripts that don't really do anything
None of these do anything noticeable or break anything
This commit is contained in:
8
dScripts/02_server/DLU/RegisterWithZoneControl.cpp
Normal file
8
dScripts/02_server/DLU/RegisterWithZoneControl.cpp
Normal file
@@ -0,0 +1,8 @@
|
||||
#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());
|
||||
}
|
||||
Reference in New Issue
Block a user