New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
AttentionMgr.h
Go to the documentation of this file.
1#pragma once
2
3#include <actor/AttentionLookat.h>
4
5#include <container/seadOffsetList.h>
6
7class ActorBase;
8
9// vtbl Address: 0x10001364
11{
12 // createInstance() Address: 0x0200CC0C
13 // deleteInstance() Address: Deleted
14 // sInstance Address: 0x101C30E8
15 // SingletonDisposer_::~SingletonDisposer_() Address: 0x0200CE60
16 // SingletonDisposer_::sStaticDisposer Address: 0x101C30EC
17 // SingletonDisposer_::vtbl Address: 0x10001354
19
20public:
21 // Address: 0x0200CB88
23
24 virtual ~AttentionMgr()
25 {
26 }
27
28 // Address: 0x0200CC8C
29 void entry(const AttentionLookat& lookat);
30 // Address: 0x0200CCD0
31 void release(const AttentionLookat& lookat);
32
33 // Address: 0x0200CD2C
34 const AttentionLookat* search(const ActorBase& actor_self, const sead::Vector2f& pos_self);
35
36protected:
38
39 /**
40 * @brief Square of maximum possible value of all max-distances (square of 32 blocks = 262144 sq units)
41 * @par Address: 0x10001350
42 */
43 static const f32 cMaxDistanceSqMax;
44 // Address: 0x101C30D8
46};
47static_assert(sizeof(AttentionMgr) == 0x24);
Base interface class for all actors in the game. Lifecycle is handled by ActorMgr.
Definition ActorBase.h:18
Definition AttentionMgr.h:11
static f32 sMaxDistanceSq[AttentionLookat::cDistance_Num]
Definition AttentionMgr.h:45
static const f32 cMaxDistanceSqMax
Square of maximum possible value of all max-distances (square of 32 blocks = 262144 sq units)
Definition AttentionMgr.h:43
const AttentionLookat * search(const ActorBase &actor_self, const sead::Vector2f &pos_self)
void release(const AttentionLookat &lookat)
void entry(const AttentionLookat &lookat)
virtual ~AttentionMgr()
Definition AttentionMgr.h:24
sead::OffsetList< AttentionLookat > mLookatList
Definition AttentionMgr.h:37