You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
31 lines
898 B
C++
31 lines
898 B
C++
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "FieldArchiveProxy.h"
|
|
#include "UnrealHeaderTool.h"
|
|
#include "UHTMakefile.h"
|
|
|
|
FFieldArchiveProxy::FFieldArchiveProxy(FUHTMakefile& UHTMakefile, const UField* Field)
|
|
: FObjectBaseArchiveProxy(UHTMakefile, Field)
|
|
{
|
|
NextIndex = UHTMakefile.GetFieldIndex(Field->Next);
|
|
}
|
|
|
|
void FFieldArchiveProxy::Resolve(UField* Field, const FUHTMakefile& UHTMakefile) const
|
|
{
|
|
FObjectBaseArchiveProxy::Resolve(Field, UHTMakefile);
|
|
Field->Next = UHTMakefile.GetFieldByIndex(NextIndex);
|
|
}
|
|
|
|
void FFieldArchiveProxy::AddReferencedNames(const UField* Field, FUHTMakefile& UHTMakefile)
|
|
{
|
|
FObjectBaseArchiveProxy::AddReferencedNames(Field, UHTMakefile);
|
|
}
|
|
|
|
FArchive& operator<<(FArchive& Ar, FFieldArchiveProxy& FieldArchiveProxy)
|
|
{
|
|
Ar << static_cast<FObjectBaseArchiveProxy&>(FieldArchiveProxy);
|
|
Ar << FieldArchiveProxy.NextIndex;
|
|
|
|
return Ar;
|
|
}
|