From 68fe280544f981cb2c3d7288345851da22240cb3 Mon Sep 17 00:00:00 2001 From: Qiuzhizhe <42761326+quizhizhe@users.noreply.github.com> Date: Fri, 17 Mar 2023 22:30:48 -0700 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=A8`Explosion`=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LiteLoader/include/llapi/mc/Explosion.hpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/LiteLoader/include/llapi/mc/Explosion.hpp b/LiteLoader/include/llapi/mc/Explosion.hpp index 6082a27..8255456 100644 --- a/LiteLoader/include/llapi/mc/Explosion.hpp +++ b/LiteLoader/include/llapi/mc/Explosion.hpp @@ -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 mToBlow; + bool mFire; + bool mBreaking; + bool mAllowUnderwater; + Actor *mSource; + BlockSource *mRegion; + float mMaxResistance; + std::optional mInWaterOverride; + char mRandom[64]; #undef AFTER_EXTRA #ifndef DISABLE_CONSTRUCTOR_PREVENTION_EXPLOSION