> For the complete documentation index, see [llms.txt](https://creationartstudios.gitbook.io/gcc-2.6/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://creationartstudios.gitbook.io/gcc-2.6/api/library.md).

# Library

## GCCAbilitySystemBlueprintLibrary

### GetActiveAbilitiesWithTags <a href="#getactiveabilitieswithtags" id="getactiveabilitieswithtags"></a>

Return a list of all active abilities with given ability tags container

![Image](https://khxisaki.github.io/CommonGASDocs/img/getactiveabilitywithtags.png)

| Name                      | Types                             |
| ------------------------- | --------------------------------- |
| Ability Tags (Input)      | Gameplay Tag Container            |
| Active Abilities (Output) | An array of CommonGameplayAbility |

### GetCooldownRemainingTag <a href="#getcooldownremainingtag" id="getcooldownremainingtag"></a>

Returns total time and remaining time for cooldown tags. Returns false if no active cooldowns found

![Image](https://khxisaki.github.io/CommonGASDocs/img/getcooldownremainingfortag.png)

| Name                       | Types                  |
| -------------------------- | ---------------------- |
| Cooldown Tags (Input)      | Gameplay Tag Container |
| Time Remaining (Output)    | Float                  |
| Cooldown Duration (Output) | Float                  |
| Return Value (Output)      | Boolean                |

### ActivateAbilitiesWithTags <a href="#activateabilitieswithtags" id="activateabilitieswithtags"></a>

Attempts to activate all abilities that match the specified tags Returns true if it thinks it activated, but it may return false positives due to failure later in activation. If bAllowRemoteActivation is true, it will remotely activate local/server abilities, if false it will only try to locally activate the ability

![Image](https://khxisaki.github.io/CommonGASDocs/img/activateabilitywithtags.png)

| Name                            | Types                  |
| ------------------------------- | ---------------------- |
| Ability Tags (Input)            | Gameplay Tag Container |
| Allow Remote Activation (Input) | Boolean                |
| Return Value (Output)           | Boolean                |

### DoesEffectContainerSpecHaveEffects <a href="#doeseffectcontainerspechaveeffects" id="doeseffectcontainerspechaveeffects"></a>

![Image](https://khxisaki.github.io/CommonGASDocs/img/doeseffectcontainerspechaveeffects.png)

| Name                   | Types                     |
| ---------------------- | ------------------------- |
| Container Spec (Input) | CommonEffectContainerSpec |
| Return Value (Output)  | Boolean                   |

### ClearEffectContainerSpecTargets <a href="#cleareffectcontainerspectargets" id="cleareffectcontainerspectargets"></a>

![Image](https://khxisaki.github.io/CommonGASDocs/img/cleareffectcontainerspectargets.png)

| Name                   | Types                               |
| ---------------------- | ----------------------------------- |
| Container Spec (Input) | CommonEffectContainerSpec reference |

### DoesEffectContainerSpecHaveTargets <a href="#doeseffectcontainerspechavetargets" id="doeseffectcontainerspechavetargets"></a>

![Image](https://khxisaki.github.io/CommonGASDocs/img/doeseffectcontainerspechavetargets.png)

| Name                   | Types                               |
| ---------------------- | ----------------------------------- |
| Container Spec (Input) | CommonEffectContainerSpec reference |
| Return Value (Output)  | Boolean                             |

### AddTargetsToEffectContainerSpec <a href="#addtargetstoeffectcontainerspec" id="addtargetstoeffectcontainerspec"></a>

![Image](https://khxisaki.github.io/CommonGASDocs/img/addtargetstoeffectcontainerspec.png)

| Name                   | Types                              |
| ---------------------- | ---------------------------------- |
| Container Spec (Input) | CommonEffectContainerSpec referenc |
| Hit Results (Input)    | An array of hit result reference   |
| Target Actors (Input)  | An array of actor reference        |
| Return Value (Output)  | CommonEffectContainerSpec          |

### ApplyExternalEffectContainerSpec <a href="#applyexternaleffectcontainerspec" id="applyexternaleffectcontainerspec"></a>

![Image](https://khxisaki.github.io/CommonGASDocs/img/applyexternaleffectcontainerspec.png)

| Name                   | Types                                            |
| ---------------------- | ------------------------------------------------ |
| Container Spec (Input) | CommonEffectContainerSpec reference              |
| Return Value (Output)  | An array of ActiveGameplayEffectHandle reference |

GCCBlueprintGameplayTagLibrary

### C++ API <a href="#c-api" id="c-api"></a>

| Name                                | Functionality                                                                |
| ----------------------------------- | ---------------------------------------------------------------------------- |
| AddLooseGameplayTag                 | Manually adds a set of tags to a given actor, and optionally replicates them |
| RemoveLooseGameplayTag              | Manually removes a set of tags from a given actor, with optional replication |
| DoesActorHasMatchingGameplayTag     |                                                                              |
| DoesActorHasAllMatchingGameplayTags |                                                                              |
| DoesActorHasAnyMatchingGameplayTags |                                                                              |
| GetActorOwnedGameplayTags           |                                                                              |

## GCCGameplayCueLibrary

The purpose of this library is to provide gameplay cue operation

### C++ API <a href="#c-api" id="c-api"></a>

| Name                         | Functionality                                                                                                  |
| ---------------------------- | -------------------------------------------------------------------------------------------------------------- |
| ExecuteGameplayCueForActor   | Invoke a gameplay cue on the actor's ability system component                                                  |
| ExecuteGameplayCueWithParams | Invoke a gameplay cue on the actor's ability system component, with extra parameters                           |
| AddGameplayCue               | Adds a persistent gameplay cue to the actor's ability system component. Optionally will remove if ability ends |
| AddGameplayCueWithParams     | Adds a persistent gameplay cue to the actor's ability system component. Optionally will remove if ability ends |
| RemoveGameplayCue            | Removes a persistent gameplay cue from the actor's ability system component                                    |
| RemoveAllGameplayCues        | Removes any GameplayCue added on its own, i.e. not as part of a GameplayEffect.                                |
