mirror of
https://github.com/zeldaret/botw
synced 2026-06-28 02:23:01 -04:00
ksys/act: Add Actor getDummyBaseProcLink()
This commit is contained in:
@@ -1,8 +1,17 @@
|
||||
#include "KingSystem/ActorSystem/actActor.h"
|
||||
#include "KingSystem/ActorSystem/actActorParam.h"
|
||||
#include "KingSystem/ActorSystem/actBaseProcLink.h"
|
||||
|
||||
namespace ksys::act {
|
||||
|
||||
namespace {
|
||||
BaseProcLink sDummyBaseProcLink;
|
||||
} // namespace
|
||||
|
||||
BaseProcLink& getDummyBaseProcLink() {
|
||||
return sDummyBaseProcLink;
|
||||
}
|
||||
|
||||
const sead::SafeString& Actor::getProfile() const {
|
||||
return mActorParam->getProfile();
|
||||
}
|
||||
|
||||
@@ -21,6 +21,7 @@ class RootAi;
|
||||
class LifeRecoverInfo;
|
||||
class ActorCreator;
|
||||
class ActorParam;
|
||||
class BaseProcLink;
|
||||
|
||||
class Actor : public BaseProc {
|
||||
public:
|
||||
@@ -111,6 +112,9 @@ protected:
|
||||
/* 0x7d0 */ u8 TEMP_0x7d0[0x838 - 0x7d0];
|
||||
};
|
||||
KSYS_CHECK_SIZE_NX150(Actor, 0x838);
|
||||
|
||||
BaseProcLink& getDummyBaseProcLink();
|
||||
|
||||
} // namespace act
|
||||
|
||||
} // namespace ksys
|
||||
|
||||
Reference in New Issue
Block a user