|
|
@ -18,10 +18,28 @@ struct FriendKey {
|
|
|
|
u32 friend_id;
|
|
|
|
u32 friend_id;
|
|
|
|
u32 unknown;
|
|
|
|
u32 unknown;
|
|
|
|
u64 friend_code;
|
|
|
|
u64 friend_code;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
template <class Archive>
|
|
|
|
|
|
|
|
void serialize(Archive& ar, const unsigned int)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
ar & friend_id;
|
|
|
|
|
|
|
|
ar & unknown;
|
|
|
|
|
|
|
|
ar & friend_code;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
friend class boost::serialization::access;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct MyPresence {
|
|
|
|
struct MyPresence {
|
|
|
|
u8 unknown[0x12C];
|
|
|
|
u8 unknown[0x12C];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
template <class Archive>
|
|
|
|
|
|
|
|
void serialize(Archive& ar, const unsigned int)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
ar & unknown;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
friend class boost::serialization::access;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct Profile {
|
|
|
|
struct Profile {
|
|
|
@ -130,13 +148,21 @@ public:
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
void SetClientSdkVersion(Kernel::HLERequestContext& ctx);
|
|
|
|
void SetClientSdkVersion(Kernel::HLERequestContext& ctx);
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
protected:
|
|
|
|
std::shared_ptr<Module> frd;
|
|
|
|
std::shared_ptr<Module> frd;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|
FriendKey my_friend_key = {0, 0, 0ull};
|
|
|
|
FriendKey my_friend_key = {0, 0, 0ull};
|
|
|
|
MyPresence my_presence = {};
|
|
|
|
MyPresence my_presence = {};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
template <class Archive>
|
|
|
|
|
|
|
|
void serialize(Archive& ar, const unsigned int)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
ar & my_friend_key;
|
|
|
|
|
|
|
|
ar & my_presence;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
friend class boost::serialization::access;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
void InstallInterfaces(Core::System& system);
|
|
|
|
void InstallInterfaces(Core::System& system);
|
|
|
|