минор, добавил имя сервера
This commit is contained in:
@@ -365,4 +365,10 @@ void UCPPGameInstance::SendStatus(int32 NumberStatus,FString command)
|
||||
void UCPPGameInstance::runSelf(FString argument)
|
||||
{
|
||||
FPlatformProcess::CreateProc(FPlatformProcess::ExecutableName(false), *argument, true, false, false, NULL, 0, NULL, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
FString UCPPGameInstance::getPCname()
|
||||
{
|
||||
const TCHAR *name = FPlatformProcess::ComputerName();
|
||||
return FString(name);
|
||||
}
|
||||
|
||||
@@ -80,4 +80,6 @@ public:
|
||||
static void SetWinSize(int sizeX, int sizeY);
|
||||
UFUNCTION(BlueprintCallable, Category = "Custom",meta=(ToolTip="execute this app again with argument"))
|
||||
static void runSelf(FString argument);
|
||||
UFUNCTION(BlueprintCallable,BlueprintPure, Category = "Custom", meta = (ToolTip = "get net name of this machine"))
|
||||
FString getPCname();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user