summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/mii/types/char_info.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2023-09-11 07:17:50 +0200
committergerman77 <juangerman-13@hotmail.com>2023-09-11 07:18:08 +0200
commit36290f9a0ac953ce57a663b5ba817d7e3bb5a33c (patch)
tree1d659cf2a3e5033ccdff54c9b8af764707db031c /src/core/hle/service/mii/types/char_info.h
parentservice: mii: Move store data operations (diff)
downloadyuzu-36290f9a0ac953ce57a663b5ba817d7e3bb5a33c.tar
yuzu-36290f9a0ac953ce57a663b5ba817d7e3bb5a33c.tar.gz
yuzu-36290f9a0ac953ce57a663b5ba817d7e3bb5a33c.tar.bz2
yuzu-36290f9a0ac953ce57a663b5ba817d7e3bb5a33c.tar.lz
yuzu-36290f9a0ac953ce57a663b5ba817d7e3bb5a33c.tar.xz
yuzu-36290f9a0ac953ce57a663b5ba817d7e3bb5a33c.tar.zst
yuzu-36290f9a0ac953ce57a663b5ba817d7e3bb5a33c.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/mii/types/char_info.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/src/core/hle/service/mii/types/char_info.h b/src/core/hle/service/mii/types/char_info.h
index cdebb1c9d..4f70edc24 100644
--- a/src/core/hle/service/mii/types/char_info.h
+++ b/src/core/hle/service/mii/types/char_info.h
@@ -6,10 +6,70 @@
#include "core/hle/service/mii/mii_types.h"
namespace Service::Mii {
+class StoreData;
// This is nn::mii::detail::CharInfoRaw
class CharInfo {
public:
+ void SetFromStoreData(const StoreData& store_data_raw);
+
+ u32 Verify() const;
+
+ Common::UUID GetCreateId() const;
+ Nickname GetNickname() const;
+ u8 GetFontRegion() const;
+ u8 GetFavoriteColor() const;
+ u8 GetGender() const;
+ u8 GetHeight() const;
+ u8 GetBuild() const;
+ u8 GetType() const;
+ u8 GetRegionMove() const;
+ u8 GetFacelineType() const;
+ u8 GetFacelineColor() const;
+ u8 GetFacelineWrinkle() const;
+ u8 GetFacelineMake() const;
+ u8 GetHairType() const;
+ u8 GetHairColor() const;
+ u8 GetHairFlip() const;
+ u8 GetEyeType() const;
+ u8 GetEyeColor() const;
+ u8 GetEyeScale() const;
+ u8 GetEyeAspect() const;
+ u8 GetEyeRotate() const;
+ u8 GetEyeX() const;
+ u8 GetEyeY() const;
+ u8 GetEyebrowType() const;
+ u8 GetEyebrowColor() const;
+ u8 GetEyebrowScale() const;
+ u8 GetEyebrowAspect() const;
+ u8 GetEyebrowRotate() const;
+ u8 GetEyebrowX() const;
+ u8 GetEyebrowY() const;
+ u8 GetNoseType() const;
+ u8 GetNoseScale() const;
+ u8 GetNoseY() const;
+ u8 GetMouthType() const;
+ u8 GetMouthColor() const;
+ u8 GetMouthScale() const;
+ u8 GetMouthAspect() const;
+ u8 GetMouthY() const;
+ u8 GetBeardColor() const;
+ u8 GetBeardType() const;
+ u8 GetMustacheType() const;
+ u8 GetMustacheScale() const;
+ u8 GetMustacheY() const;
+ u8 GetGlassType() const;
+ u8 GetGlassColor() const;
+ u8 GetGlassScale() const;
+ u8 GetGlassY() const;
+ u8 GetMoleType() const;
+ u8 GetMoleScale() const;
+ u8 GetMoleX() const;
+ u8 GetMoleY() const;
+
+ bool operator==(const CharInfo& info);
+
+private:
Common::UUID create_id;
Nickname name;
u16 null_terminator;