CandideServer.Entities.Controllers.Enemies.ServerEnemySpawner
Type JSONpublic class in CandideServer.Entities.Controllers.Enemies
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.Entities.Controllers.Enemies - Base type
Shared.Entity.Base.AbstractController - Hash
E681F54C7029AF2DCB523B93F135229C2ED2E6D313A290D8F2FDC4C3DA00EA48
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
AmountSpawnedInCurrentWave# | public | public System.Int32 AmountSpawnedInCurrentWave |
CooldownBetweenSpawnsTimer# | public | public System.Single CooldownBetweenSpawnsTimer |
CooldownBetweenWavesTimer# | public | public System.Single CooldownBetweenWavesTimer |
CurrentWave# | public | public System.Int32 CurrentWave |
Finished# | public | public System.Int32 Finished |
Idle# | public | public System.Int32 Idle |
PlayerNearbyCheckTimer# | public | public System.Single PlayerNearbyCheckTimer |
Triggered# | public | public System.Int32 Triggered |
_enemiesPerWave# | private | private System.Int32 _enemiesPerWave |
_enemyId# | private | private System.Guid _enemyId |
_onPlayerNearbyTriggerDistance# | private | private System.Single _onPlayerNearbyTriggerDistance |
_spawnCondition# | private | private ServerEnemySpawner.SpawnCondition _spawnCondition |
_spawnConditionMet# | private | private System.Boolean _spawnConditionMet |
_spawnInterval# | private | private System.Single _spawnInterval |
_spawnOffset# | private | private System.Single _spawnOffset |
_spawnWaveInterval# | private | private System.Single _spawnWaveInterval |
_triggeringEntityId# | private | private System.Nullable<System.Guid> _triggeringEntityId |
_waveCount# | private | private System.Int32 _waveCount |
Methods
DoSpawn
#
private System.Void DoSpawn()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
D6273FDCAD4D7E3915B3A0A3F3458ACDDF2DAB55472829A921C586F2BF5223D3 - Body hash
5508EA8E9F212DE41A5DCAD52EE8F3623E4EF3495EE5DA1C93FE8FDE07032837 - IL size390
Referenced calls
CandideCreator.Shared.Helpers.RandomHelper::NextPointInHollowCircle(System.Random, System.Single)Shared.Entity.EntityWrapper::get_Position2()Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Shared.Entity.EntityWrapper::get_FactionComponent()CandideCreator.Shared.Helpers.Parameters::GetStringNullIfEmpty(System.String, System.String)CandideServer.Database.SpawnTableDataBase::GetSpawnTableOrNull(System.String)CandideServer.Models.SpawnSystem.SpawnTable::GetSpawn()System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::GetValueOrDefault()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Entities.ServerEntityModel>::TryGetValue(!0, !1&)Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)System.Guid::NewGuid()CandideServer.ServerControllers.SpawnEntityArgs::.ctor()CandideServer.Helpers.ServerWorldHelper::GetEntityWorldId(Shared.Entity.EntityWrapper)CandideCreator.Shared.Helpers.VectorExtension::ToFloatDirection(Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Helpers.VectorExtension::ToVector3Xy(Microsoft.Xna.Framework.Vector2)System.Collections.Generic.Dictionary<System.String, System.String>::.ctor()System.Object::ToString()System.Collections.Generic.Dictionary<System.String, System.String>::Add(!0, !1)CandideServer.ServerManagers.EntityServerManager::SpawnEntity(CandideServer.ServerControllers.SpawnEntityArgs)CandideServer.ServerSystems.EntitySpawnServerSystem::ApplyInstantAggro(CandideServer.Entities.ServerEntityModel, Shared.Entity.EntityWrapper)CandideServer.MessageModels.PlayVfxOnEntityMessage::.ctor()CandideServer.ServerServices.ServerSoundAndVfxService::Send_PlayVfxOnEntity(CandideServer.MessageModels.PlayVfxOnEntityMessage)
String literals
spawntable_idsummoner-factiondust_poof_big
EnterTriggeredState
#
private System.Void EnterTriggeredState()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
7C8C9032B5AE2FAC26DE1985DAF8B045B1A8DD810AEB1C19745B724DA0D490BD - Body hash
D2C8E02A2B8E07106E97AF08DC9638A3ECA93472E78AF1E008169302F8218656 - IL size21
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
64499708721F4779FD1A650C752179CAD0E851B22BE4E1784EFAA94521CF7766 - Body hash
5E082E4164293BA82D29F1C01594A57214A259F2E91957EB375F89FFC316DDA8 - IL size216
Referenced calls
CandideCreator.Shared.Helpers.Parameters::GetFloat(System.String, System.Single)CandideCreator.Shared.Helpers.Parameters::GetInt(System.String, System.Int32)CandideCreator.Shared.Helpers.Parameters::GetGuid(System.String, System.Guid)CandideCreator.Shared.Helpers.Parameters::GetEnum(System.String, !!0)
String literals
spawn_wave_intervaltime_between_spawnswave_countenemies_per_waveenemy_idspawn_offsetspawn_conditionon_player_nearby_trigger_distance
NextWave
#
private System.Void NextWave()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
9CC1E7C1A43B3F0FDA93C2C9C3A5C42B17A76F3F78F798ED01BECF3BD5381139 - Body hash
E90DBAFF94F32580E600A73DDF9757B906D5044E83413B7DFA0617127264FD08 - IL size73
OnAttached
#
public System.Void OnAttached(Shared.Entity.EntityWrapper liftingEntity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
E25811F2F2CF026CA7B7C2200BB9077D210B822A1045FF96C71A5951CC626EAA - Body hash
5CEE4AC2A5FCA62FCBCCFBC701E32B90D1C99E9BA68098A964D36595CE508AB0 - IL size34
Referenced calls
Shared.Entity.EntityWrapper::get_Id()System.Nullable<System.Guid>::.ctor(!0)
OnDamaged
#
public System.Void OnDamaged(Shared.Combat.DamageResult damageResult)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
22082D9E91D0D598C389E1F7C857C814E87449CC51AD60D6C844BEECF6623741 - Body hash
6B185E9DE19F65799ABA9FF9E42013FC8AA74C209581D2B76082A493E56DD7CB - IL size29
OnInteract
#
public System.Void OnInteract(Shared.Entity.EntityWrapper otherEntity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
97CBF7E24B195AFE145C45AC4332007AF8B54AF2BA0D399BD0B6F3E83A828E67 - Body hash
0EA5DFED850224FEFBC93FD96CECF38609CED2F12B27F049A60BB68411BC651B - IL size34
Referenced calls
Shared.Entity.EntityWrapper::get_Id()System.Nullable<System.Guid>::.ctor(!0)
OnOutOfHealth
#
public System.Boolean OnOutOfHealth(Shared.Combat.DamageResult damageResult)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
F2C876AE9407C4D47037E3B4C9BD5C1DD58AAEEB9A22145728974CD20768144C - Body hash
AE3BCB4B415043DB95ADF220E6BDE8EC838E6B02A2D2258CBA6A91763CB0BAA6 - IL size75
Referenced calls
Shared.Entity.EntityWrapper::set_Visible(System.Boolean)Shared.Entity.EntityWrapper::get_MaskRef()Shared.Entity.Components.ComponentExtension::RemoveFlag(Shared.Entity.Components.Component&, Shared.Entity.Components.Component)
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
493165AEF16E8955A93755052BDB1F2962C04E87F9D8D6284F605AC0AE7AEEB8 - Body hash
D40C9163F6F9364C47D1FAC93D3BA6FD7061463DC813658D31DD8AB7928F57B0 - IL size67
UpdateIdle
#
private System.Void UpdateIdle()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
27A9A6268BBA6A14F4FA18A3C5F4B7EE67AD01CF062F8D8FC022A2EA35A43490 - Body hash
A3C67B0142E4E50F94B7CFA7A73E06E6408FD4395F3CAA4D3E2B8ED8B101CB9E - IL size206
Referenced calls
Shared.Entity.EntityWrapper::get_Fdt()CandideCreator.Shared.Helpers.MathExtension::Mod(System.Single, System.Single)CandideServer.ServerManagers.PlayerServerManager::GetPlayersInWorld(System.Guid)System.Collections.Generic.IEnumerable<Shared.Entity.EntityWrapper>::GetEnumerator()System.Collections.Generic.IEnumerator<Shared.Entity.EntityWrapper>::get_Current()Shared.Entity.EntityWrapper::get_Position2()Microsoft.Xna.Framework.Vector2::DistanceSquared(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Shared.Entity.EntityWrapper::get_Id()System.Nullable<System.Guid>::.ctor(!0)System.Collections.IEnumerator::MoveNext()System.IDisposable::Dispose()CandideServer.Entities.Controllers.Enemies.ServerEnemySpawner::EnterTriggeredState()
UpdateTriggered
#
private System.Void UpdateTriggered()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
6547BE247167BDD2A8876CA0368CF85EF756A98B6D3E70F9153349E46ED5F9ED - Body hash
B4E42711E6788CC62E5259803C975E0E53F170B44A06393C7A748C8AEDEFDD38 - IL size113
Referenced calls
Shared.Entity.EntityWrapper::get_Fdt()CandideServer.Entities.Controllers.Enemies.ServerEnemySpawner::DoSpawn()CandideServer.Entities.Controllers.Enemies.ServerEnemySpawner::NextWave()