@@ -195,19 +195,19 @@ class SAVEEXTENSION_API USaveManager : public UGameInstanceSubsystem, public FTi
195195
196196 /* * Load game from a slot name */
197197 UFUNCTION (BlueprintCallable, Category = " SaveExtension|Loading" ,
198- meta = (DisplayName = " Load Slot from Id " , Latent, LatentInfo = " LatentInfo" ,
198+ meta = (DisplayName = " Load Slot" , Latent, LatentInfo = " LatentInfo" ,
199199 ExpandEnumAsExecs = " Result" , UnsafeDuringActorConstruction))
200200 void BPLoadSlot (FName SlotName, ELoadGameResult& Result, FLatentActionInfo LatentInfo);
201201
202202 /* * Load game from a slot Id */
203203 UFUNCTION (BlueprintCallable, Category = " SaveExtension|Loading" ,
204- meta = (DisplayName = " Load Slot from Id" , Latent, LatentInfo = " LatentInfo" ,
204+ meta = (DisplayName = " Load Slot by Id" , Latent, LatentInfo = " LatentInfo" ,
205205 ExpandEnumAsExecs = " Result" , UnsafeDuringActorConstruction))
206206 void BPLoadSlotById (int32 SlotId, ELoadGameResult& Result, FLatentActionInfo LatentInfo);
207207
208208 /* * Load game from a SlotInfo */
209209 UFUNCTION (BlueprintCallable, Category = " SaveExtension|Loading" ,
210- meta = (DisplayName = " Load Slot" , Latent, LatentInfo = " LatentInfo" , ExpandEnumAsExecs = " Result" ,
210+ meta = (DisplayName = " Load Slot by Info " , Latent, LatentInfo = " LatentInfo" , ExpandEnumAsExecs = " Result" ,
211211 UnsafeDuringActorConstruction))
212212 void BPLoadSlotByInfo (const USlotInfo* SlotInfo, ELoadGameResult& Result, FLatentActionInfo LatentInfo);
213213
@@ -443,6 +443,25 @@ class SAVEEXTENSION_API USaveManager : public UGameInstanceSubsystem, public FTi
443443public:
444444 /* * Get the global save manager */
445445 static USaveManager* Get (const UObject* ContextObject);
446+
447+
448+ /* **********************************************************************/
449+ /* DEPRECATED */
450+ /* **********************************************************************/
451+
452+ UFUNCTION (Category = " SaveExtension|Saving" , BlueprintCallable, meta = (DeprecatedFunction, DeprecationMessage=" Use 'Save Slot by Id' instead." ,
453+ AdvancedDisplay = " bScreenshot, Size" , DisplayName = " Save Slot to Id" , Latent, LatentInfo = " LatentInfo" , ExpandEnumAsExecs = " Result" , UnsafeDuringActorConstruction))
454+ void BPSaveSlotToId (int32 SlotId, bool bScreenshot, const FScreenshotSize Size, ESaveGameResult& Result, FLatentActionInfo LatentInfo, bool bOverrideIfNeeded = true )
455+ {
456+ BPSaveSlotById (SlotId, bScreenshot, Size, Result, LatentInfo, bOverrideIfNeeded);
457+ }
458+
459+ UFUNCTION (BlueprintCallable, Category = " SaveExtension|Loading" , meta = (DeprecatedFunction, DeprecationMessage=" Use 'Load Slot by Id' instead." ,
460+ DisplayName = " Load Slot from Id" , Latent, LatentInfo = " LatentInfo" , ExpandEnumAsExecs = " Result" , UnsafeDuringActorConstruction))
461+ void BPLoadSlotFromId (int32 SlotId, ELoadGameResult& Result, FLatentActionInfo LatentInfo)
462+ {
463+ BPLoadSlotById (SlotId, Result, LatentInfo);
464+ }
446465};
447466
448467
0 commit comments