<commit_before>#include "RTSContainableComponent.h"

#include "GameFramework/Actor.h"
#include "Net/UnrealNetwork.h"

#include "RTSContainerComponent.h"
#include "RTSLog.h"
#include "Combat/RTSHealthComponent.h"


URTSContainableComponent::URTSContainableComponent(const FObjectInitializer& ObjectInitializer /*= FObjectInitializer::Get()*/)
    : Super(ObjectInitializer)
{
    SetIsReplicated(true);
}

void URTSContainableComponent::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const
{
    Super::GetLifetimeReplicatedProps(OutLifetimeProps);

    DOREPLIFETIME(URTSContainableComponent, Container);
}

void URTSContainableComponent::BeginPlay()
{<commit_msg>Use SetIsReplicatedByDefault for RTSContainableComponent.<commit_after>#include "RTSContainableComponent.h"

#include "GameFramework/Actor.h"
#include "Net/UnrealNetwork.h"

#include "RTSContainerComponent.h"
#include "RTSLog.h"
#include "Combat/RTSHealthComponent.h"


URTSContainableComponent::URTSContainableComponent(const FObjectInitializer& ObjectInitializer /*= FObjectInitializer::Get()*/)
    : Super(ObjectInitializer)
{
    SetIsReplicatedByDefault(true);
}

void URTSContainableComponent::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const
{
    Super::GetLifetimeReplicatedProps(OutLifetimeProps);

    DOREPLIFETIME(URTSContainableComponent, Container);
}

void URTSContainableComponent::BeginPlay()
{
{'fraction_non_alphanumeric': 0.10552061495457722, 'fraction_numerical': 0.0, 'mean_word_length': 9.302158273381295, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3115658', 'n_tokens_mistral': 468, 'n_tokens_neox': 463, 'n_words': 57}