/
NLObP
/
AAEmu
Обзор
Документация
Войти
/
NLObP
/
AAEmu
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
AAEmu.Game/Models/Game/Units/UnitAttributeAttribute.cs
16 строк
431 B
Roger Barreto
Collection expressions check + blank lines update (#1110)
11 дек 2024, 19:38
Не верифицирован
11 дек 2024, 19:38
0ce5643
Код
Авторство
О чём код?
using System; using System.Collections.Generic; namespace AAEmu.Game.Models.Game.Units; //Yes the naming looks weird, ignore it please. [AttributeUsage(AttributeTargets.Property, Inherited = true)] public class UnitAttributeAttribute : Attribute { public List<UnitAttribute> Attributes { get; set; } public UnitAttributeAttribute(params UnitAttribute[] attributes) { Attributes = [.. attributes]; } }