CandideServer.Entities.Controllers.ServerSpawnerLimitedController
Type JSONpublic class in CandideServer.Entities.Controllers
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.Entities.Controllers - Base type
Shared.Entity.Base.AbstractController - Hash
7B03A8600C7AC0E78A5B1BDD03C187861815D2A6713CFE81563D354940855C1C
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
AggroedPlayerCharacter# | private | private System.Nullable<System.Guid> AggroedPlayerCharacter |
CheckTimer# | private | private System.Single CheckTimer |
InitialThreat# | private | private System.Single InitialThreat |
SpawnInterval# | private | private System.Single SpawnInterval |
_instantAggro# | private | private System.Boolean _instantAggro |
_maxSpawns# | private | private System.Int32 _maxSpawns |
_playerCheckDistance# | private | private System.Single _playerCheckDistance |
_serverEntity# | private | private CandideServer.Entities.ServerEntityModel _serverEntity |
_spawnCooldown# | private | private System.Single _spawnCooldown |
_spawnedEntities# | private | private System.Nullable<System.Guid>[] _spawnedEntities |
_spawnId# | private | private System.Guid _spawnId |
_spawnIntervalTimer# | private | private System.Single _spawnIntervalTimer |
_spawnOffset# | private | private Microsoft.Xna.Framework.Vector3 _spawnOffset |
_spawnSlots# | private | private System.Int32 _spawnSlots |
_spawnTimer# | private | private System.Single _spawnTimer |
_spawnVelocity# | private | private Microsoft.Xna.Framework.Vector3 _spawnVelocity |
Methods
CheckSpawnedEntities
#
private System.Void CheckSpawnedEntities()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
3C46CDA639B3D9620D62837DB047D4472DDC43020642683DBB12B3F152A724D4 - Body hash
0214A0DC049818DFB26F658387DFD9F7CCDED4935DF26B8E9C52DA6583B203A1 - 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)
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
C3EDFC0667E0596E3D4A428E9FF9C5CF57268AE80DD555B2FCBA36BFD5491E42 - Body hash
E30DA1B861118481DB2EDC36BF8306759D908D1346DFD9DB0A01F4FFFAE01D4F - IL size279
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::GetVector3(System.String, Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Helpers.Parameters::GetBool(System.String, System.Boolean)CandideServer.Helpers.ServerEntityHelper::ToServerEntity(Shared.Entity.EntityWrapper)
String literals
spawn_cooldownmax_spawnsentity_idspawn_offsetspawn_velocityplayer_check_distanceinstant_aggro
FindPlayerTarget
#
private System.Void FindPlayerTarget()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
D370D61319E6B56E9AD123C058DE92DBFD91DB36FFBA3E852E507683E999F72E - Body hash
D8428B74651D6E3E47459C9A6B4416F108302F20282CD3670DAD8C144DC1A673 - 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()
GetAvailableSpawnSlots
#
private System.Int32 GetAvailableSpawnSlots()
Method metadata
- Visibilityprivate
- Return type
System.Int32 - StaticFalse
- VirtualFalse
- Hash
6849EEEF70B83362F0EA69B24C78CF03E932F02D51D749C7578B998B11A46F35 - Body hash
FF62B9DD4B91BC5B4E8FE5D45FD619487CDE6F9A5F4F20CC6ED9589F79CE6FA9 - IL size46
Referenced calls
System.Nullable<System.Guid>::get_HasValue()
OnRemove
#
public System.Void OnRemove(Shared.Entity.EntityRemoveInfo entityRemoveInfo)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
3287D99A732D1D4054EC22214439E3B8721F8A0F5E6C3BC2B329EC5FA0F3B7DB - Body hash
8A6F127E0053EB13AFDA0F394E4CD706376ECB1E15358DC72521A636A4B8AD55 - IL size1
SpawnEntity
#
private System.Void SpawnEntity()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
A993837E0C167ABFA6D020B389C13675103EB8897A921C9301FAF4DEFCFF76AC - Body hash
56CBFB3BC7A570E89CAFF099EF4BA3907C2109E878FF4D409351D9460FFF7698 - IL size428
Referenced calls
CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)System.Guid::op_Equality(System.Guid, System.Guid)System.Nullable<System.Guid>::get_HasValue()System.Guid::NewGuid()CandideServer.ServerControllers.SpawnEntityArgs::.ctor()System.Collections.Generic.Dictionary<System.String, System.String>::.ctor()System.Collections.Generic.Dictionary<System.String, System.String>::Add(!0, !1)Shared.Entity.EntityWrapper::get_Position()Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)CandideServer.ServerManagers.EntityServerManager::SpawnEntity(CandideServer.ServerControllers.SpawnEntityArgs)System.Nullable<System.Guid>::get_Value()CandideServer.ServerGameState::TryGetPlayerCharacter(System.Guid, CandideServer.Models.Player.ServerPlayerCharacter&)CandideServer.ServerGameState::TryGetServerEntity(System.Guid, CandideServer.Entities.ServerEntityModel&, System.String)CandideServer.ServerSystems.EntitySpawnServerSystem::ApplyInstantAggro(CandideServer.Entities.ServerEntityModel, Shared.Entity.EntityWrapper)System.Nullable<System.Guid>::.ctor(!0)
String literals
ServerSpawnerLimitedController: Server entity was nullServerSpawnerLimitedController: Spawn index less than 0. Make sure you have checked you can spawn before running this.no_aggro_soundtrueSpawnEntity
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
AF5154B7AE969E513758A600DDCC6B415A657538E39B9AC3974082758D3236BB - Body hash
E58453EC37B07EC4A9B7F99FCDA279172DD175E706BD3B08A01B6F183AA08D48 - IL size253
Referenced calls
CandideServer.Entities.Controllers.ServerSpawnerLimitedController::CheckSpawnedEntities()Shared.Entity.EntityWrapper::get_Fdt()CandideServer.Entities.Controllers.ServerSpawnerLimitedController::FindPlayerTarget()System.Nullable<System.Guid>::get_HasValue()CandideServer.Entities.Controllers.ServerSpawnerLimitedController::GetAvailableSpawnSlots()CandideServer.Entities.Controllers.ServerSpawnerLimitedController::SpawnEntity()