M&B: Bannerlord 1.3.4
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
SandBox.SandBoxSaveHelper Class Reference

Classes

struct  ModuleCheckResult
 

Public Types

enum  SaveHelperState {
  Start ,
  Inquiry ,
  LoadGame
}
 

Static Public Member Functions

static void TryLoadSave (SaveGameFileInfo saveInfo, Action< LoadResult > onStartGame, Action onCancel=null)
 
static MBReadOnlyList< ModuleCheckResultCheckMetaDataCompatibilityErrors (MetaData fileMetaData)
 
static bool GetIsDisabledWithReason (SaveGameFileInfo saveGameFileInfo, out TextObject reason)
 
static string GetModuleNameFromModuleId (string id)
 

Events

static Action< SaveHelperStateOnStateChange
 

Member Enumeration Documentation

◆ SaveHelperState

Enumerator
Start 
Inquiry 
LoadGame 

Member Function Documentation

◆ TryLoadSave()

static void SandBox.SandBoxSaveHelper.TryLoadSave ( SaveGameFileInfo saveInfo,
Action< LoadResult > onStartGame,
Action onCancel = null )
static

◆ CheckMetaDataCompatibilityErrors()

static MBReadOnlyList< ModuleCheckResult > SandBox.SandBoxSaveHelper.CheckMetaDataCompatibilityErrors ( MetaData fileMetaData)
static

◆ GetIsDisabledWithReason()

static bool SandBox.SandBoxSaveHelper.GetIsDisabledWithReason ( SaveGameFileInfo saveGameFileInfo,
out TextObject reason )
static

◆ GetModuleNameFromModuleId()

static string SandBox.SandBoxSaveHelper.GetModuleNameFromModuleId ( string id)
static

Event Documentation

◆ OnStateChange

Action<SaveHelperState> SandBox.SandBoxSaveHelper.OnStateChange
static