Isle
Loading...
Searching...
No Matches
jetski.h
Go to the documentation of this file.
1#ifndef JETSKI_H
2#define JETSKI_H
3
4#include "decomp.h"
5#include "islepathactor.h"
6
8
19class Jetski : public IslePathActor {
20public:
22 Jetski(); // [AI]
23
26 const char* ClassName() const override // vtable+0x0c
27 {
28 // STRING: LEGO1 0x100f03d8
29 return "Jetski";
30 }
31
35 MxBool IsA(const char* p_name) const override // vtable+0x10
36 {
37 return !strcmp(p_name, Jetski::ClassName()) || IslePathActor::IsA(p_name);
38 }
39
43 MxResult Create(MxDSAction& p_dsAction) override; // vtable+0x18
44
47 void Animate(float p_time) override; // vtable+0x70
48
52 MxLong HandleClick() override; // vtable+0xcc
53
59
61 void Exit() override; // vtable+0xe4
62
64 void ActivateSceneActions(); // [AI]
65
68 MxS16 GetUnknown0x160() { return m_jetskiDashboardStreamId; } // [AI_SUGGESTED_NAME: GetDashboardStreamId] [AI]
69
70 // SYNTHETIC: LEGO1 0x1007e5c0
71 // Jetski::`scalar deleting destructor'
72
73private:
75 void RemoveFromWorld(); // [AI]
76
79 MxS16 m_jetskiDashboardStreamId; // 0x160 [AI]
80};
81
82#endif // JETSKI_H
Derived path actor type for handling player transitions and activities on LEGO Island.
Definition: islepathactor.h:23
MxBool IsA(const char *p_name) const override
[AI] Checks if class or any superclass matches the given type string.
[AI] Represents the jetski vehicle placed in the 3D world of LEGO Island.
Definition: jetski.h:19
MxLong HandleControl(LegoControlManagerNotificationParam &) override
[AI] Handles control notifications from the LegoControlManager (e.g., UI element actions,...
Definition: jetski.cpp:138
void ActivateSceneActions()
[AI] Activates scene-specific scripted actions, such as music or camera animations,...
Definition: jetski.cpp:160
Jetski()
[AI] Constructs a Jetski instance, initializing velocity and control parameters.
Definition: jetski.cpp:33
const char * ClassName() const override
[AI] Gets the class name string for runtime type checking and serialization.
Definition: jetski.h:26
MxResult Create(MxDSAction &p_dsAction) override
[AI] Creates and initializes the Jetski by adding it to the current world, initializing variables,...
Definition: jetski.cpp:41
MxS16 GetUnknown0x160()
[AI] Gets the current jetski dashboard stream ID, used to select/activate the dashboard/overlay for r...
Definition: jetski.h:68
MxBool IsA(const char *p_name) const override
[AI] Checks if this object is of type "Jetski" or a parent class by name.
Definition: jetski.h:35
MxLong HandleClick() override
[AI] Handles when the player clicks or interacts with the jetski.
Definition: jetski.cpp:81
void Exit() override
[AI] Handles jetski exit logic for the player, including hand-off to other actors,...
Definition: jetski.cpp:68
void Animate(float p_time) override
[AI] Updates jetski state for the current animation frame, including world speed, dashboard,...
Definition: jetski.cpp:55
[AI] Notification parameter for the LegoControlManager, used to propagate information about control e...
[AI] Represents an action deserialized from SI chunks, holding key animation or script parameters suc...
Definition: mxdsaction.h:17
#define override
Definition: compat.h:21
MxU8 MxBool
[AI]
Definition: mxtypes.h:124
MxLong MxResult
[AI]
Definition: mxtypes.h:106
int MxLong
[AI]
Definition: mxtypes.h:83
signed short MxS16
[AI]
Definition: mxtypes.h:26