Firstborn/Assets/RPG Creation Kit/Scripts/Save System/SaveElements/PlayerData.cs

35 lines
1.3 KiB
C#
Raw Permalink Normal View History

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
namespace RPGCreationKit.SaveSystem
{
[Serializable]
public class PlayerData
{
public string playerName;
public int playerLevel;
public bool playerSex;
public string playerRace;
public string playerLocation;
public string playerWorldspaceID;
public string playerCellID;
public Vector3 playerPos;
public Quaternion playerRot;
public List<string> playerFactions = new List<string>();
public float mouseRotX;
public bool playerCrouched;
public bool weaponDrawn;
public EntityAttributesSaveData playerAttributes = new EntityAttributesSaveData(new BaseAttributes(), new EntityDerivedAttributes(), new List<EffectOnEntity>());
public InventorySaveData playerInventory = new InventorySaveData();
public SpellsKnowledgeSaveData spellsKnowledge = new SpellsKnowledgeSaveData();
public int hairType;
public Color HairColor;
public Color LipsColor;
public Color SkinColor;
public int eyesType;
public FaceBlendshapesSaveData faceData = new FaceBlendshapesSaveData();
public bool isInThirdPerson;
}
}