From d29285ad78f0899d585b833ddae93e543f630836 Mon Sep 17 00:00:00 2001 From: Joshua Peisach Date: Fri, 6 Oct 2023 10:46:02 -0400 Subject: [PATCH] BuildingEntity: start constructor/destructor --- LEGO1/buildingentity.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/LEGO1/buildingentity.cpp b/LEGO1/buildingentity.cpp index b4611955..87fcf6ae 100644 --- a/LEGO1/buildingentity.cpp +++ b/LEGO1/buildingentity.cpp @@ -1,13 +1,15 @@ #include "buildingentity.h" -// OFFSET: LEGO1 0x10014e20 STUB +#include "mxomni.h" + +// OFFSET: LEGO1 0x10014e20 BuildingEntity::BuildingEntity() { - // TODO + NotificationManager()->Register(this); } -// OFFSET: LEGO1 0x10015030 STUB +// OFFSET: LEGO1 0x10015030 BuildingEntity::~BuildingEntity() { - // TODO + NotificationManager()->Unregister(this); }