Romestead Assembly Reference

CandideServer.Entities.Controllers.ServerSpawnerLimitedController

Type JSON

public class in CandideServer.Entities.Controllers

Methods7
Properties0
Fields16
Events0
Type metadata

Relationships

Fields

NameVisibilitySignature
AggroedPlayerCharacterprivateprivate System.Nullable<System.Guid> AggroedPlayerCharacter
CheckTimerprivateprivate System.Single CheckTimer
InitialThreatprivateprivate System.Single InitialThreat
SpawnIntervalprivateprivate System.Single SpawnInterval
_instantAggroprivateprivate System.Boolean _instantAggro
_maxSpawnsprivateprivate System.Int32 _maxSpawns
_playerCheckDistanceprivateprivate System.Single _playerCheckDistance
_serverEntityprivateprivate CandideServer.Entities.ServerEntityModel _serverEntity
_spawnCooldownprivateprivate System.Single _spawnCooldown
_spawnedEntitiesprivateprivate System.Nullable<System.Guid>[] _spawnedEntities
_spawnIdprivateprivate System.Guid _spawnId
_spawnIntervalTimerprivateprivate System.Single _spawnIntervalTimer
_spawnOffsetprivateprivate Microsoft.Xna.Framework.Vector3 _spawnOffset
_spawnSlotsprivateprivate System.Int32 _spawnSlots
_spawnTimerprivateprivate System.Single _spawnTimer
_spawnVelocityprivateprivate Microsoft.Xna.Framework.Vector3 _spawnVelocity

Methods

CheckSpawnedEntities

private System.Void CheckSpawnedEntities()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash3C46CDA639B3D9620D62837DB047D4472DDC43020642683DBB12B3F152A724D4
  • Body hash0214A0DC049818DFB26F658387DFD9F7CCDED4935DF26B8E9C52DA6583B203A1
  • IL size79
Referenced calls
  • System.Nullable<System.Guid>::get_HasValue()
  • System.Nullable<System.Guid>::get_Value()
  • System.Collections.Generic.Dictionary<System.Guid, CandideServer.Entities.ServerEntityModel>::ContainsKey(!0)
Called by

EntityInitialize

public System.Void EntityInitialize()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashC3EDFC0667E0596E3D4A428E9FF9C5CF57268AE80DD555B2FCBA36BFD5491E42
  • Body hashE30DA1B861118481DB2EDC36BF8306759D908D1346DFD9DB0A01F4FFFAE01D4F
  • IL size279
Referenced calls
String literals
  • spawn_cooldown
  • max_spawns
  • entity_id
  • spawn_offset
  • spawn_velocity
  • player_check_distance
  • instant_aggro

FindPlayerTarget

private System.Void FindPlayerTarget()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashD370D61319E6B56E9AD123C058DE92DBFD91DB36FFBA3E852E507683E999F72E
  • Body hashD8428B74651D6E3E47459C9A6B4416F108302F20282CD3670DAD8C144DC1A673
  • IL size191
Referenced calls
  • Shared.Entity.EntityWrapper::get_Position2()
  • System.Collections.Generic.Dictionary<Shared.Entity.EntityWrapper, CandideServer.ServerServices.ServerJoinedPlayerModel>::GetEnumerator()
  • Dictionary.Enumerator<Shared.Entity.EntityWrapper, CandideServer.ServerServices.ServerJoinedPlayerModel>::get_Current()
  • System.Collections.Generic.KeyValuePair<Shared.Entity.EntityWrapper, CandideServer.ServerServices.ServerJoinedPlayerModel>::Deconstruct(!0&, !1&)
  • Shared.Entity.EntityWrapper::get_WorldId()
  • System.Guid::op_Inequality(System.Guid, System.Guid)
  • Shared.Entity.EntityWrapper::get_Position()
  • CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)
  • Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)
  • Microsoft.Xna.Framework.Vector2::LengthSquared()
  • Shared.Entity.EntityWrapper::get_Id()
  • System.Nullable<System.Guid>::.ctor(!0)
  • Dictionary.Enumerator<Shared.Entity.EntityWrapper, CandideServer.ServerServices.ServerJoinedPlayerModel>::MoveNext()
  • System.IDisposable::Dispose()
Called by

GetAvailableSpawnSlots

private System.Int32 GetAvailableSpawnSlots()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Int32
  • StaticFalse
  • VirtualFalse
  • Hash6849EEEF70B83362F0EA69B24C78CF03E932F02D51D749C7578B998B11A46F35
  • Body hashFF62B9DD4B91BC5B4E8FE5D45FD619487CDE6F9A5F4F20CC6ED9589F79CE6FA9
  • IL size46
Referenced calls
  • System.Nullable<System.Guid>::get_HasValue()
Called by

OnRemove

public System.Void OnRemove(Shared.Entity.EntityRemoveInfo entityRemoveInfo)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash3287D99A732D1D4054EC22214439E3B8721F8A0F5E6C3BC2B329EC5FA0F3B7DB
  • Body hash8A6F127E0053EB13AFDA0F394E4CD706376ECB1E15358DC72521A636A4B8AD55
  • IL size1

SpawnEntity

private System.Void SpawnEntity()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashA993837E0C167ABFA6D020B389C13675103EB8897A921C9301FAF4DEFCFF76AC
  • Body hash56CBFB3BC7A570E89CAFF099EF4BA3907C2109E878FF4D409351D9460FFF7698
  • IL size428
Referenced calls
Called by
String literals
  • ServerSpawnerLimitedController: Server entity was null
  • ServerSpawnerLimitedController: Spawn index less than 0. Make sure you have checked you can spawn before running this.
  • no_aggro_sound
  • true
  • SpawnEntity

Update

public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashAF5154B7AE969E513758A600DDCC6B415A657538E39B9AC3974082758D3236BB
  • Body hashE58453EC37B07EC4A9B7F99FCDA279172DD175E706BD3B08A01B6F183AA08D48
  • IL size253
Referenced calls