mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-26 11:24:46 +00:00
42 lines
1.3 KiB
C#
42 lines
1.3 KiB
C#
|
namespace GAS.Runtime
|
|||
|
{
|
|||
|
public interface IGameplayEffectData
|
|||
|
{
|
|||
|
string GetDisplayName();
|
|||
|
EffectsDurationPolicy GetDurationPolicy();
|
|||
|
float GetDuration();
|
|||
|
float GetPeriod();
|
|||
|
GameplayEffectSnapshotPolicy GetSnapshotPolicy();
|
|||
|
GameplayEffectSpecifiedSnapshotConfig[] GetSpecifiedSnapshotConfigs();
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 必须是Instant型的GameplayEffect
|
|||
|
/// </summary>
|
|||
|
IGameplayEffectData GetPeriodExecution();
|
|||
|
|
|||
|
GameplayTag[] GetAssetTags();
|
|||
|
GameplayTag[] GetGrantedTags();
|
|||
|
GameplayTag[] GetRemoveGameplayEffectsWithTags();
|
|||
|
GameplayTag[] GetApplicationRequiredTags();
|
|||
|
GameplayTag[] GetApplicationImmunityTags();
|
|||
|
GameplayTag[] GetOngoingRequiredTags();
|
|||
|
|
|||
|
// Cues
|
|||
|
GameplayCueInstant[] GetCueOnExecute();
|
|||
|
GameplayCueInstant[] GetCueOnRemove();
|
|||
|
GameplayCueInstant[] GetCueOnAdd();
|
|||
|
GameplayCueInstant[] GetCueOnActivate();
|
|||
|
GameplayCueInstant[] GetCueOnDeactivate();
|
|||
|
GameplayCueDurational[] GetCueDurational();
|
|||
|
|
|||
|
// Modifiers
|
|||
|
GameplayEffectModifier[] GetModifiers();
|
|||
|
ExecutionCalculation[] GetExecutions();
|
|||
|
|
|||
|
// Granted Ability
|
|||
|
GrantedAbilityConfig[] GetGrantedAbilities();
|
|||
|
|
|||
|
//Stacking
|
|||
|
GameplayEffectStacking GetStacking();
|
|||
|
}
|
|||
|
}
|