Example #1
0
        public FLazyObjectPtr(FLazyObjectPtr other)
        {
            uniqueObjectGuid = new TPersistentObjectPtr <FUniqueObjectGuid>();
            uniqueObjectGuid.WeakPtr.Reset();
            uniqueObjectGuid.TagAtLastTest = 0;

            Guid = other.uniqueObjectGuid.ObjectID;
        }
Example #2
0
        public FLazyObjectPtr(UObject obj)
        {
            uniqueObjectGuid = new TPersistentObjectPtr <FUniqueObjectGuid>();
            uniqueObjectGuid.WeakPtr.Reset();
            uniqueObjectGuid.TagAtLastTest = 0;

            Set(obj);
        }
Example #3
0
        public FLazyObjectPtr(FUniqueObjectGuid guid)
        {
            uniqueObjectGuid = new TPersistentObjectPtr <FUniqueObjectGuid>();
            uniqueObjectGuid.WeakPtr.Reset();
            uniqueObjectGuid.TagAtLastTest = 0;

            Guid = guid;
        }
Example #4
0
        public FSoftObjectPtrUnsafe(UObject obj)
        {
            objectPath = new TPersistentObjectPtr <FSoftObjectPathUnsafe>();
            objectPath.WeakPtr.Reset();
            objectPath.TagAtLastTest = 0;

            Set(obj);
        }
Example #5
0
        public FSoftObjectPtrUnsafe(FSoftObjectPtrUnsafe other)
        {
            objectPath = new TPersistentObjectPtr <FSoftObjectPathUnsafe>();
            objectPath.WeakPtr.Reset();
            objectPath.TagAtLastTest = 0;

            ObjectPath = other.objectPath.ObjectID.ToSafe();
        }
Example #6
0
        public FSoftObjectPtrUnsafe(FSoftObjectPath assetRef)
        {
            objectPath = new TPersistentObjectPtr <FSoftObjectPathUnsafe>();
            objectPath.WeakPtr.Reset();
            objectPath.TagAtLastTest = 0;

            ObjectPath = assetRef;
        }
Example #7
0
        public FSoftObjectPtrUnsafe(FName assetPathName, string subPathString)
        {
            objectPath = new TPersistentObjectPtr <FSoftObjectPathUnsafe>();
            objectPath.WeakPtr.Reset();
            objectPath.TagAtLastTest = 0;

            objectPath.ObjectID.AssetPathName = assetPathName;
            objectPath.ObjectID.SubPathString = subPathString;
        }