Рефактор аспектов, немного потыкал значений (#670)

* aspects update

* aspects mini refactor
This commit is contained in:
ThereDrD
2024-08-28 08:20:16 +03:00
committed by GitHub
parent e335e1d128
commit ef0ac9f2e5
5 changed files with 235 additions and 201 deletions

View File

@@ -1,3 +1,4 @@
using System.Linq;
using Content.Server.GameTicking;
using Content.Server._White.AspectsSystem.Base;
using Content.Shared.GameTicking;
@@ -193,6 +194,13 @@ namespace Content.Server._White.AspectsSystem.Managers
return aspectIds;
}
public Dictionary<EntityPrototype, AspectComponent> GetAspectsPrototypesId()
{
var availableAspects = AllAspects();
return availableAspects;
}
/// <summary>
/// Runs the specified aspect and adds it as a game rule.
/// </summary>