protected VltCollection GetCollection(ModScriptDatabaseHelper database, string className, string collectionName, bool throwOnMissing = true) { VltCollection collection = database.FindCollectionByName(className, collectionName); if (collection == null && throwOnMissing) { throw new ModScriptCommandExecutionException($"Cannot find collection: {className}/{collectionName}"); } return(collection); }
public abstract void Execute(ModScriptDatabaseHelper database);
public override void Execute(ModScriptDatabaseHelper database) { throw new System.NotImplementedException(); }