Goal Description
Currently, when OnPlayerUnlockingWarheadButton's IsAllow is set to true, it directly opens the warhead button cover instead of only allowing the event to proceed.
Suggestion:
Similar PlayerInteractingDoorEventArgs and PlayerInteractingLockerEventArgs implement the CanOpen parameter, PlayerUnlockingWarheadButtonEventArgs should include a CanOpen property to indicate whether the player can actually open the warhead button cover.
This would allow:
IsAllowed to only determine whether the event itself is permitted (flow control).
CanOpen to control whether the cover can physically be opened (functionality control).
Notes
No response
Goal Description
Currently, when
OnPlayerUnlockingWarheadButton'sIsAllowis set totrue, it directly opens the warhead button cover instead of only allowing the event to proceed.Suggestion:
Similar
PlayerInteractingDoorEventArgsandPlayerInteractingLockerEventArgsimplement theCanOpenparameter,PlayerUnlockingWarheadButtonEventArgsshould include aCanOpenproperty to indicate whether the player can actually open the warhead button cover.This would allow:
IsAllowedto only determine whether the event itself is permitted (flow control).CanOpento control whether the cover can physically be opened (functionality control).Notes
No response