Microsoft.Xbox.Wrappers.XGameSave.BlobInfo

Contains the name and size of a blob (file) used by XGameSave wrappers.

Syntax

struct BlobInfo
{
    BlobInfo(const XGameSaveBlobInfo* info)
    {
        name = info->name;
        size = info->size;
    }
    std::string name;
    uint32_t size;
};

Members

BlobInfo
Type: XGameSaveBlobInfo

The struct's constructor.

name
Type: std::string

The name of the blob.

size
Type: uint32t

The size of the blob, in bytes.

Remarks

You can initialize the blobinfo structure by calling the BlobInfo constructor (BlobInfo::BlobInfo()), passing a pointer to an XGameSaveBlobInfo object.

XGameSaveBlobInfo contains the properties of an XGameSaveBlob, and is a parameter for the XGameSaveBlobInfoCallback function.

You can ensure that you're reading the correct blob by using the name property.

To read the contents of the blob with a sufficiently large buffer, use the size property.

Requirements

Header: xgamesavewrappers.hpp

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

Microsoft.Xbox.Wrappers.XGameSave.Provider
XGameSave wrapper members
Game saves simplified wrapper