v1.0 с лицензией

This commit is contained in:
Andron666
2021-10-28 19:13:21 +05:00
parent 028829d250
commit a4abb8bc51
671 changed files with 36489 additions and 15046 deletions
+10
View File
@@ -188,6 +188,16 @@ bool UCPPGameInstance::LoadTxt(FString FileNameA, FString& SaveTextA)
return FFileHelper::LoadFileToString(SaveTextA, *(FPaths::ProjectDir() + FileNameA));
}
bool UCPPGameInstance::SaveTxtFull(FString SaveText, FString FullFileName)
{
return FFileHelper::SaveStringToFile(SaveText, *FullFileName);
}
bool UCPPGameInstance::LoadTxtFull(FString FullFileName, FString& SaveText)
{
return FFileHelper::LoadFileToString(SaveText, *FullFileName);
}
void UCPPGameInstance::SetWinPos(int posX, int posY)
{
SetWindowPos(
+6
View File
@@ -71,6 +71,12 @@ public:
UFUNCTION(BlueprintCallable, Category = "Custom", meta = (Keywords = "LoadTxt"))
static bool LoadTxt(FString FileNameA, FString& SaveTextA);
UFUNCTION(BlueprintCallable, Category = "Custom", meta = (Keywords = "LoadTxtFull"))
static bool SaveTxtFull(FString SaveText, FString FullFileName);
UFUNCTION(BlueprintCallable, Category = "Custom", meta = (Keywords = "SaveTxtFull"))
static bool LoadTxtFull(FString FullFileName, FString & SaveText);
UFUNCTION(BlueprintCallable, Category = "Custom", meta = (Keywords = "SaveTxt"))
static bool SaveTxt(FString SaveTextB, FString FileNameB);