MCPcopy Create free account
hub / github.com/CytopiaTeam/Cytopia / CScriptAny

Method CScriptAny

external/as_add_on/scriptany/scriptany.cpp:243–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243CScriptAny::CScriptAny(asIScriptEngine *engine)
244{
245 this->engine = engine;
246 refCount = 1;
247 gcFlag = false;
248
249 value.typeId = 0;
250 value.valueInt = 0;
251
252 // Notify the garbage collector of this object
253 engine->NotifyGarbageCollectorOfNewObject(this, engine->GetTypeInfoByName("any"));
254}
255
256CScriptAny::CScriptAny(void *ref, int refTypeId, asIScriptEngine *engine)
257{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected