Package net.citizensnpcs.api.scripting
Interface CompileCallback
public interface CompileCallback
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onScriptCompiled
(String sourceDescriptor, ScriptFactory compiled) Called when theScriptFactory
has been compiled successfully.
-
Method Details
-
onScriptCompiled
Called when theScriptFactory
has been compiled successfully. Note that this may be called in another thread - make sure your handling code is threadsafe.- Parameters:
sourceDescriptor
- A source description: may be a file name or a unique identifier assigned to a source string, or null.compiled
- The compiled source code
-