CandideServer.World.ServerWorldDataManager
Type JSONpublic class in CandideServer.World
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.World - Base type
System.Object - Hash
77E38ACB0ABF0B6B44D7D32DDD98C3598DF0746AD1A4B4C957B97424B9B30D07
Relationships
Base type
System.Object
Fields
| Name | Visibility | Signature |
|---|---|---|
WorldData# | public | public System.Collections.Generic.Dictionary<System.String, CandideServer.World.ServerWorldData> WorldData |
Methods
GetWorldDataOrNull
#
public CandideServer.World.ServerWorldData GetWorldDataOrNull(System.String mapName)
Method metadata
- Visibilitypublic
- Return type
CandideServer.World.ServerWorldData - StaticTrue
- VirtualFalse
- Hash
00B8AEDBDC1D7D17F69F43E3DD8BFB1968716CB27F2F348A66F9F1C231979AED - Body hash
FD90849D2B328FBDC5738028525A3743D2CDF126BE43DA5AF40F5AE1644EE6D3 - IL size46
Referenced calls
System.String::IsNullOrWhiteSpace(System.String)System.String::Replace(System.Char, System.Char)System.String::ToLowerInvariant()System.Collections.Generic.Dictionary<System.String, CandideServer.World.ServerWorldData>::TryGetValue(!0, !1&)
Called by
CandideServer.Database.DungeonRoomDataBase::AddDungeonRoomDataCandideServer.Generators.Dungeon.ServerChallengeDungeonGenerator::ConnectRoomCandideServer.Generators.Dungeon.ServerChallengeDungeonGenerator::GenerateNewChallengeDungeonCandideServer.Generators.Dungeon.ServerDungeonLoader::AddSubDungeonRoomCandideServer.Generators.Dungeon.ServerDungeonLoader::GenerateDungeonLayoutCandideServer.Generators.Dungeon.ServerDungeonLoader::SetUpRoomCandideServer.ServerControllers.WorldSController::ChangeWorldMapCandideServer.ServerControllers.WorldSController::NewChallengeDungeonWorldCandideServer.ServerControllers.WorldSController::NewWorldCandideServer.ServerControllers.WorldSController::OnServerGameStateLoadedCandideServer.ServerManagers.BuildingsServerManager::TryUpgradeBuildingCandideServer.ServerManagers.CitizenServerManager::TryGetBuildingExteriorDoorPositionThroughTransportNodeCandideServer.ServerManagers.CitizenServerManager::TryGetBuildingInteriorDoorPositionCandideServer.ServerManagers.PoiServerManager::GetWorldSizeForPoiCandideServer.ServerManagers.QuestsServerManager::SetupFetchQuestCandideServer.World.Generation.PointOfInterestInserter::LoadInWorldAtCandideServer.World.Generation.WorldGenerator::GenerateSpawnAreaCandideServer.World.ServerWorldDataManager::SpawnWorldEntities
LoadMap
#
private System.Void LoadMap(System.IO.FileStream stream, System.IO.FileInfo file, System.IO.DirectoryInfo baseDirectory)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
41523F406009F950171FA351AD6F45EAAE879BCCFC8E90FF38136290E8590A51 - Body hash
7FC214C5193EE7413CF3EEC8BF582E376337FB5666E6DE084B020B44165B4790 - IL size47
Referenced calls
CandideCreator.Shared.Serialization.CandideDeserializer::.ctor(Microsoft.Xna.Framework.Graphics.GraphicsDevice, Microsoft.Xna.Framework.Content.ContentManager)System.IO.BinaryReader::.ctor(System.IO.Stream)System.IO.BinaryReader::ReadString()CandideCreator.Shared.Serialization.CandideDeserializer::Deserialize(CandideCreator.Shared.Serialization.CandideReflection, System.IO.Stream, System.Boolean)CandideServer.World.ServerWorldDataManager::OnWorldRead(CandideCreator.Shared.Serialization.CandideDeserializer, CandideCreator.Shared.Models.World, System.IO.FileInfo, System.IO.DirectoryInfo)
LoadMapFiles
#
private System.Void LoadMapFiles(System.IO.DirectoryInfo directory, System.IO.DirectoryInfo baseDirectory)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
5747A56EA738A8C239C21A60DFA6B6EA07F0C384F948D0FA6238328D1628C590 - Body hash
1D8EB0E8351BFA5340903476F058C8BE35D34A2429B77EDC65FA102A55F94897 - IL size133
Referenced calls
System.IO.DirectoryInfo::EnumerateFiles()System.Collections.Generic.IEnumerable<System.IO.FileInfo>::GetEnumerator()System.Collections.Generic.IEnumerator<System.IO.FileInfo>::get_Current()System.IO.FileSystemInfo::get_Extension()System.String::op_Inequality(System.String, System.String)System.IO.FileInfo::OpenRead()CandideServer.World.ServerWorldDataManager::LoadMap(System.IO.FileStream, System.IO.FileInfo, System.IO.DirectoryInfo)System.IDisposable::Dispose()System.Collections.IEnumerator::MoveNext()System.IO.DirectoryInfo::EnumerateDirectories()System.Collections.Generic.IEnumerable<System.IO.DirectoryInfo>::GetEnumerator()System.Collections.Generic.IEnumerator<System.IO.DirectoryInfo>::get_Current()CandideServer.World.ServerWorldDataManager::LoadMapFiles(System.IO.DirectoryInfo, System.IO.DirectoryInfo)
Called by
String literals
.cmx
LoadMapFiles
#
public System.Void LoadMapFiles()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
97F80C6CDCDFF2F8E4C8A31FCEB107BDEC8566A66D9BADF2BDBDC6DBB52B5C33 - Body hash
453B4303B616AFD0B28F1F4F87D609DA6718A6E7931B84AF7A7322744FFECA84 - IL size38
Referenced calls
System.Collections.Generic.Dictionary<System.String, CandideServer.World.ServerWorldData>::Clear()System.IO.DirectoryInfo::.ctor(System.String)CandideServer.World.ServerWorldDataManager::LoadMapFiles(System.IO.DirectoryInfo, System.IO.DirectoryInfo)
String literals
Content/mapsContent
OnWorldRead
#
private System.Void OnWorldRead(CandideCreator.Shared.Serialization.CandideDeserializer deserializer, CandideCreator.Shared.Models.World world, System.IO.FileInfo file, System.IO.DirectoryInfo baseDirectory)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
D062317A95112B8E258BB43841CA5919A1E4095DEB5BA52B1773D9D8CADF3A02 - Body hash
3434304CC576C9FA8266F2AE738C5A82C2A658899E7F9550DEBD3D4D48C26609 - IL size1366
Referenced calls
System.IO.FileSystemInfo::get_FullName()System.IO.Path::GetRelativePath(System.String, System.String)System.IO.Path::ChangeExtension(System.String, System.String)System.String::Replace(System.Char, System.Char)CandideCreator.Shared.Models.World::get_Terrains()System.Collections.ObjectModel.Collection<CandideCreator.Shared.Models.Terrain>::get_Count()Shared.Collision.CollisionTerrainGroup::.ctor(System.Int32)CandideServer.World.ServerWorldData::.ctor()Microsoft.Xna.Framework.Vector2::get_Zero()Shared.World.HeightAtPointLookUp::CreateHeightAtPointLookup(System.Collections.Generic.IReadOnlyCollection<CandideCreator.Shared.Models.Terrain>, Microsoft.Xna.Framework.Vector2)System.Collections.ObjectModel.Collection<CandideCreator.Shared.Models.Terrain>::GetEnumerator()System.Collections.Generic.IEnumerator<CandideCreator.Shared.Models.Terrain>::get_Current()Shared.Helpers.TerrainToCollisionHelper::AddCollisionFromTerrain(CandideCreator.Shared.Models.Terrain, Shared.Collision.CollisionTerrainGroup, Microsoft.Xna.Framework.Vector2)System.Collections.IEnumerator::MoveNext()System.IDisposable::Dispose()CandideCreator.Shared.Models.World::get_TransportNodes()System.Collections.ObjectModel.Collection<CandideCreator.Shared.Models.TransportNode>::GetEnumerator()System.Collections.Generic.IEnumerator<CandideCreator.Shared.Models.TransportNode>::get_Current()CandideCreator.Shared.Helpers.VectorExtension::ToXzy(Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Models.World::get_TiledMapFileName()System.String::Concat(System.String, System.String)System.IO.Path::Join(System.String, System.String)System.IO.File::Exists(System.String)System.Xml.XmlDocument::.ctor()System.Xml.XmlDocument::Load(System.String)CandideCreator.Shared.Tiled.TiledMapParser::ParseXMLDataOnly(System.Xml.XmlDocument, Microsoft.Xna.Framework.Content.ContentManager)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)CandideCreator.Shared.Models.World::get_Name()System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()
String literals
.tmxFailed to load in tiled mapfor world.Could not find tiled map. The file '' does not exist.Could not find a base doodad '/' when loading map ''!
SpawnWorldEntities
#
public System.Void SpawnWorldEntities(CandideServer.Models.Worlds.WorldModel model, System.Func<CandideServer.ServerControllers.SpawnEntityArgs, CandideServer.World.ServerEntitySpawnData, System.Boolean> beforeSpawnAction)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
4CA99FDF93329673AE74BBC10AA08B860570655BE433DF9E07CAABBA1EFC89C6 - Body hash
C0C0210780B4EE19A6ED53B06B21BFC29DBEBB4FA37068C0734895BB902D4A69 - IL size138
Referenced calls
CandideServer.World.ServerWorldDataManager::GetWorldDataOrNull(System.String)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::ToStringAndClear()CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)Microsoft.Xna.Framework.Vector3::get_Zero()CandideServer.World.ServerWorldDataManager::SpawnWorldEntities(CandideServer.World.ServerWorldData, System.Guid, Microsoft.Xna.Framework.Vector3, System.Func<CandideServer.ServerControllers.SpawnEntityArgs, CandideServer.World.ServerEntitySpawnData, System.Boolean>, Microsoft.Xna.Framework.Vector3)
Called by
String literals
Could not find world file '' for world name ''.
SpawnWorldEntities
#
public System.Void SpawnWorldEntities(CandideServer.World.ServerWorldData worldData, System.Guid worldId, Microsoft.Xna.Framework.Vector3 offset, System.Func<CandideServer.ServerControllers.SpawnEntityArgs, CandideServer.World.ServerEntitySpawnData, System.Boolean> beforeSpawnAction, Microsoft.Xna.Framework.Vector3 positionScale)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
DBBD10DC1FE33799D97E9CF17D3BBA8309FDF8464BC9DEC5D802BF96CEC32F7B - Body hash
E63319D8A02B1390B5CC6AF73CF43804D1D47C336239E3C748E315F510CC22F3 - IL size278
Referenced calls
Microsoft.Xna.Framework.Vector3::op_Equality(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector3::get_One()System.Collections.Generic.List<CandideServer.World.ServerEntitySpawnData>::GetEnumerator()List.Enumerator<CandideServer.World.ServerEntitySpawnData>::get_Current()CandideServer.Entities.ServerEntityDataManager::TryGetEntityBaseData(System.Guid, Shared.Entity.EntityWrapper&)CandideServer.ServerControllers.SpawnEntityArgs::.ctor()Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)System.Guid::NewGuid()CandideCreator.Shared.Helpers.ParameterExtensions::Copy(System.Collections.Generic.Dictionary<System.String, System.String>)System.String::Contains(System.String)System.Func<CandideServer.ServerControllers.SpawnEntityArgs, CandideServer.World.ServerEntitySpawnData, System.Boolean>::Invoke(!0, !1)CandideServer.ServerControllers.EntitySController::SpawnEntity(CandideServer.ServerControllers.SpawnEntityArgs)List.Enumerator<CandideServer.World.ServerEntitySpawnData>::MoveNext()System.IDisposable::Dispose()
String literals
elite