Skip to content

Commit

Permalink
添加ActorDamageCause
Browse files Browse the repository at this point in the history
  • Loading branch information
Yushu2606 authored Apr 30, 2022
1 parent 14455df commit 2c153f4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions LiteLoader/Header/MC/Types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ class BoundingBox
return {(bpos1.x + bpos2.x) / 2, (bpos1.y + bpos2.y) / 2, (bpos1.z + bpos2.z) / 2};
}

// ignored with /clr
#ifndef _M_CEE
LIAPI AABB toAABB() const;
#endif // !_M_CEE
};

template <typename A, typename T>
Expand Down Expand Up @@ -803,6 +806,9 @@ enum class ActorDamageCause : int
Lightning = 0x18,
Charging = 0x19,
Temperature = 0x1A,
Freeze = 0x1B,
Stalactite = 0x1C,
Stalagmite = 0x1D,
All = 0x1F,
None = -0x01,
};
Expand Down

0 comments on commit 2c153f4

Please sign in to comment.