MCPcopy Create free account
hub / github.com/20tab/UnrealEnginePython / Serialize

Method Serialize

Source/PythonConsole/Private/SPythonLog.cpp:449–460  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

447}
448
449void SPythonLog::Serialize(const TCHAR* V, ELogVerbosity::Type Verbosity, const class FName& Category)
450{
451 //UE_LOG(LogTemp, Warning, TEXT("%s"), Category.ToString())
452 if (MessagesTextMarshaller->AppendMessage(V, Verbosity, Category))
453 {
454 // Don't scroll to the bottom automatically when the user is scrolling the view or has scrolled it away from the bottom.
455 if (!bIsUserScrolled)
456 {
457 MessagesTextBox->ScrollTo(FTextLocation(MessagesTextMarshaller->GetNumMessages() - 1));
458 }
459 }
460}
461
462void SPythonLog::ExtendTextBoxMenu(FMenuBuilder& Builder)
463{

Callers

nothing calls this directly

Calls 2

AppendMessageMethod · 0.80
GetNumMessagesMethod · 0.80

Tested by

no test coverage detected