implement BuildingEntity functions (#617)

* implement BuildingEntity functions

* fix build

* Update infocenterentity.h
This commit is contained in:
Misha
2024-03-02 17:11:03 -05:00
committed by GitHub
parent de5cd98b76
commit a6cf0b5856
8 changed files with 31 additions and 6 deletions

View File

@@ -1,21 +1,26 @@
#include "buildingentity.h"
// STUB: LEGO1 0x10014e20
#include "legoomni.h"
#include "mxnotificationmanager.h"
// FUNCTION: LEGO1 0x10014e20
BuildingEntity::BuildingEntity()
{
// TODO
NotificationManager()->Register(this);
}
// STUB: LEGO1 0x10015030
// FUNCTION: LEGO1 0x10015030
BuildingEntity::~BuildingEntity()
{
// TODO
NotificationManager()->Unregister(this);
}
// STUB: LEGO1 0x100150a0
// FUNCTION: LEGO1 0x100150a0
MxLong BuildingEntity::Notify(MxParam& p_param)
{
// TODO
if (((MxNotificationParam&) p_param).GetType() == c_notificationType11) {
return VTable0x50(p_param);
}
return 0;
}