mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-03 04:23:39 +00:00
补全Explosion
类
This commit is contained in:
parent
1d9372749e
commit
68fe280544
@ -6,10 +6,24 @@
|
|||||||
#define BEFORE_EXTRA
|
#define BEFORE_EXTRA
|
||||||
|
|
||||||
#undef BEFORE_EXTRA
|
#undef BEFORE_EXTRA
|
||||||
|
class Actor;
|
||||||
|
class BlockSource;
|
||||||
|
|
||||||
class Explosion {
|
class Explosion {
|
||||||
|
|
||||||
#define AFTER_EXTRA
|
#define AFTER_EXTRA
|
||||||
|
public:
|
||||||
|
Vec3 mPos;
|
||||||
|
float mRadius;
|
||||||
|
std::unordered_set<BlockPos> mToBlow;
|
||||||
|
bool mFire;
|
||||||
|
bool mBreaking;
|
||||||
|
bool mAllowUnderwater;
|
||||||
|
Actor *mSource;
|
||||||
|
BlockSource *mRegion;
|
||||||
|
float mMaxResistance;
|
||||||
|
std::optional<bool> mInWaterOverride;
|
||||||
|
char mRandom[64];
|
||||||
|
|
||||||
#undef AFTER_EXTRA
|
#undef AFTER_EXTRA
|
||||||
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EXPLOSION
|
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EXPLOSION
|
||||||
|
Loading…
Reference in New Issue
Block a user