initial commit

This commit is contained in:
Aggtaa
2026-01-11 13:48:49 +03:00
commit f846df9d8c
143 changed files with 21694 additions and 0 deletions
@@ -0,0 +1,19 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class GameData
{
public long lastUpdated;
public PlayerData player = new PlayerData();
public List<ShelfData> shelves = new List<ShelfData>();
// the values defined in this constructor will be the default values
// the game starts with when there's no data to load
public GameData()
{
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 89cbdf7a2dcd8ab40a929072c7493273
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,11 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class InventoryData
{
public int capacity = 0;
public SerializableDictionary<string, int> items = new SerializableDictionary<string, int>();
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 3bcd40c816f3fb24a8aa90a6438d53a0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,7 @@
using System;
[System.Serializable]
public class PlayerData
{
public InventoryData inventory = new InventoryData();
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: ff587676af26ad344af1761388bb9016
@@ -0,0 +1,11 @@
using UnityEngine;
[System.Serializable]
public class ShelfData
{
public string type = "shelf";
public Vector2 location = Vector2.zero;
public float angle = 0;
public InventoryData inventory = new InventoryData();
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: e220bc2634b66924c99448f4bd3a824c