Files
PHY/Plugins/GCS/Source/GenericGameplayAbilities/Private/GenericGameplayAbilities.cpp
2026-03-03 01:23:02 +08:00

26 lines
915 B
C++

// Copyright 2025 https://yuewu.dev/en All Rights Reserved.
#include "GenericGameplayAbilities.h"
#include "Misc/Paths.h"
#include "GameplayTagsManager.h"
#define LOCTEXT_NAMESPACE "FGGameplayAbilitiesModule"
void FGenericGameplayAbilitiesModule::StartupModule()
{
static FString PluginName = TEXT("GenericGameplayAbilities");
// This code will execute after your module is loaded into memory; the exact timing is specified in the .uplugin file per-module
UGameplayTagsManager::Get().AddTagIniSearchPath(FPaths::ProjectPluginsDir() / PluginName / TEXT("Config/Tags"));
}
void FGenericGameplayAbilitiesModule::ShutdownModule()
{
// This function may be called during shutdown to clean up your module. For modules that support dynamic reloading,
// we call this function before unloading the module.
}
#undef LOCTEXT_NAMESPACE
IMPLEMENT_MODULE(FGenericGameplayAbilitiesModule, GenericGameplayAbilities)