Метод PUT, виджет АГК
This commit is contained in:
parent
f6557495d7
commit
01fccabfc7
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -11,8 +11,8 @@ CopyrightNotice=All rights are reserved for LLC "CyberCode"
|
||||
[/Script/UnrealEd.ProjectPackagingSettings]
|
||||
Build=IfProjectHasCode
|
||||
BuildConfiguration=PPBC_Development
|
||||
BuildTarget=COFKK_MultiplayerServer
|
||||
StagingDirectory=(Path="D:/UnrealProjects/Builds/29.01.2024")
|
||||
BuildTarget=COFKK_Multiplayer
|
||||
StagingDirectory=(Path="C:/Builds/07.05.2024")
|
||||
FullRebuild=False
|
||||
ForDistribution=False
|
||||
IncludeDebugFiles=True
|
||||
@ -49,6 +49,7 @@ InternationalizationPreset=All
|
||||
-CulturesToStage=en
|
||||
+CulturesToStage=en
|
||||
+CulturesToStage=ru-RU
|
||||
+CulturesToStage=ru
|
||||
LocalizationTargetCatchAllChunkId=0
|
||||
bCookAll=False
|
||||
bCookMapsOnly=False
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Content/Images/sensor.uasset
Normal file
BIN
Content/Images/sensor.uasset
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
16
Source/COFKK_Multiplayer/ReadFromFile.cpp
Normal file
16
Source/COFKK_Multiplayer/ReadFromFile.cpp
Normal file
@ -0,0 +1,16 @@
|
||||
// All rights are reserved for LLC "CyberCode"
|
||||
|
||||
|
||||
#include "ReadFromFile.h"
|
||||
#include "Misc/Paths.h"
|
||||
#include "Misc/FileHelper.h"
|
||||
|
||||
bool UReadFromFile::LoadTxt(FString FileNameA, FString& SaveTextA)
|
||||
{
|
||||
return FFileHelper::LoadFileToString(SaveTextA, *(FPaths::ProjectContentDir() + FileNameA));
|
||||
}
|
||||
|
||||
bool UReadFromFile::SaveTxt(FString SaveTextB, FString FileNameB)
|
||||
{
|
||||
return FFileHelper::SaveStringToFile(SaveTextB, *(FPaths::ProjectContentDir() + FileNameB));
|
||||
}
|
||||
22
Source/COFKK_Multiplayer/ReadFromFile.h
Normal file
22
Source/COFKK_Multiplayer/ReadFromFile.h
Normal file
@ -0,0 +1,22 @@
|
||||
// All rights are reserved for LLC "CyberCode"
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "Kismet/BlueprintFunctionLibrary.h"
|
||||
#include "ReadFromFile.generated.h"
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
UCLASS()
|
||||
class COFKK_MULTIPLAYER_API UReadFromFile : public UBlueprintFunctionLibrary
|
||||
{
|
||||
GENERATED_BODY() public:
|
||||
|
||||
UFUNCTION(BlueprintPure, Category = "Custom", meta = (Keywords = "LoadTxt"))
|
||||
static bool LoadTxt(FString FileNameA, FString& SaveTextA);
|
||||
|
||||
UFUNCTION(BlueprintCallable, Category = "Custom", meta = (Keywords = "SaveTxt"))
|
||||
static bool SaveTxt(FString SaveTextB, FString FileNameB);
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user