Example #1
0
void MainBackupLoop::DealWithDirectory(path rep_path)
{
    if (!is_excluded(rep_path))
    {
        path bak_rep=config_ptr->home_to_backup(rep_path);
        if (!is_directory(bak_rep)) 
        { 
            Utilities(config_ptr).create_directory_tree(bak_rep); 
        }
        loopOverDirectory(rep_path); 
    }
}
// Sets default values
APlayerCharacter::APlayerCharacter(const class FObjectInitializer& PCIP) : Super(), Utils(Utilities(this)) {
    // Set this character to call Tick() every frame.  You can turn this off to improve performance if you don't need it.
    PrimaryActorTick.bCanEverTick = true;
    CreateComponentFromTemplate(NewObject<UInventoryComponent>());
    GetCharacterMovement()->GetNavAgentPropertiesRef().bCanCrouch = true;
    
    selectedQuickSlot = Primary;
}