LeviLamina
Loading...
Searching...
No Matches
LookControlComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec3.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class LookControl;
12class Mob;
13class Vec3;
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<1, 1, bool> mHasWantedPosition;
21 ::ll::TypedStorage<1, 1, bool> mHasWantedRotation;
22 ::ll::TypedStorage<4, 4, float> mYMax;
23 ::ll::TypedStorage<4, 4, float> mXMax;
24 ::ll::TypedStorage<4, 12, ::Vec3> mWantedPosition;
25 ::ll::TypedStorage<4, 12, ::Vec3> mWantedRotation;
26 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LookControl>> mLookControl;
27 // NOLINTEND
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCNAPI void initialize(::Mob& owner);
33
34 MCNAPI void setInternalType(::std::unique_ptr<::LookControl> type);
35
36 MCNAPI void setLookAtPosition(::Actor const* target, float yMax, float xMax);
37 // NOLINTEND
38};
Definition Actor.h:103
Definition LookControlComponent.h:16
MCAPI void initialize(::Mob &owner)
MCAPI void setInternalType(::std::unique_ptr<::LookControl > type)
MCAPI void setLookAtPosition(::Actor const *target, float yMax, float xMax)
Definition LookControl.h:13
Definition Mob.h:47
Definition Vec3.h:10