Skip to content
Snippets Groups Projects
Select Git revision
  • 87efad68194874f1318b86a32105eb65cc55091b
  • main default protected
  • patch-1
3 results

custom_functions.h

Blame
  • Forked from bits_libs / BitS2 bare Minimum
    Source project has a limited visibility.
    CAVELaunchButtonCommands.cpp 612 B
    // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
    
    #include "CAVELaunchButtonCommands.h"
    #include "CAVELaunchButtonSettings.h"
    
    #define LOCTEXT_NAMESPACE "FCAVELaunchButtonModule"
    
    void FCAVELaunchButtonCommands::RegisterCommands()
    {
    	if(GetDefault<UCAVELaunchButtonSettings>()->StartROLVInsteadOfCAVE)
    	{
    		UI_COMMAND(PluginAction, "PlayOnROLV", "Launch current project on ROLV", EUserInterfaceActionType::Button, FInputGesture());
    	}else
    	{
    		UI_COMMAND(PluginAction, "PlayInCAVE", "Launch current project in CAVE", EUserInterfaceActionType::Button, FInputGesture());
    	}
    }
    
    #undef LOCTEXT_NAMESPACE