![]() |
Plasma Engine
2.0
|
These events may be sent by a specific plResource or by the plResourceManager. More...
#include <Declarations.h>
Public Types | |
| enum class | Type { ResourceExists , ResourceCreated , ResourceDeleted , ResourceContentUpdated , ResourceContentUnloading , ResourcePriorityChanged } |
Public Attributes | |
| Type | m_Type |
| plResource * | m_pResource = nullptr |
These events may be sent by a specific plResource or by the plResourceManager.
|
strong |
| Enumerator | |
|---|---|
| ResourceExists | Used to broadcast that a resource exists. Used to inform inspection tools which resources are currently existing. Triggered by plResourceManager::BroadcastExistsEvent(). |
| ResourceCreated | Sent whenever a new resource is added to the system. |
| ResourceDeleted | Sent right before a resource gets deallocated. |
| ResourceContentUpdated | Sent shortly after plResource::UpdateContent() has been called on a resource. |
| ResourceContentUnloading | Resource is about to be unloaded, but still valid at this point.
|
| ResourcePriorityChanged | Sent when the priority of a resource is modified. |