A link pointing to external events (or events of another layout) that should be included and run instead of the link.
More...
|
| virtual gd::LinkEvent * | Clone () const override |
| |
| const gd::String & | GetTarget () const |
| |
| void | SetTarget (const gd::String &target_) |
| |
| IncludeConfig | GetIncludeConfig () const |
| |
| void | SetIncludeAllEvents () |
| |
|
void | SetIncludeEventsGroup (const gd::String &name) |
| |
| void | SetIncludeStartAndEnd (std::size_t includeStart_, std::size_t includeEnd_) |
| |
|
gd::String | GetEventsGroupName () const |
| |
| std::size_t | GetIncludeStart () const |
| |
| std::size_t | GetIncludeEnd () const |
| |
| virtual bool | MustBePreprocessed () override |
| |
| const EventsList * | GetLinkedEvents (const gd::Project &project) const |
| | Get a pointer to the list of events that are targeted by the link. More...
|
| |
|
void | ReplaceLinkByLinkedEvents (const gd::Project &project, EventsList &eventList, std::size_t indexOfTheEventInThisList) |
| | Replace the link in the events list by the linked events. When implementing a platform with a link event, you should call this function when preprocessing the events (See gd::EventMetadata::codeGeneration).
|
| |
| virtual bool | IsExecutable () const override |
| |
| virtual std::vector< gd::String > | GetAllSearchableStrings () const override |
| | Return a list of all strings of the event. More...
|
| |
|
virtual bool | ReplaceAllSearchableStrings (std::vector< gd::String > newSearchableString) override |
| |
|
virtual void | SerializeTo (SerializerElement &element) const override |
| | Serialize event.
|
| |
|
virtual void | UnserializeFrom (gd::Project &project, const SerializerElement &element) override |
| | Unserialize the event.
|
| |
|
bool | AcceptVisitor (gd::EventVisitor &eventVisitor) override |
| |
|
void | AcceptVisitor (gd::ReadOnlyEventVisitor &eventVisitor) const override |
| |
| virtual bool | CanHaveSubEvents () const |
| |
| virtual const gd::EventsList & | GetSubEvents () const |
| |
| virtual gd::EventsList & | GetSubEvents () |
| |
| bool | HasSubEvents () const |
| | Return true if the events has sub events. More...
|
| |
| virtual bool | CanHaveVariables () const |
| |
| virtual const gd::VariablesContainer & | GetVariables () const |
| |
| virtual gd::VariablesContainer & | GetVariables () |
| |
| bool | HasVariables () const |
| | Return true if the events has local variables. More...
|
| |
| virtual std::vector< gd::InstructionsList * > | GetAllConditionsVectors () |
| | Return a list of all conditions of the event. More...
|
| |
|
virtual std::vector< const gd::InstructionsList * > | GetAllConditionsVectors () const |
| |
| virtual std::vector< gd::InstructionsList * > | GetAllActionsVectors () |
| | Return a list of all actions of the event. More...
|
| |
|
virtual std::vector< const gd::InstructionsList * > | GetAllActionsVectors () const |
| |
| virtual std::vector< std::pair< gd::Expression *, gd::ParameterMetadata > > | GetAllExpressionsWithMetadata () |
| | Return a list of all expressions of the event, each with their associated metadata. More...
|
| |
|
virtual std::vector< std::pair< const gd::Expression *, const gd::ParameterMetadata > > | GetAllExpressionsWithMetadata () const |
| |
| virtual gd::String | GenerateEventCode (gd::EventsCodeGenerator &codeGenerator, gd::EventsCodeGenerationContext &context) |
| | Generate the code event: the platform provided by codeGenerator is asked for the EventMetadata associated to the event, which is then used to generate the code event. More...
|
| |
| virtual void | Preprocess (gd::EventsCodeGenerator &codeGenerator, gd::EventsList &eventList, std::size_t indexOfTheEventInThisList) |
| |
| void | PreprocessAsyncActions (const gd::Platform &platform) |
| |
|
const gd::String & | GetType () const |
| | Return the event type.
|
| |
|
void | SetType (gd::String type_) |
| | Change the event type.
|
| |
|
void | SetDisabled (bool disable=true) |
| | Set if the event if disabled or not.
|
| |
|
bool | IsDisabled () const |
| | True if event is disabled.
|
| |
|
void | SetFolded (bool fold=true) |
| | Set if the event must be folded (i.e: sub events must be hidden in the events editor).
|
| |
|
bool | IsFolded () const |
| | True if the event should be folded in the events editor.
|
| |
|
void | SetAiGeneratedEventId (const gd::String &aiGeneratedEventId_) |
| | Set the AI generated event ID.
|
| |
|
const gd::String & | GetAiGeneratedEventId () const |
| | Get the AI generated event ID.
|
| |
A link pointing to external events (or events of another layout) that should be included and run instead of the link.