LeviLamina
Loading...
Searching...
No Matches
UITextureInfo.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/client/gui/SliceSize.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
ResourceLocation
;
11
struct
AsepriteFrameInformation
;
12
namespace
Json {
class
Value
; }
13
// clang-format on
14
15
class
UITextureInfo
{
16
public
:
17
// member variables
18
// NOLINTBEGIN
19
::ll::TypedStorage<4, 16, ::ui::SliceSize> mNineslice;
20
::ll::TypedStorage<1, 1, bool> mHasNineslice;
21
::ll::TypedStorage<4, 8, ::glm::vec2> mBaseUVSize;
22
::ll::TypedStorage<8, 24, ::std::vector<::AsepriteFrameInformation>> mAsepriteFrames;
23
::ll::TypedStorage<4, 4, int> mTotalDurationInMilliseconds;
24
// NOLINTEND
25
26
public
:
27
// member functions
28
// NOLINTBEGIN
29
MCAPI
bool
_loadAseprite(::Json::Value
const
& value);
30
31
MCAPI
void
_loadNineslice(::Json::Value
const
& value);
32
33
MCFOLD ::glm::vec2
const
& getBaseUVSize()
const
;
34
35
MCFOLD ::ui::SliceSize
const
& getNinesliceSize()
const
;
36
37
MCAPI
void
getPositionAfterMilliseconds(
int
ms,
int
& x,
int
& y)
const
;
38
39
MCFOLD
bool
hasNineslice()
const
;
40
41
MCAPI
void
load(::ResourceLocation
const
& value, ::Json::Value
const
&);
42
// NOLINTEND
43
};
Json::Value
Definition
Value.h:16
ResourceLocation
Definition
ResourceLocation.h:15
UITextureInfo
Definition
UITextureInfo.h:5
AsepriteFrameInformation
Definition
AsepriteFrameInformation.h:5
src-client
mc
client
gui
UITextureInfo.h
Generated on
for LeviLamina by
1.16.1