Isle
Loading...
Searching...
No Matches
act2policestation.cpp
Go to the documentation of this file.
1#include "act2policestation.h"
2
3#include "legoworld.h"
4#include "misc.h"
5#include "mxmisc.h"
8
10
11// FUNCTION: LEGO1 0x1004e0e0
12// FUNCTION: BETA10 0x100137c0
14{
15 MxNotificationParam& param = (MxNotificationParam&) p_param;
16
17 if (param.GetNotification() == c_notificationClick) {
20 return 1;
21 }
22
23 return 0;
24}
[AI] Represents the Act 2 Police Station entity in LEGO Island.
MxResult Send(MxCore *p_listener, const MxNotificationParam &p_param)
[AI] Queues a notification to be sent to a specific registered listener.
[AI] Parameter object representing a single notification or event, carrying an identifier and sender ...
NotificationId GetNotification() const
[AI] Retrieves the current notification type of this parameter.
[AI] MxParam serves as a polymorphic base class for parameter passing in event and notification syste...
Definition: mxparam.h:7
#define DECOMP_SIZE_ASSERT(T, S)
Definition: decomp.h:19
#define NULL
[AI] Null pointer value (C/C++ semantics).
Definition: legotypes.h:26
LegoWorld * CurrentWorld()
[AI] Accessor for the currently active LegoWorld instance. [AI]
Definition: misc.cpp:93
MxNotificationManager * NotificationManager()
[AI] Returns the notification manager for system-wide state/update notifications.
Definition: mxmisc.cpp:17
@ c_notificationType23
[AI] Unspecified notification type [AI]
@ c_notificationClick
[AI] Mouse click event [AI]
int MxLong
[AI]
Definition: mxtypes.h:83