GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Public Member Functions | List of all members

Contains a list of events not directly linked to a layout. More...

#include <ExternalEvents.h>

Public Member Functions

 ExternalEvents (const ExternalEvents &)
 
ExternalEventsoperator= (const ExternalEvents &rhs)
 
ExternalEventsClone () const
 Return a pointer to a new ExternalEvents constructed from this one.
 
virtual const gd::StringGetName () const
 Get external events name.
 
virtual void SetName (const gd::String &name_)
 Change external events name.
 
virtual const gd::StringGetAssociatedLayout () const
 Get the layout associated with external events. More...
 
virtual void SetAssociatedLayout (const gd::String &name_)
 Set the layout associated with external events.
 
time_t GetLastChangeTimeStamp () const
 
void SetLastChangeTimeStamp (time_t newTimeStamp)
 
virtual const gd::EventsListGetEvents () const
 Get the events.
 
virtual gd::EventsListGetEvents ()
 Get the events.
 
virtual void SerializeTo (SerializerElement &element) const
 Serialize external events.
 
virtual void UnserializeFrom (gd::Project &project, const SerializerElement &element)
 Unserialize the external events.
 

Detailed Description

Contains a list of events not directly linked to a layout.

Member Function Documentation

virtual const gd::String& gd::ExternalEvents::GetAssociatedLayout ( ) const
inlinevirtual

Get the layout associated with external events.

This is used in the IDE to remember the layout used to edit the external events.

time_t gd::ExternalEvents::GetLastChangeTimeStamp ( ) const
inline

Get the latest time of the build. Used when the IDE found that the external events can be compiled separately from scene's events.

Todo:
This is specific to GD C++ Platform
void gd::ExternalEvents::SetLastChangeTimeStamp ( time_t  newTimeStamp)
inline

Change the latest time of the build of the external events.

Todo:
This is specific to GD C++ Platform

The documentation for this class was generated from the following files: