2022-06-16 21:33:18 +00:00
|
|
|
#pragma once
|
|
|
|
|
2022-08-10 21:11:52 +00:00
|
|
|
#include "game/Player/PlayerActorBase.h"
|
2022-06-16 21:33:18 +00:00
|
|
|
#include "sead/math/seadVector.h"
|
|
|
|
#include "al/scene/Scene.h"
|
|
|
|
#include "al/LiveActor/LiveActor.h"
|
|
|
|
#include "game/Player/PlayerActorHakoniwa.h"
|
|
|
|
#include "types.h"
|
|
|
|
|
|
|
|
namespace al {
|
|
|
|
|
|
|
|
class PadRumbleKeeper;
|
|
|
|
|
|
|
|
class PlayerHolder {
|
|
|
|
public:
|
|
|
|
PlayerHolder(int bufSize);
|
|
|
|
void clear(void);
|
|
|
|
void registerPlayer(al::LiveActor *, al::PadRumbleKeeper *);
|
2022-08-10 21:11:52 +00:00
|
|
|
PlayerActorBase *getPlayer(int) const;
|
|
|
|
PlayerActorBase *tryGetPlayer(int) const;
|
2022-06-16 21:33:18 +00:00
|
|
|
int getPlayerNum() const;
|
|
|
|
int getBufferSize() const {return bufferSize;};
|
|
|
|
bool isFull(void) const;
|
|
|
|
bool isExistPadRumbleKeeper(int) const;
|
|
|
|
al::PadRumbleKeeper *getPadRumbleKeeper(int) const;
|
|
|
|
|
|
|
|
undefined unkPointer[0x8];
|
|
|
|
int bufferSize;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|