Server.MirObjects.NPCScript.NPCScript C# (CSharp) Méthode

NPCScript() private méthode

private NPCScript ( uint loadedObjectID, string fileName, NPCScriptType type ) : Server.MirDatabase
loadedObjectID uint
fileName string
type NPCScriptType
Résultat 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);
        }