CandideServer.Generators.Dungeon.ServerChallengeDungeonSetup
Type JSONpublic class in CandideServer.Generators.Dungeon
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.Generators.Dungeon - Base type
System.Object - Hash
9637C2B33CFC79043E4443FECE785DFC4B1F4489E07FD03F226261063F591AC3
Relationships
Base type
System.Object
Fields
| Name | Visibility | Signature |
|---|---|---|
BarrelSpotId# | private | private System.Guid BarrelSpotId |
BarrelSpotList# | private | private System.Collections.Generic.List<CandideServer.World.ServerEntitySpawnData> BarrelSpotList |
BossSpotId# | private | private System.Guid BossSpotId |
BossSpotList# | private | private System.Collections.Generic.List<CandideServer.World.ServerEntitySpawnData> BossSpotList |
CrateSpotId# | private | private System.Guid CrateSpotId |
CratesSpotList# | private | private System.Collections.Generic.List<CandideServer.World.ServerEntitySpawnData> CratesSpotList |
EliteSpotId# | private | private System.Guid EliteSpotId |
EliteSpotList# | private | private System.Collections.Generic.List<CandideServer.World.ServerEntitySpawnData> EliteSpotList |
GroundLightId# | private | private System.Guid GroundLightId |
GroundLightSpotList# | private | private System.Collections.Generic.List<CandideServer.World.ServerEntitySpawnData> GroundLightSpotList |
MeleeSpotId# | private | private System.Guid MeleeSpotId |
MeleeSpotList# | private | private System.Collections.Generic.List<CandideServer.World.ServerEntitySpawnData> MeleeSpotList |
PotSpotId# | private | private System.Guid PotSpotId |
PotSpotList# | private | private System.Collections.Generic.List<CandideServer.World.ServerEntitySpawnData> PotSpotList |
RangedSpotId# | private | private System.Guid RangedSpotId |
RangedSpotList# | private | private System.Collections.Generic.List<CandideServer.World.ServerEntitySpawnData> RangedSpotList |
SpawnerSpotId# | private | private System.Guid SpawnerSpotId |
SpawnerSpotList# | private | private System.Collections.Generic.List<CandideServer.World.ServerEntitySpawnData> SpawnerSpotList |
Special1SpotId# | private | private System.Guid Special1SpotId |
Special1SpotList# | private | private System.Collections.Generic.List<CandideServer.World.ServerEntitySpawnData> Special1SpotList |
Special2SpotId# | private | private System.Guid Special2SpotId |
Special2SpotList# | private | private System.Collections.Generic.List<CandideServer.World.ServerEntitySpawnData> Special2SpotList |
SpecialPot1SpotId# | private | private System.Guid SpecialPot1SpotId |
SpecialPot1SpotList# | private | private System.Collections.Generic.List<CandideServer.World.ServerEntitySpawnData> SpecialPot1SpotList |
SpecialPot2SpotId# | private | private System.Guid SpecialPot2SpotId |
SpecialPot2SpotList# | private | private System.Collections.Generic.List<CandideServer.World.ServerEntitySpawnData> SpecialPot2SpotList |
TorchSpotId# | private | private System.Guid TorchSpotId |
TorchSpotList# | private | private System.Collections.Generic.List<CandideServer.World.ServerEntitySpawnData> TorchSpotList |
_destructablesConfig# | private | private CandideServer.Data.Dungeons.DestructablesBaseConfig _destructablesConfig |
_dungeonData# | private | private CandideServer.Data.Dungeons.ChallengeDungeonData _dungeonData |
_dungeonRoomModel# | private | private CandideServer.Models.Dungeons.DungeonLocationRoomModel _dungeonRoomModel |
_enemyConfig# | private | private CandideServer.Data.Dungeons.EnemiesBaseConfig _enemyConfig |
_enemyCount# | private | private CandideServer.Data.Dungeons.EnemyCount _enemyCount |
_location# | private | private CandideServer.Models.Dungeons.DungeonLocationModel _location |
_propsConfig# | private | private CandideServer.Data.Dungeons.PropsBaseConfig _propsConfig |
Methods
ResetRoom
#
public System.Void ResetRoom(CandideServer.Models.Dungeons.DungeonLocationModel location, CandideServer.Models.Dungeons.DungeonLocationRoomModel dungeonRoom)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
2DCBC3C4F0B432A2F92ED2041CEE112C042253D4756D323CC57E6286498A87C9 - Body hash
3F778A053841A0B15381D3692406D3BEA8CBC72B6344CB1BC4EABD8C8ED08472 - IL size88
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Dungeons.ActiveDungeonModel>::ContainsKey(!0)System.Guid::op_Equality(System.Guid, System.Guid)System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Worlds.WorldModel>::ContainsKey(!0)CandideServer.ServerControllers.WorldSController::RemoveWorld(System.Guid, System.Boolean)CandideServer.Generators.Dungeon.ServerChallengeDungeonSetup::SetUpRoom(CandideServer.Models.Dungeons.DungeonLocationRoomModel, CandideServer.Data.Dungeons.EnemyCount, CandideServer.Models.Dungeons.DungeonLocationModel, System.Boolean)CandideServer.ServerManagers.PlayerServerManager::LoadInPlayerGravesInDungeon(CandideServer.Models.Dungeons.DungeonLocationModel)
SetupChallengeDungeon
#
public System.Boolean SetupChallengeDungeon(CandideServer.Models.Dungeons.DungeonLocationModel location, CandideServer.Data.Dungeons.ChallengeDungeonData data, CandideServer.Data.Dungeons.EnemiesBaseConfig enemyConfig, CandideServer.Data.Dungeons.DestructablesBaseConfig destructablesConfig, CandideServer.Data.Dungeons.PropsBaseConfig propsConfig, out CandideServer.Models.Worlds.WorldModel& entranceWorld, out CandideServer.Models.Dungeons.ActiveDungeonModel& newDungeon)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
356616577D0A620B3F7FE8BE6545AE941934EB2C4FDB32D382359F7BDDD47C84 - Body hash
E5CE1CD0EE5C5468208E7A5E7430174550599124758F8EB7A729A192A14F7381 - IL size240
Referenced calls
CandideServer.Models.Dungeons.ActiveDungeonModel::.ctor()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Dungeons.DungeonLocationRoomModel>::get_Item(!0)CandideServer.Generators.Dungeon.ServerChallengeDungeonSetup::SetUpRoom(CandideServer.Models.Dungeons.DungeonLocationRoomModel, CandideServer.Data.Dungeons.EnemyCount, CandideServer.Models.Dungeons.DungeonLocationModel, System.Boolean)System.Guid::op_Equality(System.Guid, System.Guid)CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Dungeons.DungeonLocationRoomModel>::get_Values()Dictionary.ValueCollection<System.Guid, CandideServer.Models.Dungeons.DungeonLocationRoomModel>::GetEnumerator()Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.Models.Dungeons.DungeonLocationRoomModel>::get_Current()Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.Models.Dungeons.DungeonLocationRoomModel>::MoveNext()System.IDisposable::Dispose()CandideServer.ServerManagers.PlayerServerManager::LoadInPlayerGravesInDungeon(CandideServer.Models.Dungeons.DungeonLocationModel)
String literals
SetupChallengeDungeon - entrance does not have an ID
SetUpRoom
#
public CandideServer.Models.Worlds.WorldModel SetUpRoom(CandideServer.Models.Dungeons.DungeonLocationRoomModel roomModel, CandideServer.Data.Dungeons.EnemyCount enemyCount, CandideServer.Models.Dungeons.DungeonLocationModel location, System.Boolean isEntrance)
Method metadata
- Visibilitypublic
- Return type
CandideServer.Models.Worlds.WorldModel - StaticTrue
- VirtualFalse
- Hash
65B6724EDBD9852ACBAB96875C9581882B455C86DFA6B207F0A15BC52E10036A - Body hash
90FBD4B844134D13491E03AE7F204FA2DC077CA718E2A71A8C7E1883CF817451 - IL size367
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Worlds.WorldModel>::TryGetValue(!0, !1&)CandideServer.Database.DungeonRoomDataBase::TryGetDungeonRoomData(System.String, CandideServer.Models.Dungeons.DungeonRoomDataModel&)CandideServer.MessageModels.Worlds.NewWorldMessage::.ctor()System.String::Concat(System.String, System.String)CandideServer.Generators.Dungeon.ServerChallengeDungeonSetup::SpawnRoomEntities(CandideServer.Models.Worlds.WorldModel)System.Action<CandideServer.Models.Worlds.WorldModel>::.ctor(System.Object, System.IntPtr)CandideServer.ServerControllers.WorldSController::NewChallengeDungeonWorld(CandideServer.MessageModels.Worlds.NewWorldMessage, System.Action<CandideServer.Models.Worlds.WorldModel>)System.Nullable<System.Guid>::.ctor(!0)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.Models.TransportNode::get_Data()CandideCreator.Shared.Models.TransportNodeData::get_Direction()System.Collections.Generic.Dictionary<System.Int32, CandideServer.Models.Dungeons.DungeonTransitionArea>::TryGetValue(!0, !1&)CandideServer.Models.Dungeons.DungeonTransitionArea::.ctor(System.Nullable<System.Guid>, CandideCreator.Shared.Models.AxisAlignedBox, System.Int32)System.Collections.Generic.Dictionary<System.Int32, CandideServer.Models.Dungeons.DungeonTransitionArea>::set_Item(!0, !1)System.Collections.IEnumerator::MoveNext()System.IDisposable::Dispose()
Called by
String literals
Interior Map
SpawnEntities
#
private System.Void SpawnEntities(System.Collections.Generic.List<CandideServer.World.ServerEntitySpawnData> spawnList, System.Guid entityBaseId, System.Int32 amount, CandideServer.Models.Worlds.WorldModel model, Shared.Entity.EntityType type)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
17E27B5A7C8C5329EA02BDD66417D91A17AD3497A811E57A224766E412C07B5B - Body hash
928B5B2BF3ED969FE916884668461908B0F6C6DEB91EA6E546DB8F5A5F27B284 - IL size175
Referenced calls
System.Collections.Generic.List<CandideServer.World.ServerEntitySpawnData>::get_Count()System.Collections.Generic.List<CandideServer.World.ServerEntitySpawnData>::get_Item(System.Int32)CandideCreator.Shared.Helpers.RandomHelper::NextPointInCircle(System.Random)CandideCreator.Shared.Helpers.VectorExtension::ToVector3Xy(Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)CandideServer.ServerControllers.SpawnEntityArgs::.ctor()System.Guid::NewGuid()CandideServer.ServerControllers.EntitySController::SpawnEntity(CandideServer.ServerControllers.SpawnEntityArgs)
SpawnRoomEntities
#
private System.Void SpawnRoomEntities(CandideServer.Models.Worlds.WorldModel model)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
1833D2862070979BF9F790CDE3DD942C50C0B07129E49DF3AB97E1BFF2F5709F - Body hash
3FC7C4CD05191D896283EB915971A0B142BAD8B51BD403268C6BA15A8740BE78 - IL size2669
Referenced calls
System.Collections.Generic.List<CandideServer.World.ServerEntitySpawnData>::Clear()System.Collections.Generic.List<CandideServer.World.ServerEntitySpawnData>::GetEnumerator()List.Enumerator<CandideServer.World.ServerEntitySpawnData>::get_Current()System.Collections.Generic.HashSet<System.UInt16>::Contains(!0)System.Guid::op_Equality(System.Guid, System.Guid)System.Collections.Generic.List<CandideServer.World.ServerEntitySpawnData>::Add(!0)CandideServer.ServerControllers.SpawnEntityArgs::.ctor()System.Guid::NewGuid()System.Collections.Generic.Dictionary<System.String, System.String>::.ctor()System.Object::ToString()System.Collections.Generic.Dictionary<System.String, System.String>::Add(!0, !1)CandideServer.ServerControllers.EntitySController::SpawnEntity(CandideServer.ServerControllers.SpawnEntityArgs)System.Collections.Generic.HashSet<System.Guid>::Contains(!0)System.Collections.Generic.Dictionary<System.Int32, System.Guid>::.ctor()System.Collections.Generic.Dictionary<System.Int32, System.Guid>::TryGetValue(!0, !1&)System.Collections.Generic.Dictionary<System.Int32, System.Guid>::set_Item(!0, !1)CandideCreator.Shared.Helpers.ParameterExtensions::CopyUndefinedParameters(System.Collections.Generic.Dictionary<System.String, System.String>, System.Collections.Generic.Dictionary<System.String, System.String>)System.Nullable<System.Guid>::.ctor(!0)System.Collections.Generic.Dictionary<System.String, System.String>::set_Item(!0, !1)List.Enumerator<CandideServer.World.ServerEntitySpawnData>::MoveNext()System.IDisposable::Dispose()System.Runtime.InteropServices.CollectionsMarshal::AsSpan(System.Collections.Generic.List<!!0>)System.Random::Shuffle(System.Span<!!0>)System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::get_Value()CandideServer.Generators.Dungeon.ServerChallengeDungeonSetup::SpawnEntities(System.Collections.Generic.List<CandideServer.World.ServerEntitySpawnData>, System.Guid, System.Int32, CandideServer.Models.Worlds.WorldModel, Shared.Entity.EntityType)System.Collections.Generic.List<CandideServer.World.ServerEntitySpawnData>::get_Count()
String literals
locationIdinventory_idwild_citizen_id
TryLoadInDungeonLayout
#
public System.Boolean TryLoadInDungeonLayout(CandideServer.Models.Dungeons.DungeonLocationModel location, out CandideServer.Models.Worlds.WorldModel& entranceWorld, out CandideServer.Models.Dungeons.ActiveDungeonModel& newDungeon)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
45BD012F4E992AF15D96F4401927D667F63C2734AD8A3AE0D6D2B0404DDB4FCA - Body hash
DCDBF979F6826565EB5A9B8F908BF66F1C7EA7F49A12F193A7652E92FB45AC17 - IL size160
Referenced calls
CandideServer.Database.Dungeons.ChallengeDungeonDataBase::TryGetData(System.String, CandideServer.Data.Dungeons.ChallengeDungeonData&)CandideServer.Database.Dungeons.ChallengeDungeonConfigDataBase::TryGetConfigData(System.String, CandideServer.Data.Dungeons.ChallengeDungeonConfig&)CandideServer.Database.Dungeons.EnemiesBaseConfigDataBase::TryGetConfigData(System.String, CandideServer.Data.Dungeons.EnemiesBaseConfig&)CandideServer.Database.Dungeons.DestructablesBaseConfigDataBase::TryGetConfigData(System.String, CandideServer.Data.Dungeons.DestructablesBaseConfig&)CandideServer.Database.Dungeons.PropsBaseConfigDataBase::TryGetConfigData(System.String, CandideServer.Data.Dungeons.PropsBaseConfig&)CandideServer.Generators.Dungeon.ServerChallengeDungeonSetup::SetupChallengeDungeon(CandideServer.Models.Dungeons.DungeonLocationModel, CandideServer.Data.Dungeons.ChallengeDungeonData, CandideServer.Data.Dungeons.EnemiesBaseConfig, CandideServer.Data.Dungeons.DestructablesBaseConfig, CandideServer.Data.Dungeons.PropsBaseConfig, CandideServer.Models.Worlds.WorldModel&, CandideServer.Models.Dungeons.ActiveDungeonModel&)CandideServer.ServerControllers.DungeonServerController::UpdateActiveDungeon(CandideServer.Models.Dungeons.ActiveDungeonModel)CandideServer.MessageModels.Dungeons.ActiveDungeonMessage::.ctor()CandideServer.ServerServices.DungeonServerService::Send_ActiveDungeon(CandideServer.MessageModels.Dungeons.ActiveDungeonMessage)CandideServer.MessageModels.Dungeons.DungeonLocationMessage::.ctor()CandideServer.ServerServices.DungeonServerService::Send_DungeonLocationToEveryone(CandideServer.MessageModels.Dungeons.DungeonLocationMessage)