mirror of
https://github.com/zeldaret/botw
synced 2026-08-22 22:35:49 -04:00
Match Actor::getCharacterController
This commit is contained in:
@@ -92268,7 +92268,7 @@ Address,Quality,Size,Name
|
||||
0x00000071011d77b0,U,000920,Actor::onEnterDelete
|
||||
0x00000071011d7b48,U,000092,Actor::preSleep
|
||||
0x00000071011d7ba4,U,000092,Actor::preWakeUp
|
||||
0x00000071011d7c00,U,000024,_ZN4ksys3act5Actor22getCharacterControllerEv
|
||||
0x00000071011d7c00,O,000024,_ZN4ksys3act5Actor22getCharacterControllerEv
|
||||
0x00000071011d7c18,U,000056,Actor::getPhysicsMainBody
|
||||
0x00000071011d7c50,U,000024,Actor::m45
|
||||
0x00000071011d7c68,U,000444,Actor::updateMtxFromPhysics
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -3,6 +3,7 @@
|
||||
#include "KingSystem/ActorSystem/actAiRoot.h"
|
||||
#include "KingSystem/ActorSystem/actBaseProcLink.h"
|
||||
#include "KingSystem/ActorSystem/actBaseProcMgr.h"
|
||||
#include "KingSystem/Physics/System/physInstanceSet.h"
|
||||
|
||||
namespace ksys::act {
|
||||
|
||||
@@ -81,4 +82,10 @@ int Actor::handleMessage(const Message& message) {
|
||||
}
|
||||
}
|
||||
|
||||
phys::CharacterController* Actor::getCharacterController() {
|
||||
if (!mPhysics)
|
||||
return nullptr;
|
||||
return mPhysics->getCharacterController();
|
||||
}
|
||||
|
||||
} // namespace ksys::act
|
||||
|
||||
@@ -58,6 +58,7 @@ public:
|
||||
|
||||
const sead::SafeString& getName() const { return mName; }
|
||||
const ParamSet* getParamSet() const { return mParamSet; }
|
||||
CharacterController* getCharacterController() const { return mCharacterController; }
|
||||
|
||||
void setFlag2();
|
||||
void clothVisibleStuff();
|
||||
|
||||
Reference in New Issue
Block a user