You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Minor fixes to new casts.
* InterfaceCast deprecation version number changed to 4.6. * Double-underscored identifiers replaced with names which aren't reserved. #codereview robert.manuszewski,mike.fricker [CL 2314098 by Steve Robb in Main branch]
This commit is contained in:
@@ -1755,7 +1755,7 @@ void FNativeClassHeaderGenerator::ExportInterfaceClassDeclaration( FClass* Class
|
||||
// to script VM functions
|
||||
if (SuperClass->IsChildOf(UInterface::StaticClass()))
|
||||
{
|
||||
InterfaceBoilerplate.Logf(TEXT("\tvirtual UObject* __GetUObject() const = 0;\r\n"));
|
||||
InterfaceBoilerplate.Logf(TEXT("\tvirtual UObject* _getUObject() const = 0;\r\n"));
|
||||
}
|
||||
|
||||
// Replication, add in the declaration for GetLifetimeReplicatedProps() automatically if there are any net flagged properties
|
||||
@@ -1918,7 +1918,7 @@ void FNativeClassHeaderGenerator::ExportClassHeaderInner(FClass* Class, bool bVa
|
||||
ClassBoilerplate.Logf(TEXT(" static const TCHAR* StaticConfigName() {return TEXT(\"%s\");}\r\n\r\n"), *Class->ClassConfigName.ToString());
|
||||
}
|
||||
|
||||
ClassBoilerplate.Logf(TEXT("%sUObject* __GetUObject() const { return const_cast<%s*>(this); }\r\n"), FCString::Spc(4), ClassCPPName);
|
||||
ClassBoilerplate.Logf(TEXT("%sUObject* _getUObject() const { return const_cast<%s*>(this); }\r\n"), FCString::Spc(4), ClassCPPName);
|
||||
|
||||
// Replication, add in the declaration for GetLifetimeReplicatedProps() automatically if there are any net flagged properties
|
||||
for( TFieldIterator<UProperty> It(Class,EFieldIteratorFlags::ExcludeSuper); It; ++It )
|
||||
|
||||
Reference in New Issue
Block a user