Jazz2::Scripting::Legacy::ScriptEventObject class

Object of an event the game has no object of (EventType::PassthroughEvent).

JJ2+ makes an object of every event, a script drives some of them (ThreedRealms spawns its cars from one) - this one is made only where the template of the event has a behavior of a script, which moves and draws it.

Base classes

class Jazz2::Actors::ActorBase
Base class of an object.

Protected functions

auto OnActivatedAsync(const Actors::ActorActivationDetails& details) -> Task<bool> override
Called when the object is created and activated.
auto OnDraw(RenderQueue& renderQueue) -> bool override
Called when the object needs to be drawn.