summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/mii/types/store_data.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2023-09-11 07:07:00 +0200
committergerman77 <juangerman-13@hotmail.com>2023-09-11 07:18:03 +0200
commitd6037efe5e63d193ae8c586ff9d1e1326cae05cb (patch)
treeeea6b9067f3cd1fd0303ef081d8b97c7feb8d92a /src/core/hle/service/mii/types/store_data.h
parentservice: mii: Move core data operations (diff)
downloadyuzu-d6037efe5e63d193ae8c586ff9d1e1326cae05cb.tar
yuzu-d6037efe5e63d193ae8c586ff9d1e1326cae05cb.tar.gz
yuzu-d6037efe5e63d193ae8c586ff9d1e1326cae05cb.tar.bz2
yuzu-d6037efe5e63d193ae8c586ff9d1e1326cae05cb.tar.lz
yuzu-d6037efe5e63d193ae8c586ff9d1e1326cae05cb.tar.xz
yuzu-d6037efe5e63d193ae8c586ff9d1e1326cae05cb.tar.zst
yuzu-d6037efe5e63d193ae8c586ff9d1e1326cae05cb.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/mii/types/store_data.h71
1 files changed, 68 insertions, 3 deletions
diff --git a/src/core/hle/service/mii/types/store_data.h b/src/core/hle/service/mii/types/store_data.h
index be6950967..cc8551a66 100644
--- a/src/core/hle/service/mii/types/store_data.h
+++ b/src/core/hle/service/mii/types/store_data.h
@@ -10,10 +10,75 @@ namespace Service::Mii {
class StoreData {
public:
- StoreData();
- StoreData(const Nickname& name, const StoreDataBitFields& bit_fields,
- const Common::UUID& user_id);
+ // nn::mii::detail::StoreDataRaw::BuildDefault
+ void BuildDefault(u32 mii_index);
+ // nn::mii::detail::StoreDataRaw::BuildDefault
+ void BuildBase(Gender gender);
+ // nn::mii::detail::StoreDataRaw::BuildRandom
+ void BuildRandom(Age age, Gender gender, Race race);
+
+ void SetInvalidName();
+
+ bool IsSpecial() const;
+
+ u32 IsValid() const;
+
+ Common::UUID GetCreateId() const;
+ FontRegion 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;
+ Nickname GetNickname() const;
+
+ bool operator==(const StoreData& data);
+
+private:
CoreData core_data{};
Common::UUID create_id{};
u16 data_crc{};