public static TurnTimelineElligibility alloc(ref TurnTimelineElligibilityData p_turnTimelineElligibilityData) { TurnTimelineElligibility l_instance = new TurnTimelineElligibility(); l_instance.TurnTimelineElligibilityData = p_turnTimelineElligibilityData; return(l_instance); }
public EventCallbackResponse Execute(ref AEntityComponent p_entityComponent) { TurnTimelineElligibility l_turnTimelineElligibility = (TurnTimelineElligibility)p_entityComponent; if (l_turnTimelineElligibility.TurnTimelineElligibilityData.IsElligibleForTimeline) { TurnTimeline.TimelineOrderingDatas.Remove(p_entityComponent.AssociatedEntity); } return(EventCallbackResponse.OK); }
public override void Initialize(Entity p_entity, RuntimeObjectRootComponent p_runtimeObjectRootComponent) { TurnTimelineElligibility l_turnTimelineElligiblity = TurnTimelineElligibility.alloc(ref TurnTimelineElligibilityData); EntityComponent.add_component <TurnTimelineElligibility>(p_entity, l_turnTimelineElligiblity); }
public static void AddTurnTimelineEllibilityToTimeline(TurnTimeline p_turnTimeline, TurnTimelineElligibility p_turnTimelineElligibility) { if (p_turnTimelineElligibility.TurnTimelineElligibilityData.IsElligibleForTimeline) { TurnTimeline.addEntityToTimeline(p_turnTimeline, p_turnTimelineElligibility.AssociatedEntity); } }