setGeneratorRef abstract method

void setGeneratorRef(
  1. int assetId,
  2. int ref
)

Store a generator ref in the scripting context, keyed by asset ID. This allows ScriptAsset::initScriptedObjectWith() to look up refs without needing to serialize/deserialize through genRuntimeFile.

Implementation

void setGeneratorRef(int assetId, int ref);