25 lines
731 B
C#
25 lines
731 B
C#
|
|
using System;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using OTGIntegrated.Inventory;
|
||
|
|
using OTGIntegrated.Quests;
|
||
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
namespace OTGIntegrated.Save
|
||
|
|
{
|
||
|
|
[Serializable]
|
||
|
|
public sealed class GameSaveData
|
||
|
|
{
|
||
|
|
public Vector3 playerPosition;
|
||
|
|
public float currentHealth;
|
||
|
|
public float currentMana;
|
||
|
|
public int level;
|
||
|
|
public int currentExp;
|
||
|
|
public int expToNextLevel;
|
||
|
|
public int talentPoints;
|
||
|
|
public List<string> learnedTalentIds = new List<string>();
|
||
|
|
public List<QuestSaveEntry> quests = new List<QuestSaveEntry>();
|
||
|
|
public List<InventorySlotSaveData> inventory = new List<InventorySlotSaveData>();
|
||
|
|
public string currentWeaponId;
|
||
|
|
}
|
||
|
|
}
|