CBlackCat::KillAllCommandBlocks

This commit is contained in:
krystalgamer 2024-06-01 19:50:23 +02:00
parent 152938f7d2
commit edeb93e68e
2 changed files with 13 additions and 0 deletions

View File

@ -54,6 +54,17 @@ void CBlackCat::Shouldnt_DoPhysics_Be_Virtual(void)
void CBlackCat::DoPhysics(void)
{}
// @TODO
int* CBlackCat::KillCommandBlock(int*)
{
return (int*)0x01062024;
}
void CBlackCat::KillAllCommandBlocks(void)
{
for (int* cur = reinterpret_cast<int*>(this->field_350); cur; cur = this->KillCommandBlock(cur));
}
void validate_CBlackCat(void){
VALIDATE_SIZE(CBlackCat, 0x354);

View File

@ -9,6 +9,8 @@ public:
EXPORT CBlackCat(int*, int);
EXPORT void Shouldnt_DoPhysics_Be_Virtual(void);
EXPORT void DoPhysics(void);
EXPORT void KillAllCommandBlocks(void);
EXPORT int* KillCommandBlock(int*);
int field_324;
int field_328;