2022-06-16 21:33:18 +00:00
|
|
|
#pragma once
|
|
|
|
/**
|
|
|
|
* @file PlayerActorBase.h
|
|
|
|
* @brief base class for PlayerActor
|
|
|
|
* Vtable loc: 1D77980
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "PlayerHackKeeper.h"
|
|
|
|
#include "al/LiveActor/LiveActor.h"
|
2022-08-10 21:11:52 +00:00
|
|
|
#include "game/Interfaces/IUsePlayerCollision.h"
|
2022-06-16 21:33:18 +00:00
|
|
|
#include "game/Interfaces/IUsePlayerHack.h"
|
2022-08-10 21:11:52 +00:00
|
|
|
#include "game/Player/PlayerCollider.h"
|
|
|
|
#include "game/Player/PlayerInfo.h"
|
|
|
|
#include "game/Player/PlayerInitInfo.h"
|
|
|
|
#include "game/Player/PlayerPuppet.h"
|
2022-06-16 21:33:18 +00:00
|
|
|
|
2022-08-10 21:11:52 +00:00
|
|
|
class PlayerActorBase : public al::LiveActor, public IUsePlayerHack {
|
2022-06-16 21:33:18 +00:00
|
|
|
public:
|
2022-08-10 21:11:52 +00:00
|
|
|
PlayerActorBase(char const*);
|
|
|
|
|
|
|
|
virtual void movement(void) override;
|
|
|
|
virtual void init(al::ActorInitInfo const&) override;
|
|
|
|
virtual void initPlayer(al::ActorInitInfo const&, PlayerInitInfo const&);
|
|
|
|
virtual int getPortNo(void);
|
|
|
|
virtual sead::Matrix34f *getViewMtx(void) const;
|
|
|
|
virtual IUsePlayerCollision* getPlayerCollision(void) const;
|
2022-09-04 09:23:02 +00:00
|
|
|
virtual PlayerHackKeeper* getPlayerHackKeeper() const override;
|
2022-08-10 21:11:52 +00:00
|
|
|
|
|
|
|
virtual bool isEnableDemo(void);
|
|
|
|
virtual void startDemo(void);
|
|
|
|
virtual void endDemo(void);
|
|
|
|
|
|
|
|
virtual void startDemoPuppetable(void);
|
|
|
|
virtual void endDemoPuppetable(void);
|
|
|
|
|
|
|
|
virtual void startDemoShineGet(void);
|
|
|
|
virtual void endDemoShineGet(void);
|
|
|
|
|
|
|
|
virtual void startDemoMainShineGet(void);
|
|
|
|
virtual void endDemoMainShineGet(void);
|
|
|
|
|
|
|
|
virtual void startDemoHack(void);
|
|
|
|
virtual void endDemoHack(void);
|
|
|
|
|
|
|
|
virtual void startDemoKeepBind(void);
|
|
|
|
virtual void noticeDemoKeepBindExecute(void);
|
|
|
|
virtual void endDemoKeepBind(void);
|
|
|
|
|
|
|
|
virtual void startDemoKeepCarry(void);
|
|
|
|
virtual void endDemoKeepCarry(void);
|
|
|
|
|
|
|
|
virtual void getDemoActor(void);
|
|
|
|
virtual void getDemoAnimator(void);
|
|
|
|
|
|
|
|
virtual bool isDamageStopDemo(void) const;
|
|
|
|
|
|
|
|
virtual PlayerPuppet *getPlayerPuppet(void);
|
|
|
|
virtual PlayerInfo *getPlayerInfo(void) const;
|
|
|
|
|
|
|
|
virtual bool checkDeathArea(void);
|
|
|
|
virtual void sendCollisionMsg(void);
|
|
|
|
|
|
|
|
virtual bool receivePushMsg(al::SensorMsg const*,al::HitSensor *,al::HitSensor *,float);
|
|
|
|
|
|
|
|
sead::Matrix34f* mViewMtx; // 0x110
|
|
|
|
int mPortNo; // 0x118
|
2022-06-16 21:33:18 +00:00
|
|
|
};
|