ezEngine  Milestone 7
ezPlugin::PluginEvent Struct Reference

The data that is broadcast whenever a plugin is (un-) loaded. More...

#include <Plugin.h>

Public Types

enum  Type {
  BeforeLoading, AfterLoadingBeforeInit, AfterLoading, BeforeUnloading,
  AfterUnloading, BeforePluginChanges, AfterPluginChanges
}
 

Public Attributes

Type m_EventType
 Which type of event this is.
 
ezPluginm_pPluginObject
 Which plugin object is affected. Only available in 'AfterLoading' and 'BeforeUnloading'.
 
const char * m_szPluginFile
 The file name in which the plugin that is loaded or unloaded is located.
 

Detailed Description

The data that is broadcast whenever a plugin is (un-) loaded.

Member Enumeration Documentation

Enumerator
BeforeLoading 

Sent shortly before a new plugin is loaded.

AfterLoadingBeforeInit 

Sent immediately after a new plugin has been loaded, even before it is initialized (which might trigger loading of other plugins)

AfterLoading 

Sent after a new plugin has been loaded and initialized.

BeforeUnloading 

Sent before a plugin is going to be unloaded.

AfterUnloading 

Sent after a plugin has been unloaded.

BeforePluginChanges 

Sent (once) before any (group) plugin changes (load/unload) are done.

AfterPluginChanges 

Sent (once) after all (group) plugin changes (unload/load/reload) are finished.


The documentation for this struct was generated from the following file: