Fort Round Gameplay Interface for Scene Graph
79,753 Views
-
using. /Fortnite.com/Game using. /Verse.org/Concurrency using. /Verse.org/SceneGraph using. /Verse.org/Simulation fort_round_simulate_interface<public> := interface { var<private> FortRoundManagerSubscriptions<private> : []cancelable = array{} var<private> _CancelFortRoundGameplayEvent<private> : ?event() = false var<private> _FortRoundGameplayHandlerTask<private> : ?task(void) = false var<private> IsFortRoundSimulating<public><final> : logic = false var<private> _FortRoundStartEvent<private> : ?event() = false var<private> _FortRoundEndEvent<private> : ?event() = false IsFortRoundGameplayActive<public><final>()<computes><decides><reads>:void = _FortRoundGameplayHandlerTask? <# Start listening to Fort Round Events. Calling this before OnAddedToScene will silently fail. If Fort Round is already running, will trigger the FortRoundSimulate callbacks immediately. #> StartFortRoundGameplay<public><final>():void = { SelfComponent := if (_SelfComponent := component[Self]). _SelfComponent else. return if (not SelfComponent.IsInScene[]). return if (IsFortRoundSimulating?). OnFortRoundStartInternal() if (IsFortRoundGameplayActive[]). return if (FortRoundManager := SelfComponent.Entity.GetFortRoundManager[]) { InitializeEventsInternal()
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.