Files
Continentis/Assets/Scripts/MainGame/Character/CharacterData/CharacterAttributesDefaultCollection.cs
SoulliesOfficial 61a397dd4c MOD!
2025-10-23 00:49:44 -04:00

24 lines
1.0 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System.Collections.Generic;
using NaughtyAttributes;
using SLSFramework.General;
using UnityEngine;
using UnityEngine.Serialization;
namespace Continentis.MainGame.Character
{
[CreateAssetMenu(menuName = "Continentis/MainGame/Character/AttributesDefaultCollection", fileName = "CharacterAttributesDefaultCollection")]
public class CharacterAttributesDefaultCollection : ScriptableObject
{
[Header("Attributes")]
[KeyWidth(0.75f)]
public SerializableDictionary<string, float> coreAttributes;
[KeyWidth(0.75f)]
public SerializableDictionary<string, float> generalAttributes;
[FormerlySerializedAs("endowingGeneralAttributes")]
[KeyWidth(0.5f)]
[Tooltip("初始化时赋予给CurrentGeneralAttributes的属性第一栏是属性名第二栏是初始化时使用对应名称的GeneralAttributes的数据或一个常数留空则默认为0")]
public SerializableDictionary<string, string> runtimeGeneralAttributes;
}
}