Esempio n. 1
0
 public TES5ScriptHeader(string scriptName, ITES5Type type, string scriptNamePrefix, bool isHidden)
 {
     this.OriginalScriptName = scriptName;
     this.EscapedScriptName  = NameTransformer.Limit(scriptName, scriptNamePrefix);
     this.EDID             = scriptName;
     this.scriptNamePrefix = scriptNamePrefix;
     this.ScriptType       = type;
     this.isHidden         = isHidden;
 }
Esempio n. 2
0
 public TES5CustomType(string originalName, string prefix, ITES5Type nativeType)
 {
     this.escapedName  = NameTransformer.Limit(originalName, prefix);
     this.prefix       = prefix;
     this.originalName = originalName;
     //qt = new ReflectionClass(get_class(this));WTM:  Change:  Unused
     //this.constants = qt.getConstants();
     this.NativeType = nativeType;
 }
 public TES5ScriptHeader(string scriptName, ITES5Type scriptType, string scriptNamePrefix, bool isHidden = false)
 {
     this.OriginalScriptName = scriptName;
     this.EscapedScriptName  = NameTransformer.Limit(scriptName, scriptNamePrefix);
     this.EDID             = scriptName;
     this.scriptNamePrefix = scriptNamePrefix;
     this.ScriptType       = TES5TypeFactory.MemberByValue(scriptName, scriptType);
     this.BasicScriptType  = scriptType;
     this.isHidden         = isHidden;
 }
Esempio n. 4
0
        public string GetTranspileToPath(string scriptName)
        {
            string transformedName = NameTransformer.Limit(scriptName, this.filePrefix);

            return(this.GetTranspiledPath() + this.filePrefix + transformedName + ".psc");
        }