UPrimeDialogForgeComponent
UPrimeDialogForgeComponent belongs to the PrimeDialog Forge runtime module.
Magna sit voluptate do ad esse ea quis amet labore nulla. Ullamco lorem adipiscing veniam dolore labore incididunt duis enim do veniam ut sint irure aliqua. Cillum incididunt aute cillum pariatur dolor esse magna commodo cillum tempor in aute voluptate. Minim elit labore labore dolor dolor consequat labore nostrud aliquip. Do irure nulla amet sit velit nulla ullamco fugiat consectetur occaecat fugiat sint.
Declaration
1Blueprint Setup:
21. Open your Actor Blueprint
32. Add Component > search "My Plugin Component"
43. In the Details panel, set:
5 - Update Interval: 0.1
6 - Auto Activate: true
7 - Max Instances: 50
84. Connect the OnStateChanged event to your handler
95. Compile and Save the Blueprint
Members
| Parameter | Type | Default | Description |
|---|---|---|---|
| MaxPoolSize | int32 | 100 | Maximum number of pooled objects |
| TickRate | float | 60.0 | Update frequency in Hz |
| bAutoActivate | bool | true | Activate on BeginPlay |
| LogVerbosity | ELogVerbosity | Warning | Minimum log level |
| ReplicationMode | ERepMode | Reliable | Network replication strategy |
Example
1UINTERFACE(MinimalAPI, Blueprintable)
2class UPrimeDialog ForgeInterface : public UInterface
3{
4 GENERATED_BODY()
5};
6
7class IPrimeDialog ForgeInterface
8{
9 GENERATED_BODY()
10
11public:
12 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PrimeDialog Forge")
13 void OnPluginActivated(bool bSuccess);
14
15 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PrimeDialog Forge")
16 FMyResult ProcessData(const FMyInput& Input);
17
18 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PrimeDialog Forge")
19 bool CanExecute() const;
20};