LeviLamina
Loading...
Searching...
No Matches
VanillaOffsetSystemUtil.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/ecs/Optional.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
StrictEntityContext
;
11
struct
ActorDataFlagComponent
;
12
struct
IsHorizontalPoseFlagComponent
;
13
struct
OffsetsComponent
;
14
struct
PlayerIsSleepingFlagComponent
;
15
struct
VanillaOffsetComponent
;
16
// clang-format on
17
18
namespace
VanillaOffsetSystemUtil {
19
// functions
20
// NOLINTBEGIN
21
MCNAPI
void
_clientTick(
22
::StrictEntityContext
&,
23
::VanillaOffsetComponent
& vanillaOffsetComponent,
24
::OffsetsComponent
const
& offsetComponent,
25
::ActorDataFlagComponent
const
& actorDataFlag,
26
::Optional<::PlayerIsSleepingFlagComponent const>
isSleepingFlag,
27
::Optional<::IsHorizontalPoseFlagComponent const>
isHorizontalFlag,
28
float
sneakHeight
29
);
30
31
MCNAPI
void
_serverTick(
32
::StrictEntityContext
&,
33
::VanillaOffsetComponent
& vanillaOffsetComponent,
34
::OffsetsComponent
const
& offsetComponent,
35
::ActorDataFlagComponent
const
& actorDataFlag,
36
::Optional<::PlayerIsSleepingFlagComponent const>
isSleepingFlag,
37
::Optional<::IsHorizontalPoseFlagComponent const>
isHorizontalFlag,
38
float
sneakHeight
39
);
40
41
MCNAPI
float
getCameraOffset(
42
::ActorDataFlagComponent
const
& actorDataFlag,
43
::Optional<::PlayerIsSleepingFlagComponent const>
isSleepingFlag,
44
::Optional<::IsHorizontalPoseFlagComponent const>
isHorizontalFlag,
45
float
sneakHeight
46
);
47
// NOLINTEND
48
49
}
// namespace VanillaOffsetSystemUtil
Optional
Definition
Optional.h:8
StrictEntityContext
Definition
StrictEntityContext.h:8
ActorDataFlagComponent
Definition
ActorDataFlagComponent.h:9
IsHorizontalPoseFlagComponent
Definition
IsHorizontalPoseFlagComponent.h:5
OffsetsComponent
Definition
OffsetsComponent.h:8
PlayerIsSleepingFlagComponent
Definition
PlayerIsSleepingFlagComponent.h:5
VanillaOffsetComponent
Definition
VanillaOffsetComponent.h:8
src
mc
util
VanillaOffsetSystemUtil.h
Generated on Fri Jun 13 2025 05:04:56 for LeviLamina by
1.12.0