mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-13 11:41:15 +00:00
25 lines
579 B
C++
25 lines
579 B
C++
#include "act2policestation.h"
|
|
|
|
#include "legoworld.h"
|
|
#include "misc.h"
|
|
#include "mxmisc.h"
|
|
#include "mxnotificationmanager.h"
|
|
#include "mxnotificationparam.h"
|
|
|
|
DECOMP_SIZE_ASSERT(Act2PoliceStation, 0x68)
|
|
|
|
// FUNCTION: LEGO1 0x1004e0e0
|
|
// FUNCTION: BETA10 0x100137c0
|
|
MxLong Act2PoliceStation::Notify(MxParam& p_param)
|
|
{
|
|
MxNotificationParam& param = (MxNotificationParam&) p_param;
|
|
|
|
if (param.GetNotification() == c_notificationClick) {
|
|
MxNotificationParam param(c_notificationType23, NULL);
|
|
NotificationManager()->Send(CurrentWorld(), param);
|
|
return 1;
|
|
}
|
|
|
|
return 0;
|
|
}
|