Skip to content

Commit 4d13d53

Browse files
committed
actor/Actor: Add more getters
1 parent b045c44 commit 4d13d53

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

actor/Actor.h

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,12 @@ class Actor : public ActorBase // vtbl Address: 0x10000268
196196
{
197197
mDirection = dir;
198198
}
199-
199+
200+
u8 getLayer() const
201+
{
202+
return mLayer;
203+
}
204+
200205
f32 getSpeedF() const
201206
{
202207
return mSpeedF;
@@ -352,6 +357,16 @@ class Actor : public ActorBase // vtbl Address: 0x10000268
352357
return CarryFlag(mCarryFlag);
353358
}
354359

360+
u8 getSwitchFlag0() const
361+
{
362+
return mSwitchFlag0;
363+
}
364+
365+
u8 getSwitchFlag1() const
366+
{
367+
return mSwitchFlag1;
368+
}
369+
355370
u32 getProfFlag() const
356371
{
357372
return mProfFlag;

0 commit comments

Comments
 (0)