OpenPF2 / Plugin

Core C++ Game Logic for OpenPF2 (Status: Pre-alpha)
https://www.openpf2.org/
Other
23 stars 6 forks source link

[Game Designers] Remove `UFUNCTION(BlueprintCallable)` from Sub-class Implementations of UInterface Methods #40

Closed GuyPaddock closed 12 months ago

GuyPaddock commented 12 months ago

As a Game Designer, I'd like it if a class that implements a UFUNCTION that is invokable through a UInterface the class implements avoided re-declaring that UFUNCTION so that I have fewer unwanted options I have to sort through in the Blueprint editor.

Conditions of Acceptance

  1. Given I'm looking at the headers for a class that implements a UInterface and am looking at all methods that override interface methods: I'd expect to not see the method declared with a UFUNCTION(BlueprintCallable) annotation for UHT.
  2. Given I am in the Blueprint editor and attempting to call an interface method: I'd expect to only see the interface version of the method and not the sub-class version, so that I can avoid selecting the version that couples my blueprint to a concrete class.