CandideServer.ServerControllers.WorldSController
Type JSONpublic class in CandideServer.ServerControllers
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.ServerControllers - Base type
System.Object - Hash
6F58D61332D91529E86BCF85D46DF7456F2BA4934B292123D9B37A543C16ED16
Relationships
Base type
System.Object
Methods
ChangeWorldMap
#
public System.Boolean ChangeWorldMap(CandideServer.Models.Worlds.WorldModel world, System.String newMapName, System.Boolean keepPlayerPlacedEntities)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
4EF987460C67302DED6710530575E7D45802A4ABECBE94D27524303E38CDE895 - Body hash
F990753433F9DE6388AD002472DF131704677DB40495124BEA868E34F18E8E92 - IL size141
Referenced calls
System.String::op_Equality(System.String, System.String)CandideServer.World.ServerWorldDataManager::GetWorldDataOrNull(System.String)System.String::Concat(System.String, System.String)CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)CandideServer.ServerControllers.EntitySController::RemoveAllEditorPlacedEntitiesInWorld(CandideServer.Models.Worlds.WorldModel, Shared.Entity.EntityRemoveInfo)CandideServer.ServerControllers.EntitySController::RemoveAllEntitiesInWorld(CandideServer.Models.Worlds.WorldModel, Shared.Entity.EntityRemoveInfo)CandideServer.World.ServerWorldDataManager::SpawnWorldEntities(CandideServer.Models.Worlds.WorldModel, System.Func<CandideServer.ServerControllers.SpawnEntityArgs, CandideServer.World.ServerEntitySpawnData, System.Boolean>)CandideServer.Entities.ServerEntitySystemManager::InitializeCollisions(System.Guid)
String literals
Could not find world data for map name
CreateInterior
#
public CandideServer.Models.Worlds.WorldModel CreateInterior(System.String interiorWorldId, WorldModel.InteriorType interiorType, System.Guid id, System.Boolean temporary, System.Func<CandideServer.ServerControllers.SpawnEntityArgs, CandideServer.World.ServerEntitySpawnData, System.Boolean> beforeSpawnAction)
Method metadata
- Visibilitypublic
- Return type
CandideServer.Models.Worlds.WorldModel - StaticTrue
- VirtualFalse
- Hash
B87665C77A77D172D8C226085BF8B86B94B3B0B0F78CF8452E2FE46B39CA0BB3 - Body hash
0C9EFBB9524F79568F8138568C8BC6C682D751660BF19850183176B86B4C64F9 - IL size65
Referenced calls
CandideServer.MessageModels.Worlds.NewWorldMessage::.ctor()System.String::Concat(System.String, System.String)CandideServer.ServerControllers.WorldSController::NewWorld(CandideServer.MessageModels.Worlds.NewWorldMessage, System.Func<CandideServer.ServerControllers.SpawnEntityArgs, CandideServer.World.ServerEntitySpawnData, System.Boolean>)
String literals
Interior Map
NewChallengeDungeonWorld
#
public CandideServer.Models.Worlds.WorldModel NewChallengeDungeonWorld(CandideServer.MessageModels.Worlds.NewWorldMessage msg, System.Action<CandideServer.Models.Worlds.WorldModel> spawnEntities)
Method metadata
- Visibilitypublic
- Return type
CandideServer.Models.Worlds.WorldModel - StaticTrue
- VirtualFalse
- Hash
EF6F7AFE9B778F02FEB13E8605402A728368EA9862D56115EA26AA2196C66393 - Body hash
33B9DB1422AA7896F0840DD36D8CA6AFB65EE988665DFC8AF6C6867D75E9C26D - IL size184
Referenced calls
CandideServer.World.ServerWorldDataManager::GetWorldDataOrNull(System.String)System.String::Concat(System.String, System.String)CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)CandideServer.Models.Worlds.WorldModel::.ctor()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Worlds.WorldModel>::Add(!0, !1)System.Action<CandideServer.Models.Worlds.WorldModel>::Invoke(!0)CandideServer.Entities.ServerEntitySystemManager::InitializeCollisions(System.Guid)
String literals
Could not find world data for map name
NewWorld
#
public CandideServer.Models.Worlds.WorldModel NewWorld(CandideServer.MessageModels.Worlds.NewWorldMessage msg, System.Func<CandideServer.ServerControllers.SpawnEntityArgs, CandideServer.World.ServerEntitySpawnData, System.Boolean> beforeSpawnAction)
Method metadata
- Visibilitypublic
- Return type
CandideServer.Models.Worlds.WorldModel - StaticTrue
- VirtualFalse
- Hash
2DCDA164ED3C401A93B7552A45607D6DFBF40733347A75A4351EA13DC750E811 - Body hash
E4DAFE40752ABB39574A59B6371DD123589E1CC0F1B624483ABD7077AFB3B82E - IL size184
Referenced calls
CandideServer.World.ServerWorldDataManager::GetWorldDataOrNull(System.String)System.String::Concat(System.String, System.String)CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)CandideServer.Models.Worlds.WorldModel::.ctor()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Worlds.WorldModel>::Add(!0, !1)CandideServer.World.ServerWorldDataManager::SpawnWorldEntities(CandideServer.Models.Worlds.WorldModel, System.Func<CandideServer.ServerControllers.SpawnEntityArgs, CandideServer.World.ServerEntitySpawnData, System.Boolean>)CandideServer.Entities.ServerEntitySystemManager::InitializeCollisions(System.Guid)
Called by
String literals
Could not find world data for map name
OnServerGameStateLoaded
#
private System.Void OnServerGameStateLoaded(CandideServer.GameDescription gameDescription)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
2B4C9DD28A8C6768DD511CFD7742E907BA8469039221195FCD996B1E760928FC - Body hash
EF7FF3510D9C312F7B961605415B734E951000A1DE0974E0EC351C70974E94F7 - IL size789
Referenced calls
CandideServer.ServerControllers.ItemInstanceSController::BeforeWorldGameStateLoaded()CandideServer.Entities.ServerEntitySystemManager::BeforeWorldGameStateLoaded()CandideServer.Models.ServerChunkedWorld::.ctor(Microsoft.Xna.Framework.Point, Microsoft.Xna.Framework.Point, Microsoft.Xna.Framework.Point, Microsoft.Xna.Framework.Point)CandideServer.ServerControllers.BuildingsSController::BeforeWorldGameStateLoaded()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Worlds.WorldModel>::get_Values()Dictionary.ValueCollection<System.Guid, CandideServer.Models.Worlds.WorldModel>::GetEnumerator()Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.Models.Worlds.WorldModel>::get_Current()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Entities.ServerEntityModel>::.ctor()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::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.Models.Worlds.WorldModel>::MoveNext()System.IDisposable::Dispose()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Entities.ServerEntityModel>::get_Values()Dictionary.ValueCollection<System.Guid, CandideServer.Entities.ServerEntityModel>::GetEnumerator()Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.Entities.ServerEntityModel>::get_Current()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Worlds.WorldModel>::TryGetValue(!0, !1&)System.Collections.Generic.Dictionary<System.Guid, CandideServer.Entities.ServerEntityModel>::Remove(!0)System.Collections.Generic.Dictionary<System.Guid, CandideServer.Entities.ServerEntityModel>::set_Item(!0, !1)System.Guid::op_Equality(System.Guid, System.Guid)CandideServer.ServerControllers.EntitySController::GetEntityChunk(CandideServer.Entities.ServerEntityModel)System.Collections.Generic.List<CandideServer.Entities.ServerEntityModel>::Add(!0)Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.Entities.ServerEntityModel>::MoveNext()System.Collections.Generic.Dictionary<Microsoft.Xna.Framework.Point, CandideServer.Models.CropServerModel>::get_Values()Dictionary.ValueCollection<Microsoft.Xna.Framework.Point, CandideServer.Models.CropServerModel>::GetEnumerator()Dictionary.ValueCollection.Enumerator<Microsoft.Xna.Framework.Point, CandideServer.Models.CropServerModel>::get_Current()CandideServer.Models.ServerChunkedWorld::TileToChunkPosition(Microsoft.Xna.Framework.Point)CandideServer.Models.ServerChunkedWorld::GetWorldChunk(Microsoft.Xna.Framework.Point)
String literals
Could not find world data for map namefor worldwhen loading game.Could not find world idfor entity
RemoveWorld
#
public System.Void RemoveWorld(System.Guid worldId, System.Boolean fromBuildingController)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
2CA5D1C04FB783938F70E5ABFD6C6DFED8AEDEC6F8A148E54B5E9B408D655BD3 - Body hash
16AAA999AA53724D565E65B7DFF5429B3D0D253019FD80F7C6A2EAF5FF8A2C01 - IL size122
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Worlds.WorldModel>::Remove(!0, !1&)CandideServer.ServerControllers.ExteriorWorldServerController::RemoveWorld(CandideServer.Models.Worlds.WorldModel)CandideServer.ServerControllers.EntitySController::RemoveAllEntitiesInWorld(CandideServer.Models.Worlds.WorldModel, Shared.Entity.EntityRemoveInfo)CandideCreator.Shared.Helpers.ExceptionHelper::ThrowInvalidOperationException(System.String)System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::get_Value()CandideServer.ServerControllers.BuildingsSController::RemoveBuilding(System.Guid)
Called by
String literals
Can not remove the outside world!
TryGetPathNodeHandler
#
public System.Boolean TryGetPathNodeHandler(CandideServer.World.ServerWorldData worldData, out CandideServer.PathFinding.PathNodeHandler& pathNodeHandler)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
2ECCA308C4E765D45731860CF72D1BA4F3E91B3F5340E891D0826D0ED3513B60 - Body hash
2BB60311318E43B664507FD431F26571BD31E4B46327BDFCCDE962E728BE3B6F - IL size86
Referenced calls
CandideCreator.Shared.Models.World::get_PathNodes()System.Collections.ObjectModel.Collection<PathNode>::get_Count()CandideCreator.Shared.Models.World::get_PathNodeConnections()CandideServer.PathFinding.PathNodeHandler::.ctor(System.Collections.ObjectModel.ObservableCollection<PathNode>, System.Collections.ObjectModel.ObservableCollection<PathNodeConnection>)
ValidateSpawnTile
#
public System.Void ValidateSpawnTile(System.Boolean forceSelectNewSpawn)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
960D00D57C932892B73BED027E71A4D634F65CFCCE2185E6672822E159F965C4 - Body hash
94082A6B9241D41D0CFD906A58CEAB5258357C43319A991AE90D5ADD78D1F213 - IL size293
Referenced calls
Microsoft.Xna.Framework.Point::op_Equality(Microsoft.Xna.Framework.Point, Microsoft.Xna.Framework.Point)Shared.Models.WorldTile[,]::Address(System.Int32, System.Int32)Microsoft.Xna.Framework.Point::ToVector2()Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector2::ToPoint()CandideCreator.Shared.Helpers.RandomHelper::NextPointInCircle(System.Random)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)