mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-23 16:21:15 +00:00
Act2PoliceStation::Notify
This commit is contained in:
parent
2147be19de
commit
881961ae78
@ -1,11 +1,20 @@
|
||||
#include "act2policestation.h"
|
||||
|
||||
#include "legoworld.h"
|
||||
#include "misc.h"
|
||||
#include "mxmisc.h"
|
||||
#include "mxnotificationmanager.h"
|
||||
#include "mxnotificationparam.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(Act2PoliceStation, 0x68)
|
||||
|
||||
// STUB: LEGO1 0x1004e0e0
|
||||
// FUNCTION: LEGO1 0x1004e0e0
|
||||
MxLong Act2PoliceStation::Notify(MxParam& p_param)
|
||||
{
|
||||
// TODO
|
||||
if (((MxNotificationParam&) p_param).GetType() == c_notificationClick) {
|
||||
NotificationManager()->Send(CurrentWorld(), MxNotificationParam(c_notificationType23, NULL));
|
||||
return 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return -1;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user