23 lines
509 B
C#
23 lines
509 B
C#
using Chickensoft.Introspection;
|
|
using Chickensoft.Serialization;
|
|
using Zennysoft.Ma.Adapter;
|
|
|
|
namespace Zennysoft.Game.Ma;
|
|
|
|
[Meta, Id("player_data")]
|
|
public partial record PlayerData
|
|
{
|
|
[Save("player_stats")]
|
|
public required PlayerStats PlayerStats { get; init; }
|
|
|
|
[Save("player_inventory")]
|
|
public required IInventory Inventory { get; init; }
|
|
}
|
|
|
|
[Meta, Id("map_data")]
|
|
public partial record MapData
|
|
{
|
|
[Save("floor_list")]
|
|
public required Dictionary<Floor, string> FloorScenes { get; init; }
|
|
}
|