LeviLamina
Loading...
Searching...
No Matches
TeleportComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Actor;
8class Vec3;
9// clang-format on
10
12public:
13 // member variables
14 // NOLINTBEGIN
15 ::ll::TypedStorage<1, 1, bool> mRandomTeleports;
16 ::ll::TypedStorage<4, 4, int> mMinTeleportTime;
17 ::ll::TypedStorage<4, 4, int> mMaxTeleportTime;
18 ::ll::TypedStorage<4, 12, ::Vec3> mRandomTeleportCube;
19 ::ll::TypedStorage<4, 4, float> mTargetDistance;
20 ::ll::TypedStorage<4, 4, float> mTargetTeleportChance;
21 ::ll::TypedStorage<4, 4, float> mLightTeleportChance;
22 ::ll::TypedStorage<4, 4, float> mDarkTeleportChance;
23 ::ll::TypedStorage<4, 4, int> mTeleportTime;
24 // NOLINTEND
25
26public:
27 // member functions
28 // NOLINTBEGIN
29 MCAPI bool randomTeleport(::Actor& owner);
30
31 MCAPI bool teleport(::Actor& owner, ::Vec3 const& pos);
32
33 MCAPI bool teleportTowards(::Actor& owner, ::Actor const& target);
34 // NOLINTEND
35};
Definition Actor.h:104
Definition TeleportComponent.h:11
Definition Vec3.h:10