Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
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
7
namespace
mce {
struct
Image
; }
8
// clang-format on
9
10
namespace
persona {
11
12
class
SkinValidator
{
13
public
:
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
persona::SkinValidator
Definition
SkinValidator.h:12
mce::Image
Definition
Image.h:13
src
mc
persona
SkinValidator.h
Generated on
for LeviLamina by
1.16.1