mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-28 08:27:22 +00:00
12 lines
442 B
C++
12 lines
442 B
C++
|
#include "NtImagimeterVisibility.h"
|
||
|
#include "GameMessages.h"
|
||
|
#include "Entity.h"
|
||
|
#include "Character.h"
|
||
|
|
||
|
void NTImagimeterVisibility::OnRebuildComplete(Entity* self, Entity* target) {
|
||
|
auto* character = target->GetCharacter();
|
||
|
if (character) character->SetPlayerFlag(ePlayerFlags::NT_PLINTH_REBUILD, true);
|
||
|
|
||
|
GameMessages::SendNotifyClientObject(self->GetObjectID(), u"PlinthBuilt", 0, 0, LWOOBJID_EMPTY, "", target->GetSystemAddress());
|
||
|
}
|