88
99class UKeyType ;
1010
11- DECLARE_DYNAMIC_MULTICAST_DELEGATE (FOnLockedSignature);
12-
13- DECLARE_DYNAMIC_MULTICAST_DELEGATE (FOnUnlockedSignature);
14-
15- DECLARE_DYNAMIC_MULTICAST_DELEGATE (FOnCantLockSignature);
16-
17- DECLARE_DYNAMIC_MULTICAST_DELEGATE (FOnCantUnlockSignature);
11+ DECLARE_DYNAMIC_MULTICAST_DELEGATE (FOnLockChangedStateSignature);
1812
1913/* *
2014 * Controls locking/unlocking by a given key.
2115 */
22- UCLASS (ClassGroup=(Custom ), meta=(BlueprintSpawnableComponent))
16+ UCLASS (ClassGroup=(TrickyKeyring ), meta=(BlueprintSpawnableComponent))
2317class TRICKYKEYRINGSYSTEM_API ULockComponent : public UActorComponent
2418{
2519 GENERATED_BODY ()
@@ -29,19 +23,19 @@ class TRICKYKEYRINGSYSTEM_API ULockComponent : public UActorComponent
2923
3024 /* * Called then the component was locked. */
3125 UPROPERTY (BlueprintAssignable)
32- FOnLockedSignature OnLocked;
26+ FOnLockChangedStateSignature OnLocked;
3327
3428 /* * Called then the component was unlocked. */
3529 UPROPERTY (BlueprintAssignable)
36- FOnUnlockedSignature OnUnlocked;
30+ FOnLockChangedStateSignature OnUnlocked;
3731
3832 /* * Called then the component can't be locked. */
3933 UPROPERTY (BlueprintAssignable)
40- FOnCantLockSignature OnCantLocked;
34+ FOnLockChangedStateSignature OnCantLocked;
4135
4236 /* * Called then the component can't be unlocked. */
4337 UPROPERTY (BlueprintAssignable)
44- FOnCantUnlockSignature OnCantUnlocked;
38+ FOnLockChangedStateSignature OnCantUnlocked;
4539
4640 /* * Toggles if the component is locked on begin play. */
4741 UPROPERTY (EditAnywhere, BlueprintReadWrite, Category=" LockComponent" )
0 commit comments