Candide.Save.WorldMapSaveManager
Type JSONpublic class in Candide.Save
Type metadata
- Assembly
Romestead - Namespace
Candide.Save - Base type
System.Object - Hash
D8D0F4AB35F3AC0153AEBFBD4514A4ACDE62413C0CD74C7CB725C96A65839E09
Relationships
Base type
System.Object
Methods
DeleteWorldMap
#
public System.Void DeleteWorldMap(System.Guid gameId)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
8867012BA9DC94C1446ED56B76DABB343FCE2EA3E3B81B8070C612175B88062D - Body hash
C011B74824198D52503C0473A2230CD358F1509D1084CEDA24199E2BF3FDE72E - IL size62
Referenced calls
Candide.Save.WorldMapSaveManager::GetWorldMapSavePath(System.Guid)System.IO.File::Delete(System.String)
GetWorldMapSavePath
#
public System.ValueTuple<System.String, System.String, System.String> GetWorldMapSavePath(System.Guid gameId)
Method metadata
- Visibilitypublic
- Return type
System.ValueTuple<System.String, System.String, System.String> - StaticTrue
- VirtualFalse
- Hash
C5FBBC16DA090D16785D0337A056B521CCE4A2BB3489E14D8F6D577D0FCA887E - Body hash
51CAE6A542D7028633BF957600392396142050EE7DCB82EF599243A14D0AAEEB - IL size83
Referenced calls
System.Object::ToString()Candide.GameModels.Helpers.GamePathHelper::GetFolderPath(Candide.GameModels.Helpers.GameFolder, System.Boolean)System.String::Concat(System.String, System.String)System.IO.Path::Combine(System.String, System.String)System.ValueTuple<System.String, System.String, System.String>::.ctor(!0, !1, !2)
Called by
String literals
.wmap.back.temp
SaveWorldMap
#
public System.Threading.Tasks.Task SaveWorldMap(Candide.Save.SaveModels.WorldMapSaveModel saveModel, System.Boolean doNotCopyOriginalFileToBackup)
Method metadata
- Visibilitypublic
- Return type
System.Threading.Tasks.Task - StaticTrue
- VirtualFalse
- Hash
AF1B5DDCF74271D0A8E5C6AE052E153E422AA5C832AE8AB29BDF24B4A0F81746 - Body hash
19C6AE497F49B28CE220773F85F1B31024BC382DB25CB9425C54A3B8B6010429 - IL size89
Referenced calls
WorldMapSaveManager.<>c__DisplayClass3_0::.ctor()Candide.Save.WorldMapSaveManager::GetWorldMapSavePath(System.Guid)WorldMapSaveManager.<>c__DisplayClass3_0::<SaveWorldMap>b__0()System.Action::.ctor(System.Object, System.IntPtr)System.Threading.Tasks.Task::Run(System.Action)
SaveWorldMap
#
public System.Threading.Tasks.Task SaveWorldMap(System.Boolean loadedFromBackup)
Method metadata
- Visibilitypublic
- Return type
System.Threading.Tasks.Task - StaticTrue
- VirtualFalse
- Hash
4B1396D9A26314C4A1C38D2CF66F558AC05A7FF0BCE25D9DD0638E65540CA949 - Body hash
C9489EC7695361D3F7A952214E43939E36B163EBD251DAE7EEC8E7CB753D6B2C - IL size149
Referenced calls
Candide.World.WorldHandler::IsWorldLoaded()Candide.Save.SaveModels.WorldMapSaveModel::.ctor()System.DateTime::get_UtcNow()Candide.Save.WorldMapSaveManager::SaveWorldMap(Candide.Save.SaveModels.WorldMapSaveModel, System.Boolean)
TryLoadInWorldMap
#
public System.Void TryLoadInWorldMap(Candide.World.WorldMap map, CandideServer.ServerServices.GetFullGameStateResponse model)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
DC202085CE196132EC1E8A9094F5EB4C9A9CAB78FD2CA897C54770ABCCF7ED79 - Body hash
E6D4BDD5E32ACAD7C7A22DC99DF4AC8396FED6019F979C872341EBE97B83E343 - IL size59
Referenced calls
WorldMapSaveManager.<>c__DisplayClass6_0::.ctor()WorldMapSaveManager.<>c__DisplayClass6_0::<TryLoadInWorldMap>b__0()System.Action::.ctor(System.Object, System.IntPtr)System.Threading.Tasks.Task::Run(System.Action)
TryLoadWorldMap
#
public Candide.Save.SaveModels.WorldMapSaveModel TryLoadWorldMap(System.Guid gameId, System.Boolean loadBackupOnly)
Method metadata
- Visibilitypublic
- Return type
Candide.Save.SaveModels.WorldMapSaveModel - StaticTrue
- VirtualFalse
- Hash
0E90B26FA9D17BC0A8852AD7C0B5B0CD864AAA1677117D48F701C4EC3ED34DA8 - Body hash
C8AFE156CFB4D21DB793CC4E258CFFE15D2C0B94DA6EDB3F20E4164791551D9D - IL size260
Referenced calls
Candide.Save.WorldMapSaveManager::GetWorldMapSavePath(System.Guid)System.IO.File::Exists(System.String)System.IO.File::OpenRead(System.String)Candide.Save.WorldMapSaveManager::TryLoadWorldMapFromFileStream(System.IO.FileStream)System.IDisposable::Dispose()System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)
String literals
Error while loading world map file '':Error while loading backup player character file '
TryLoadWorldMapFromFileStream
#
private Candide.Save.SaveModels.WorldMapSaveModel TryLoadWorldMapFromFileStream(System.IO.FileStream fileStream)
Method metadata
- Visibilityprivate
- Return type
Candide.Save.SaveModels.WorldMapSaveModel - StaticTrue
- VirtualFalse
- Hash
A55203411A1D527BBEDD720E673E6F21EBAA38BB97512D04ABD3DE3F754ED22D - Body hash
8BA129A5A68458D7646A7231F0C70D9695814E1CDA3BC0CCC1D2074645DFCF0E - IL size308
Referenced calls
System.IO.MemoryStream::.ctor()System.IO.Compression.GZipStream::.ctor(System.IO.Stream, System.IO.Compression.CompressionMode, System.Boolean)System.IO.Stream::CopyTo(System.IO.Stream)System.IO.Stream::set_Position(System.Int64)System.Text.Encoding::get_UTF8()CandideCreator.Shared.Storage.ExtendedBinaryReader::.ctor(Microsoft.Xna.Framework.Graphics.GraphicsDevice, Microsoft.Xna.Framework.Content.ContentManager, System.IO.Stream, System.Text.Encoding)CandideCreator.Shared.Serialization.CandideDeserializer::.ctor(Microsoft.Xna.Framework.Graphics.GraphicsDevice, Microsoft.Xna.Framework.Content.ContentManager)CandideCreator.Shared.Serialization.CandideDeserializer::Deserialize(CandideCreator.Shared.Serialization.CandideReflection, CandideCreator.Shared.Storage.ExtendedBinaryReader)System.Boolean[,]::.ctor(System.Int32, System.Int32)Shared.Models.WorldTile[,]::.ctor(System.Int32, System.Int32)Shared.Models.WorldTile::.ctor(WorldTile.GroundType, WorldTile.StructureType)System.IO.BinaryReader::ReadByte()Shared.Models.WorldTile[,]::Set(System.Int32, System.Int32, Shared.Models.WorldTile)Shared.Models.WorldTile::op_Inequality(Shared.Models.WorldTile, Shared.Models.WorldTile)System.Boolean[,]::Set(System.Int32, System.Int32, System.Boolean)System.IDisposable::Dispose()