LeviLamina
Loading...
Searching...
No Matches
CollisionShapes.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/BlockPos.h"
7
8// auto generated forward declare list
9// clang-format off
10class AABB;
11class Block;
12// clang-format on
13
15public:
16 // CollisionShapes inner types declare
17 // clang-format off
18 struct BlockAndBlockPos;
19 // clang-format on
20
21 // CollisionShapes inner types define
23 public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<8, 8, ::Block const*> mBlock;
27 ::ll::TypedStorage<4, 12, ::BlockPos> mBlockPos;
28 // NOLINTEND
29 };
30
31public:
32 // member variables
33 // NOLINTBEGIN
34 ::ll::TypedStorage<8, 24, ::std::vector<::AABB>> mShapes;
35 ::ll::TypedStorage<8, 24, ::std::vector<::CollisionShapes::BlockAndBlockPos>> mBlocks;
36 ::ll::TypedStorage<1, 1, bool> mNearUnloadedChunk;
37 // NOLINTEND
38
39public:
40 // prevent constructor by default
42
43public:
44 // member functions
45 // NOLINTBEGIN
47
48 MCAPI ::std::pair<::BlockPos, ::Block const*> getBlockPosCurrentlyStandingOn(::AABB box) const;
49
50 MCAPI ::CollisionShapes& operator=(::CollisionShapes const&);
51
52 MCAPI ::CollisionShapes& operator=(::CollisionShapes&&);
53
54 MCAPI ~CollisionShapes();
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
60 MCAPI void* $ctor(::CollisionShapes const&);
61 // NOLINTEND
62
63public:
64 // destructor thunk
65 // NOLINTBEGIN
66 MCFOLD void $dtor();
67 // NOLINTEND
68};
Definition AABB.h:18
Definition Block.h:37
Definition CollisionShapes.h:22
Definition CollisionShapes.h:14