Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
SkinValidator.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace mce { struct Image; }
8// clang-format on
9
10namespace persona {
11
13public:
14 // static functions
15 // NOLINTBEGIN
16#ifdef LL_PLAT_C
17 MCNAPI static void _validateAlpha(
18 ::mce::Image& image,
19 uint x0,
20 uint y0,
21 uint x1,
22 uint y1,
23 float percentTransparentAllowed,
24 bool allowAlpha
25 );
26
27 MCNAPI static bool isValidImage(::mce::Image const& image);
28
29 MCNAPI static void resizeHalfSkinData(::mce::Image& image);
30
31 MCNAPI static void validateAlpha(::mce::Image& image, bool isPremium);
32#endif
33 // NOLINTEND
34};
35
36} // namespace persona
Definition SkinValidator.h:12
Definition Image.h:13