2023-06-29 04:10:08 -04:00
|
|
|
#include "buildingentity.h"
|
|
|
|
|
2024-03-02 17:11:03 -05:00
|
|
|
#include "legoomni.h"
|
|
|
|
#include "mxnotificationmanager.h"
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x10014e20
|
2023-06-29 04:10:08 -04:00
|
|
|
BuildingEntity::BuildingEntity()
|
|
|
|
{
|
2024-03-02 17:11:03 -05:00
|
|
|
NotificationManager()->Register(this);
|
2023-06-29 04:10:08 -04:00
|
|
|
}
|
|
|
|
|
2024-03-02 17:11:03 -05:00
|
|
|
// FUNCTION: LEGO1 0x10015030
|
2023-06-29 04:10:08 -04:00
|
|
|
BuildingEntity::~BuildingEntity()
|
|
|
|
{
|
2024-03-02 17:11:03 -05:00
|
|
|
NotificationManager()->Unregister(this);
|
2023-06-29 04:10:08 -04:00
|
|
|
}
|
2024-01-18 20:24:15 -05:00
|
|
|
|
2024-03-02 17:11:03 -05:00
|
|
|
// FUNCTION: LEGO1 0x100150a0
|
2024-01-18 20:24:15 -05:00
|
|
|
MxLong BuildingEntity::Notify(MxParam& p_param)
|
|
|
|
{
|
2024-03-02 17:11:03 -05:00
|
|
|
if (((MxNotificationParam&) p_param).GetType() == c_notificationType11) {
|
|
|
|
return VTable0x50(p_param);
|
|
|
|
}
|
2024-01-18 20:24:15 -05:00
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|