This commit is contained in:
SoulliesOfficial
2025-10-23 00:49:44 -04:00
parent 9b1b5ca93f
commit 61a397dd4c
9846 changed files with 2618439 additions and 793547 deletions

View File

@@ -1,24 +1,24 @@
using System.Collections.Generic;
using Sirenix.OdinInspector;
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 : SerializedScriptableObject
public class CharacterAttributesDefaultCollection : ScriptableObject
{
[Title("Attributes")]
[Searchable]
[DictionaryDrawerSettings(KeyColumnWidth = 400)]
public Dictionary<string, float> coreAttributes;
[Header("Attributes")]
[KeyWidth(0.75f)]
public SerializableDictionary<string, float> coreAttributes;
[Searchable]
[DictionaryDrawerSettings(KeyColumnWidth = 400)]
public Dictionary<string, float> generalAttributes;
[KeyWidth(0.75f)]
public SerializableDictionary<string, float> generalAttributes;
[Searchable]
[DictionaryDrawerSettings(KeyColumnWidth = 200)]
[FormerlySerializedAs("endowingGeneralAttributes")]
[KeyWidth(0.5f)]
[Tooltip("初始化时赋予给CurrentGeneralAttributes的属性第一栏是属性名第二栏是初始化时使用对应名称的GeneralAttributes的数据或一个常数留空则默认为0")]
public Dictionary<string, string> endowingGeneralAttributes;
public SerializableDictionary<string, string> runtimeGeneralAttributes;
}
}