MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / Release

Method Release

Sources/Jazz2/Scripting/ScriptActorWrapper.cpp:210–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208 }
209
210 void ScriptActorWrapper::Release()
211 {
212 // Release the script instance too
213 if (!_isDead->Get()) {
214 _obj->Release();
215 }
216 if (--_refCount == 0) {
217 this->~ScriptActorWrapper();
218 asFreeMem(this);
219 }
220 }
221
222 Task<bool> ScriptActorWrapper::OnActivatedAsync(const Actors::ActorActivationDetails& details)
223 {

Callers 4

~ScriptActorWrapperMethod · 0.45
OnActivatedAsyncMethod · 0.45
OnHandleCollisionMethod · 0.45
OnCollectMethod · 0.45

Calls 2

~ScriptActorWrapperMethod · 0.95
GetMethod · 0.45

Tested by

no test coverage detected