Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Adjustments to enable multiple bindings mode
Browse files Browse the repository at this point in the history
  • Loading branch information
lucoiso committed Nov 6, 2022
1 parent 7928d17 commit e3d2e56
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Config/DefaultGame.ini
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ MetaDataTagsForAssetRegistry=()
GameFeaturesManagerClassName=/Script/GameFeatures.DefaultGameFeaturesProjectPolicies

[/Script/ModularFeatures_ExtraActions.MFEA_Settings]
bUseInputEnumeration=True
bEnableAbilityAutoBinding=False
InputIDEnumeration=/Game/Main/Data/GAS/EN_AbilityInputID.EN_AbilityInputID
AbilityBindingMode=InputID

Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ void APEPlayerController::ProcessTrade_Internal(const TArray<FElementusItemInfo>

#pragma region IAbilityInputBinding
// Double "_Implementation" because this function is a RPC call version of a virtual function from IAbilityBinding interface
void APEPlayerController::SetupAbilityInputBinding_Implementation_Implementation(UInputAction* Action, const int32 InputID)
void APEPlayerController::SetupAbilityBindingByInput_Implementation_Implementation(UInputAction* Action, const int32 InputID)
{
if (!IsValid(Action))
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class PROJECTELEMENTUS_API APEPlayerController final : public APlayerController,
/* This function came from IAbilityInputBinding interface,
* provided by GameFeatures_ExtraActions plugin to manage ability bindings */
UFUNCTION(Client, Reliable)
virtual void SetupAbilityInputBinding_Implementation(UInputAction* Action, const int32 InputID = -1) override;
virtual void SetupAbilityBindingByInput_Implementation(UInputAction* Action, const int32 InputID) override;

/* This function came from IAbilityInputBinding interface,
* provided by GameFeatures_ExtraActions plugin to manage ability bindings */
Expand Down

1 comment on commit e3d2e56

@lucoiso
Copy link
Owner Author

@lucoiso lucoiso commented on e3d2e56 Nov 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#33

Please sign in to comment.