LeviLamina
Loading...
Searching...
No Matches
ArmSize.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace persona { struct SizeInfo; }
8// clang-format on
9
10namespace persona {
11
12class ArmSize {
13public:
14 // ArmSize inner types define
15 enum class Type : uchar {
16 Slim = 0,
17 Wide = 1,
18 Count = 2,
19 Unknown = 3,
20 };
21
22 using SizeInfoList = ::std::unordered_map<::persona::ArmSize::Type, ::persona::SizeInfo>;
23
24public:
25 // static functions
26 // NOLINTBEGIN
27 MCAPI static ::std::string getStringFromType(::persona::ArmSize::Type armSizeType);
28
29#ifdef LL_PLAT_C
30 MCAPI static ::std::string_view getTexturePathByType(::persona::ArmSize::Type armSizeType);
31
32 MCAPI static ::persona::ArmSize::Type getTypeFromString(::std::string_view armSizeStr);
33
34 MCAPI static bool isValidType(::persona::ArmSize::Type armSizeType);
35#endif
36 // NOLINTEND
37
38public:
39 // static variables
40 // NOLINTBEGIN
41 MCAPI static ::std::unordered_map<::persona::ArmSize::Type, ::persona::SizeInfo> const& mInfoList();
42 // NOLINTEND
43};
44
45} // namespace persona
Definition ArmSize.h:12
Definition SizeInfo.h:7