Add ActorDamageCause::getCause

This commit is contained in:
Qiuzhizhe 2022-10-27 10:32:19 +08:00
parent 94650b042d
commit f409348f4d
No known key found for this signature in database
GPG Key ID: 4EF4BF5521540263

View File

@ -57,6 +57,10 @@ public:
};
LIAPI Actor* getEntity();
inline ActorDamageCause getCause() const{
return this->mCause;
};
#undef AFTER_EXTRA
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORDAMAGESOURCE
public: