Romestead Assembly Reference

CandideServer.ServerSystems.EntitySpawnServerSystem

Type JSON

public class in CandideServer.ServerSystems

Methods18
Properties0
Fields18
Events0
Type metadata
  • AssemblyCandideServer
  • NamespaceCandideServer.ServerSystems
  • Base typeSystem.Object
  • Hash4B1489F3A63BE30F00BC60C8A1429F492A45F17C2958FB20F13AB861881AC738

Relationships

Base type

System.Object

Fields

NameVisibilitySignature
BaseSpawnChancepublicpublic System.Single BaseSpawnChance
BaseTimeBetweenSpawnChecksprivateprivate System.Single BaseTimeBetweenSpawnChecks
BossfightReduceSpawnRadiusSqprivateprivate System.Single BossfightReduceSpawnRadiusSq
BuildingNoSpawnDistancepublicpublic System.Single BuildingNoSpawnDistance
DespawnRangeSqprivateprivate System.Single DespawnRangeSq
DespawnTimerpublicpublic System.Single DespawnTimer
ExplorationRangeSqprivateprivate System.Single ExplorationRangeSq
ExplorationSpawnRateIncreaseTimeprivateprivate System.Single ExplorationSpawnRateIncreaseTime
ExplorationSpawnRateMultiplierprivateprivate System.Single ExplorationSpawnRateMultiplier
PlayerSpawnDataprivateprivate System.Collections.Generic.Dictionary<System.Int32, EntitySpawnServerSystem.SpawnSystemData> PlayerSpawnData
ReuseEntityModelsListprivateprivate System.Collections.Generic.List<CandideServer.Entities.ServerEntityModel> ReuseEntityModelsList
ReuseSpawnEntityArgsprivateprivate CandideServer.ServerControllers.SpawnEntityArgs ReuseSpawnEntityArgs
ReUseSpawnModelsListprivateprivate System.Collections.Generic.List<CandideServer.Models.SpawnSystem.SpawnModel> ReUseSpawnModelsList
SpawnCapspublicpublic System.Collections.Generic.Dictionary<Shared.Entity.EntityType, System.Int32> SpawnCaps
SpawnRangeMaxprivateprivate System.Single SpawnRangeMax
SpawnRangeMinprivateprivate System.Single SpawnRangeMin
TimeBetweenDespawnspublicpublic System.Single TimeBetweenDespawns
_raidIdprivateprivate System.Nullable<System.Guid> _raidId

Methods

AddSpawnRule

public System.Void AddSpawnRule(CandideServer.Models.SpawnSystem.SpawnRule spawnRule)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashAE5182F9F7644418AAA52D837A93BBEDCB1DB919E8AE019C125FD22E0B11EE1E
  • Body hash3ACD5215E029871A536125F07F52D053FC12D893BE5875C86DC3B95DF5DC3CBA
  • IL size18
Referenced calls
  • System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.SpawnSystem.SpawnRule>::set_Item(!0, !1)
Called by

AddSpawns

private System.Void AddSpawns(CandideServer.Models.SpawnSystem.SpawnModel spawnModel)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash2588756DB213369BFA42BB90729672D2C2FC7FA228E4D0FA691DDF885F9EB0E3
  • Body hashE9258A75C2715E3F84558F200E012B8AE304B7B1D311FFC155132BC369B828D4
  • IL size363
Referenced calls
Called by

ApplyInstantAggro

public System.Void ApplyInstantAggro(CandideServer.Entities.ServerEntityModel entityModel, Shared.Entity.EntityWrapper target)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashBBFDA6C735C075C20923387149ADFB325A3D2AF6ADCA2FC4B6B79B510EE2811F
  • Body hashC64FD77D1119730CF97E9FBBFD77F6FC4F49189E3913FC8C88E158C927C4D6F9
  • IL size83
Referenced calls
Called by

ApplySpawnProperties

public System.Void ApplySpawnProperties(CandideServer.Entities.ServerEntityModel model, Shared.Entity.EntityType entityType, System.Boolean instantPlayerAggro, Shared.Entity.EntityWrapper ownerEntity, System.Nullable<System.Guid> raidId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash027876B9F2CD763633400456E4A3F8452D70DAF05E9212E89736AB26B8A58083
  • Body hashD1C23ABF8251D06DB6F613F57F333B3BE110CE8704F175E2F47B97F66F8A1358
  • IL size31
Referenced calls
Called by

DoSpawnFromSpawnTable

private System.Nullable<Shared.Entity.EntityType> DoSpawnFromSpawnTable(EntitySpawnServerSystem.SpawnSystemData spawnData, System.String spawnTableId, System.Single spawnChanceMultiplier, System.Single eliteChance, System.Single spawnCapMultiplier, Microsoft.Xna.Framework.Vector2 spawnPosition, System.Boolean ignoreSpawnRules)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Nullable<Shared.Entity.EntityType>
  • StaticTrue
  • VirtualFalse
  • Hash2FF127EC90FCCF5FB8E2B1D38B30D2A4669F7D7750C5EF6662EB170B186CA445
  • Body hash48D2D0B2D51E61164666C959D625ADD0ECBB5AFEABB9B934E880D60719815B7A
  • IL size537
Referenced calls
Called by

DynamicSpawnEntity

public System.Void DynamicSpawnEntity(CandideServer.MessageModels.Entities.RequestDynamicSpawnEntityMessage msg)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash58A28B854D9EE46B01940CA9C935AD848AF9EA475B759BC760AEDF5CAF792A32
  • Body hash05E06391805652D890770479C32C85DD8808D54FDF6A29277B6F8553E00230D5
  • IL size86
Referenced calls
Called by

IsCollidingAtPosition

private System.Boolean IsCollidingAtPosition(Microsoft.Xna.Framework.Vector2 spawnPosition, System.Guid entityBaseId)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash7E7FCEA678A48A02F2B5BEAF2A718C2E6C009A9A5379CDB88441389B69F5E4E5
  • Body hash55EFF4FB7AA0501BE688F32109DF1CBC6DB0140ECC9EB67ED7F721D0D152E2B0
  • IL size168
Referenced calls
Called by
String literals
  • Tried to spawn invalid entity with base id

Spawn

private System.Void Spawn(CandideServer.Models.SpawnSystem.SpawnModel spawnModel, EntitySpawnServerSystem.SpawnSystemData spawnData, Microsoft.Xna.Framework.Vector2 spawnPosition, System.Single eliteChance, System.Boolean ignoreSpawnRules)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash7316AFDB617D0AC442E6DFF9EB83B42E688BDB90586FB52CF3D2EC646B563B74
  • Body hash60612D6AF2792FDCC9E8B30F12B53672AA7DF2F152B788A0DE6E874E246E77EF
  • IL size146
Referenced calls
Called by

SpawnEntity

private System.Void SpawnEntity(Microsoft.Xna.Framework.Vector2 position, System.Guid baseId, Shared.Entity.EntityType entityType, System.Boolean instantPlayerAggro, System.Guid ownerId, Shared.Entity.EntityWrapper ownerEntity, System.Single eliteChance)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashA82A569C5A1330131D149EDA0F11096D618B66FEB87DBE2B08B17094D6DE2645
  • Body hashD0EC6E1A6D2545B40A143BF7089721ACEEEAB3FA43EC3781C33D626F920AEC8B
  • IL size216
Referenced calls
Called by
String literals
  • temporary_spawn
  • true
  • dsog

SpawnGroup

private System.Void SpawnGroup(System.Collections.Generic.List<CandideServer.Models.SpawnSystem.SpawnModel> spawnModels, EntitySpawnServerSystem.SpawnSystemData spawnData, Microsoft.Xna.Framework.Vector2 spawnPosition, System.Single eliteChance)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash68ECA00A413BD21F1A48CD88BC5BBEF7856D014B9480A4FE21D5F0AD750DEA0A
  • Body hash0AB6F092972689EFAC36F1E352851E6BBD6760E01E9CC854FABC20C8E6A24AEA
  • IL size471
Referenced calls
Called by
String literals
  • temporary_spawn
  • true
  • dsog

SpawnWave

public System.Void SpawnWave()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash2ED7613A42DC2997B7BAE08D1B1E94B52E0A5EEA85D0EA47FC6555529FAD5846
  • Body hash8950EF298D9D6594242B5B09188C1C5BAB49298F7D25013276EB0598E9F1CBCC
  • IL size330
Referenced calls
Called by

TryGetSpawnPosition

private System.Boolean TryGetSpawnPosition(Microsoft.Xna.Framework.Vector2 spawnCenter, Microsoft.Xna.Framework.Vector2 spawnDirection, out Microsoft.Xna.Framework.Vector2& position)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash034023E8A800E4CD0EFC4D6D7D5DFFD0BD2A71130F5676ECE4217159F5062D39
  • Body hashBE346BD01D7FC8F555A13E931BE84968BF2AF88A15368E0C23C39668CF8452DF
  • IL size365
Referenced calls
Called by

TrySpawnForPlayer

private System.Void TrySpawnForPlayer(EntitySpawnServerSystem.SpawnSystemData spawnData)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash1876B40448344D6D0D7B568B0B5EB78BA601F2B946B0ADEE88A4A43254886251
  • Body hash09B107EA36E24B1E9D7A6E7B12CB6FBD8423371D7C90492E26AC1E93074DF358
  • IL size652
Referenced calls
Called by
String literals
  • aura:special:sacrifice_spawn_increase
  • WorldStats_HostileSpawn
  • WorldStats_WildlifeSpawnRate

TrySpawnForRaid

private System.Void TrySpawnForRaid(Shared.Models.Raids.RaidInstanceModel raid, CandideServer.Models.Town.ServerTownModel targetTown, EntitySpawnServerSystem.SpawnSystemData spawnData)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashA09C0339A4406A1569013DA5D05166A24C3670CE54AC8E6939F6BAE933664365
  • Body hash45AEAF4A86175AE412BB9BE48ECA240584C7E060C08000DBE8F630A3AE83719D
  • IL size118
Referenced calls
Called by

Update

public System.Void Update(System.Single dt)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash34FFAB46770B1936CDB72040C3593E2DBDB8BB499DEB8B56FA57137A3DBFB749
  • Body hash792B7F8A7B9CBB4AF99FAA350F556CFD4DF4EDE1ADA86A8BCDE8201A291AD8B9
  • IL size18
Referenced calls
Called by

UpdateDespawn

private System.Void UpdateDespawn(System.Single dt)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash5A0612C1BC14A20274108D754AF82EEA9254599612E5509C00E98E47AE475A90
  • Body hash8763DC47AB0BCC3F34A5DB606BD8BF7A447A61EC30EE534C0553A3DD57A920B4
  • IL size258
Referenced calls
Called by

UpdatePlayerSpawnData

private System.Void UpdatePlayerSpawnData()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash86D94EB3F70A58B35A4C6EAF7CC4E168EAFA8FD1217225775CDB1D11185961D9
  • Body hashA34C1E0B459CC9A7CDE1B993837B67FAA9E0E8B87B4BC2AEF82C0666576164AA
  • IL size462
Referenced calls
  • System.Collections.Generic.Dictionary<System.Int32, EntitySpawnServerSystem.SpawnSystemData>::GetEnumerator()
  • Dictionary.Enumerator<System.Int32, EntitySpawnServerSystem.SpawnSystemData>::get_Current()
  • System.Collections.Generic.KeyValuePair<System.Int32, EntitySpawnServerSystem.SpawnSystemData>::Deconstruct(!0&, !1&)
  • System.Collections.Generic.Dictionary<System.Int32, CandideServer.ServerServices.ServerJoinedPlayerModel>::ContainsKey(!0)
  • System.Guid::op_Inequality(System.Guid, System.Guid)
  • System.Collections.Generic.Dictionary<System.Int32, EntitySpawnServerSystem.SpawnSystemData>::Remove(!0)
  • Dictionary.Enumerator<System.Int32, EntitySpawnServerSystem.SpawnSystemData>::MoveNext()
  • System.IDisposable::Dispose()
  • System.Collections.Generic.Dictionary<System.Int32, CandideServer.ServerServices.ServerJoinedPlayerModel>::GetEnumerator()
  • Dictionary.Enumerator<System.Int32, CandideServer.ServerServices.ServerJoinedPlayerModel>::get_Current()
  • System.Collections.Generic.KeyValuePair<System.Int32, CandideServer.ServerServices.ServerJoinedPlayerModel>::Deconstruct(!0&, !1&)
  • CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)
  • System.Collections.Generic.Dictionary<System.Int32, EntitySpawnServerSystem.SpawnSystemData>::TryGetValue(!0, !1&)
  • Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)
  • Microsoft.Xna.Framework.Vector2::DistanceSquared(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)
  • EntitySpawnServerSystem.SpawnSystemData::.ctor()
  • System.Collections.Generic.Dictionary<System.Int32, EntitySpawnServerSystem.SpawnSystemData>::Add(!0, !1)
  • Dictionary.Enumerator<System.Int32, CandideServer.ServerServices.ServerJoinedPlayerModel>::MoveNext()
Called by

UpdateSpawn

private System.Void UpdateSpawn(System.Single dt)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashFCFE9594361D9AD3E2B714A71186AD60D022D2B0A1C1062D7C482A14934EED0D
  • Body hashEA93F45C86513F684F4C16BC1C6089E8B5834BF366694DC577BBD978AD851882
  • IL size173
Referenced calls
  • System.Collections.Generic.Dictionary<System.Int32, EntitySpawnServerSystem.SpawnSystemData>::get_Values()
  • Dictionary.ValueCollection<System.Int32, EntitySpawnServerSystem.SpawnSystemData>::GetEnumerator()
  • Dictionary.ValueCollection.Enumerator<System.Int32, EntitySpawnServerSystem.SpawnSystemData>::get_Current()
  • CandideServer.ServerSystems.EntitySpawnServerSystem::TrySpawnForPlayer(EntitySpawnServerSystem.SpawnSystemData)
  • Dictionary.ValueCollection.Enumerator<System.Int32, EntitySpawnServerSystem.SpawnSystemData>::MoveNext()
  • System.IDisposable::Dispose()
Called by