Jazz2::Scripting::ScriptCollectibleWrapper class

Base classes

class ScriptActorWrapper

Constructors, destructors, conversion operators

ScriptCollectibleWrapper(LevelScriptLoader* levelScripts, asIScriptObject* obj)

Public functions

auto OnHandleCollision(std::shared_ptr<ActorBase> other) -> bool override

Protected functions

auto OnActivatedAsync(const Actors::ActorActivationDetails& details) -> Task<bool> override
Called when the object is created and activated.
auto OnCollect(Actors::Player* player) -> bool