Lots of refactoring in IntegrationGameModeBase

This commit is contained in:
2023-09-05 03:20:11 -04:00
parent cfc536011e
commit 1482e5e43f
6 changed files with 109 additions and 51 deletions

View File

@@ -121,6 +121,13 @@ private:
// Truncate the console to a reasonable number of
// lines. The length is hardwired.
void Truncate();
// Add a newline if there isn't one. Returns true if it changed anything.
bool MaybeAppendNewline();
// Append text. Returns true if it changed anything.
bool MaybeAppendText(const FString& text);
public:
// Append a line of text to the console.
void Append(const FString& text);