Round Manager Interface
using { /Fortnite.com/Playspaces }
using { /Fortnite.com/Game }
using { /Verse.org/SceneGraph }
has_fort_round_manager_interface<public> := interface:
RoundEndedEvent<public>:event() = event(){}
OnRoundStarted<public>()<suspends>:void
OnRoundEnded<public>():void=
RoundEndedEvent.Signal()
(Entity:entity).SubscribeFortRoundManager<public>(InFortRoundManager:has_fort_round_manager_interface):void=
if:
FortRoundManager := Entity.GetFortRoundManager[]
then:
FortRoundManager.SubscribeRoundStarted(InFortRoundManager.OnRoundStarted)
FortRoundManager.SubscribeRoundEnded(InFortRoundManager.OnRoundEnded)