LeviLamina
Loading...
Searching...
No Matches
TextureShiftManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/platform/brstd/flat_map.h"
7
8// auto generated forward declare list
9// clang-format off
11namespace TextureShift { struct CollectionState; }
12namespace TextureShift { struct ShiftResource; }
13namespace mce { struct TextureShiftBuffer; }
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::UntypedStorage<1, 1> mUnk679b3c;
21 ::ll::UntypedStorage<8, 8> mUnkce97e6;
22 ::ll::UntypedStorage<8, 8> mUnk3b776c;
23 ::ll::UntypedStorage<8, 8> mUnk1a8f3d;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 TextureShiftManager& operator=(TextureShiftManager const&);
29 TextureShiftManager(TextureShiftManager const&);
30
31public:
32 // member functions
33 // NOLINTBEGIN
35
36 MCNAPI ::std::vector<::mce::TextureShiftBuffer> const& getShiftBuffer() const;
37
39
40 MCNAPI bool isInitialized() const;
41
42 MCNAPI void onTextureAtlasUpdated();
43
45
46 MCNAPI void reset();
47
48 MCNAPI void tickUpdate(float currentTime, uint64 ticksPassed);
49
50 MCNAPI ::std::optional<uint64> tryGetBufferIndex(::std::string const& textureName) const;
51
53 // NOLINTEND
54
55public:
56 // static functions
57 // NOLINTBEGIN
58 MCNAPI static void validateShiftData(
59 ::std::map<::std::string, ::TextureShift::CollectionState> const& collectionStates,
61 ::std::string,
63 ::std::less<::std::string>,
64 ::std::vector<::std::string>,
65 ::std::vector<::TextureShift::ShiftResource>> const& shiftMaterials
66 );
67 // NOLINTEND
68
69public:
70 // constructor thunks
71 // NOLINTBEGIN
72 MCNAPI void* $ctor();
73 // NOLINTEND
74
75public:
76 // destructor thunk
77 // NOLINTBEGIN
78 MCNAPI void $dtor();
79 // NOLINTEND
80};
Definition ClientboundTextureShiftPacket.h:19
Definition TextureShiftManager.h:5
static MCAPI void validateShiftData(::std::map<::std::string, ::TextureShift::CollectionState > const &collectionStates, ::brstd::flat_map< ::std::string, ::TextureShift::ShiftResource, ::std::less<::std::string >, ::std::vector<::std::string >, ::std::vector<::TextureShift::ShiftResource > > const &shiftMaterials)
MCAPI void onTextureAtlasUpdated()
MCAPI void handleTextureShiftPacket(::ClientboundTextureShiftPacket const &packet)
MCAPI ::std::vector<::mce::TextureShiftBuffer > const & getShiftBuffer() const
MCAPI void $dtor()
MCAPI bool isInitialized() const
MCAPI TextureShiftManager()
MCAPI ~TextureShiftManager()
MCAPI void reset()
MCAPI void * $ctor()
MCAPI void tickUpdate(float currentTime, uint64 ticksPassed)
MCAPI bool processShiftBufferUpdates()
MCAPI ::std::optional< uint64 > tryGetBufferIndex(::std::string const &textureName) const
Definition flat_map.h:15
Definition CollectionState.h:7
Definition ShiftResource.h:7
Definition TextureShiftBuffer.h:7