コード例 #1
0
ファイル: ImportTableEntry.cs プロジェクト: Mgamerz/ME3Libs
        public bool LoadFromSource(PCCFile source)
        {
            SourcePCC = source;

            var entry = PCCFile.GetExportFromImport(this);

            if (entry == null)
            {
                return(false);
            }
            SourceEntry = entry as ExportTableEntry;

            Object     = SourceEntry.Object;
            ObjectType = SourceEntry.ObjectType;

            OuterObject = entry.OuterObject;
            OuterName   = entry.OuterName;

            FullyLoaded = true;

            return(true);
        }