mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-01 19:53:41 +00:00
补全Explosion
类
This commit is contained in:
parent
1d9372749e
commit
68fe280544
@ -6,10 +6,24 @@
|
||||
#define BEFORE_EXTRA
|
||||
|
||||
#undef BEFORE_EXTRA
|
||||
class Actor;
|
||||
class BlockSource;
|
||||
|
||||
class Explosion {
|
||||
|
||||
#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
|
||||
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EXPLOSION
|
||||
|
Loading…
Reference in New Issue
Block a user