1#include "Game/Demo/DemoCastGroupHolder.hpp"
3DemoCastGroupHolder::DemoCastGroupHolder() :
NameObjGroup(
"デモ関係者グループ保持", 0x20) {
8 for (s32 i = 0; i < mObjectCount; i++) {
9 bool ret =
reinterpret_cast<DemoCastGroup*
>(mObjects[i])->tryRegisterDemoActor(pActor, rIter, rInfo);
19bool DemoCastGroupHolder::tryRegisterDemoActor(
LiveActor *pActor,
const char *pName,
const JMapInfoIter &rIter)
const {
20 for (s32 i = 0; i < mObjectCount; i++) {
21 bool ret =
reinterpret_cast<DemoCastGroup*
>(mObjects[i])->tryRegisterDemoActor(pActor, pName, rIter);
31DemoCastGroup* DemoCastGroupHolder::getCastGroup(
int index)
const {
35DemoCastGroup* DemoCastGroupHolder::findCastGroup(
const char *pName)
const {
36 for (s32 i = 0; i < mObjectCount; i++) {
38 if (MR::isName(mObjects[i], pName)) {
46DemoCastGroupHolder::~DemoCastGroupHolder() {
The basis of a drawable actor that can contain states (see: Nerve)
Class that can contain multiple NameObj instances stored in a group.
The most basic form of an object.