Files
ReSkate/Engine/Game/Profile/object_persistence_model.h
2026-10-02 14:40:41 -05:00

22 lines
549 B
C++

#pragma once
#include <array>
#include <cstddef>
#include <cstdint>
#include <string>
#include <vector>
namespace dingosdk {
struct ObjectPersistenceRow {
std::uint64_t token{}; // Session-scoped UI identity, never a native entity pointer.
std::string item;
std::array<float, 3> position{};
bool saved{}, spawned{};
};
struct ObjectPersistenceModel {
bool available{}, enabled{true}, can_clear{}, clearing{};
std::size_t count{};
std::string map, status;
std::vector<ObjectPersistenceRow> rows;
bool busy{};
};
}