[XAM] Added property deserialization
This commit is contained in:
@@ -36,11 +36,12 @@ class Property : public UserData {
|
||||
Property();
|
||||
Property(const Property& property);
|
||||
|
||||
Property(uint32_t property_id, UserDataTypes setting_data);
|
||||
Property(uint32_t property_id, UserDataTypes property_data);
|
||||
// Ctor used while guest is creating property.
|
||||
Property(uint32_t property_id, uint32_t value_size, uint8_t* value_ptr);
|
||||
// Ctor used for deserialization
|
||||
Property(const uint8_t* serialized_data, size_t data_size);
|
||||
Property(std::span<const uint8_t> serialized_data);
|
||||
~Property();
|
||||
|
||||
const AttributeKey GetPropertyId() const { return property_id_; }
|
||||
|
||||
Reference in New Issue
Block a user