Skip to content

Commit 1513a39

Browse files
Yoshi: getPlayerRideOn
Co-authored-by: Lightnight1 <27lumi@protonmail.com>
1 parent 9755d60 commit 1513a39

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

player/Yoshi.h

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
11
#pragma once
22

33
#include <player/PlayerBase.h>
4+
#include <player/PlayerObject.h>
45

5-
class Yoshi : public PlayerBase
6+
class Yoshi : public PlayerBase // vtbl Address: 0x10171B28
67
{
8+
// getRuntimeTypeInfoStatic()::typeInfo initialization guard variable Address: 0x101E9ECC
9+
// getRuntimeTypeInfoStatic()::typeInfo Address: 0x101E9ED0
710
SEAD_RTTI_OVERRIDE(Yoshi, PlayerBase)
811

912
public:
1013
// ...
1114
bool setDamage(Actor* actor, DamageType type) override;
1215
// ...
16+
17+
/**
18+
* @brief Returns the player which is riding the Yoshi, or @c nullptr if there is none.
19+
* @par Address 0x0296B3C4
20+
*/
21+
PlayerObject* getPlayerRideOn() const;
22+
23+
// ...
1324
};

0 commit comments

Comments
 (0)