29. Globe progress bar
This commit is contained in:
@ -63,10 +63,13 @@ void gen_UGasaAttributeSet()
|
||||
body.append( fmt_newline );
|
||||
|
||||
body.append( def_pragma( txt("region UObject")));
|
||||
body.append( parse_function( code(
|
||||
CodeFn GetLifetimeOfReplicatedProps = parse_function( code(
|
||||
void GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const override;
|
||||
)));
|
||||
));
|
||||
body.append( GetLifetimeOfReplicatedProps );
|
||||
body.append( def_pragma( txt("endregion UObject")));
|
||||
|
||||
String test = GetLifetimeOfReplicatedProps.to_string();
|
||||
}
|
||||
GasaAttributeSet = def_class( class_name, body
|
||||
, type_UAttributeSet, AccessSpec::Public
|
||||
|
@ -2033,7 +2033,7 @@ void CodeFn::to_string_fwd( String& result )
|
||||
}
|
||||
}
|
||||
|
||||
if ( ast->Specs.has( ESpecifier::Pure ) )
|
||||
if ( ast->Specs.has( ESpecifier::Pure ) >= 0 )
|
||||
result.append( " = 0;" );
|
||||
else if (ast->Body)
|
||||
result.append_fmt( " = %S;", ast->Body.to_string() );
|
||||
|
@ -1161,7 +1161,7 @@ struct CodeSpecifiers
|
||||
{
|
||||
for ( s32 idx = 0; idx < raw()->NumEntries; idx++ )
|
||||
{
|
||||
if ( raw()->ArrSpecs[ raw()->NumEntries ] == spec )
|
||||
if ( raw()->ArrSpecs[ idx ] == spec )
|
||||
return idx;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user