示例#1
0
            public async Task <string> GetFullName()
            {
                if (!FullName.Empty())
                {
                    return(FullName);
                }

                var cClass = await GetClass();

                if (!cClass.IsValid())
                {
                    return("(null)");
                }

                string temp = string.Empty;

                for (UEObject outer = await GetOuter(); outer.IsValid(); outer = await outer.GetOuter())
                {
                    temp = temp.Insert(0, $"{await outer.GetName()}.");
                }

                FullName = $"{await cClass.GetName()} {temp}{await GetName()}";

                return(FullName);
            }
示例#2
0
            public async Task <UEObject> GetPackageObject()
            {
                if (Package != null)
                {
                    return(Package);
                }

                // Package Is The Last Outer
                for (UEObject outer = await GetOuter(); outer.IsValid(); outer = await outer.GetOuter())
                {
                    Package = outer;
                }

                return(Package ?? (Package = await ObjectsStore.GetByAddress(Object.ObjAddress)));
            }