Elaztek Developer Hub
Blamite Game Engine - Strings  00425.12.30.24.2120.blamite
A library containing general purpose utilities and classes for use in multiple projects.
ObjectDeleteEvent Class Reference

Class representing an object delete event. More...

#include <ObjectDeleteEvent.h>

+ Inheritance diagram for ObjectDeleteEvent:
+ Collaboration diagram for ObjectDeleteEvent:

Public Member Functions

 ObjectDeleteEvent (uint64_t _object_id, void *_object)
 Constructs a new event. More...
 
uint64_t GetObjectID ()
 
void * GetObjectAddress ()
 
- Public Member Functions inherited from BlamEvent
 BlamEvent (BlamEventType type)
 Constructs a new event with the specified type. More...
 
BlamEventType GetEventType ()
 Retrieves the type of the event. More...
 
void SetCancelled (bool cancel)
 Sets whether or not the event should be cancelled. More...
 
bool IsCancelled ()
 Determines whether or not the event has been cancelled. More...
 

Detailed Description

Class representing an object delete event.

This event is fired anytime a BlamWorldObject is destroyed.

Note
Note that the object data may already be invalidated when the event has been fired. The original address is still provided, however attempting to read this data may result in a crash.

Constructor & Destructor Documentation

◆ ObjectDeleteEvent()

ObjectDeleteEvent::ObjectDeleteEvent ( uint64_t  _object_id,
void *  _object 
)

Constructs a new event.

Member Function Documentation

◆ GetObjectAddress()

void * ObjectDeleteEvent::GetObjectAddress ( )

◆ GetObjectID()

uint64_t ObjectDeleteEvent::GetObjectID ( )

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