Server.MirObjects.NPCScript.NPCScript C# (CSharp) Method

NPCScript() private method

private NPCScript ( uint loadedObjectID, string fileName, NPCScriptType type ) : Server.MirDatabase
loadedObjectID uint
fileName string
type NPCScriptType
return Server.MirDatabase
        private NPCScript(uint loadedObjectID, string fileName, NPCScriptType type)
        {
            ScriptID = ++Envir.ScriptIndex;

            LoadedObjectID = loadedObjectID;
            FileName = fileName;
            Type = type;

            Load();

            Envir.Scripts.Add(ScriptID, this);
        }