初始提交: UE5.3项目基础框架

This commit is contained in:
2025-10-14 11:14:54 +08:00
commit 721d9fd98e
5334 changed files with 316782 additions and 0 deletions

View File

@ -0,0 +1,45 @@
#pragma once
#include "HttpHeaders.h"
#include "Library.h"
#include <cstddef>
#include <cstdint>
#include <map>
#include <span>
#include <string>
namespace CesiumAsync {
/**
* @brief A completed response for a 3D Tiles asset.
*/
class CESIUMASYNC_API IAssetResponse {
public:
/**
* @brief Default destructor
*/
virtual ~IAssetResponse() = default;
/**
* @brief Returns the HTTP response code.
*/
virtual uint16_t statusCode() const = 0;
/**
* @brief Returns the HTTP content type
*/
virtual std::string contentType() const = 0;
/**
* @brief Returns the HTTP headers of the response
*/
virtual const HttpHeaders& headers() const = 0;
/**
* @brief Returns the data of this response
*/
virtual std::span<const std::byte> data() const = 0;
};
} // namespace CesiumAsync