using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Reflection; using System.Runtime.CompilerServices; using System.Linq; namespace RageCoop.Core.Scripting { public abstract class Scriptable { public abstract void OnStart(); public abstract void OnStop(); /// /// Get the instance where this script is loaded from. /// public ResourceFile CurrentFile { get; internal set; } /// /// Get the object this script belongs to, this property will be initiated before (will be null if you access it in the constructor). /// public Resource CurrentResource { get; internal set; } } }