using System.Collections; using System.Collections.Generic; using UnityEngine; using RPGCreationKit; using RPGCreationKit.SaveSystem; namespace RPGCreationKit.SaveSystem { [System.Serializable] public class CreatedItemsInWorldDictionary : SerializableDictionary { } /// /// Represent a single item in world /// [System.Serializable] public class CreatedItemInWorldSaveData { public string itemID; public Metadata Metadata; public string WorldspaceID; public int amount; public Vector3 position; public Quaternion rotation; public bool isKinematic; } /// /// Represent a single item in world /// [System.Serializable] public class CreatedItemInWorldCollection { public List itemsInThis = new List(); } /// /// Represent the collection of all items in world in the game /// [System.Serializable] public class CreatedItemInWorldData { [SerializeField] public CreatedItemsInWorldDictionary allCreatedItemsInWorld = new CreatedItemsInWorldDictionary(); [SerializeField] public CreatedItemsInWorldDictionary allModsInWorld = new CreatedItemsInWorldDictionary(); } }