BM.EnemyUtil
Type JSONpublic class in BM
Type metadata
- Assembly
CandideServer - Namespace
BM - Base type
System.Object - Hash
4C7F2D44EB02A1A58D0378C954BDF1A025D9558D6D92DE574CEBE7070D0158A8
Relationships
Base type
System.Object
Fields
| Name | Visibility | Signature |
|---|---|---|
TrySelectRandomPlayerAsTargetAvoidList# | public | public System.Collections.Generic.HashSet<System.Guid> TrySelectRandomPlayerAsTargetAvoidList |
_candidateTargetsReuseList# | private | private System.Collections.Generic.List<System.Guid> _candidateTargetsReuseList |
Methods
ApplyFallenBurningAura
#
public System.Void ApplyFallenBurningAura(Shared.Entity.EntityWrapper entity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
717074ED3D18446EB7A24341A3E998BDE3CAA9E6CB0792BC706E68275A844E51 - Body hash
6348F82164F7F8BF8F47F6078D39D8AAAE3B37B75C1A4D278701F54A68A2199F - IL size117
Referenced calls
Shared.Entity.EntityWrapper::get_Id()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Entities.ServerEntityModel>::TryGetValue(!0, !1&)System.Collections.Generic.List<System.ValueTuple<System.String, Shared.Aura.State.AuraBaseState>>::GetEnumerator()List.Enumerator<System.ValueTuple<System.String, Shared.Aura.State.AuraBaseState>>::get_Current()System.String::op_Equality(System.String, System.String)List.Enumerator<System.ValueTuple<System.String, Shared.Aura.State.AuraBaseState>>::MoveNext()System.IDisposable::Dispose()CandideServer.SyncStrategies.SyncStrategy::NoSync()CandideServer.ServerManagers.AuraServerManager::TryApplyAuraToEntity(System.String, System.Guid, System.Nullable<System.Guid>, Shared.Aura.Args.AbstractAuraArgs, CandideServer.SyncStrategies.SyncStrategy, System.Boolean)
Called by
CandideServer.Entities.Controllers.Enemies.ServerFallenBloatController::EntityInitializeCandideServer.Entities.Controllers.Enemies.ServerFallenCenturionController::EntityInitializeCandideServer.Entities.Controllers.Enemies.ServerFallenController::EntityInitializeCandideServer.Entities.Controllers.Enemies.ServerFallenCrawlerController::EntityInitializeCandideServer.Entities.Controllers.Enemies.ServerFallenSwordController::EntityInitialize
String literals
aura:special:burning_zombie
DistanceBetween
#
public System.Single DistanceBetween(Microsoft.Xna.Framework.Vector2 pos1, Microsoft.Xna.Framework.Vector2 pos2, Shared.Entity.EntityWrapper colliderSource1, Shared.Entity.EntityWrapper colliderSource2)
Method metadata
- Visibilitypublic
- Return type
System.Single - StaticTrue
- VirtualFalse
- Hash
FD539A669414CDB9F076542FE77C09C09D4EC17D538669F930BD3ACA9461E8C3 - Body hash
EEAC488C5AA1B6A0C44AD6AD657208ABE0976787DFECED1A8E91F4860E042702 - IL size114
Referenced calls
Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::Length()Shared.Entity.EntityWrapper::get_Mask()Shared.Entity.Components.ComponentExtension::HasFlags(Shared.Entity.Components.Component, Shared.Entity.Components.Component)Shared.Entity.EntityWrapper::get_Shape()System.MathF::Max(System.Single, System.Single)
DistanceBetween
#
public System.Single DistanceBetween(Microsoft.Xna.Framework.Vector2 position, Shared.Entity.EntityWrapper entity, System.Boolean useCollider)
Method metadata
- Visibilitypublic
- Return type
System.Single - StaticTrue
- VirtualFalse
- Hash
243B94B5415E125EAED31CDAC15BBA6AE52DF1F9A2877254CE648DFF6788390F - Body hash
4783F4FD0481B46B69BB24E3BD094AA24EBD4B0D1867BC07CD11E2607954ABA2 - IL size21
Referenced calls
Shared.Entity.EntityWrapper::get_Position2()BM.EnemyUtil::DistanceBetween(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Shared.Entity.EntityWrapper, Shared.Entity.EntityWrapper)
DistanceBetween
#
public System.Single DistanceBetween(Shared.Entity.EntityWrapper entity, Microsoft.Xna.Framework.Vector2 position, System.Boolean useCollider)
Method metadata
- Visibilitypublic
- Return type
System.Single - StaticTrue
- VirtualFalse
- Hash
FEBE09C8A2E430491B49DB70BED4D228F094B998D8DF24CD73BEC81747247CCA - Body hash
7EE59085FEDD563361A037F3C017835689B582A3C98C0B3D3E8CFAF65E109D8C - IL size21
Referenced calls
Shared.Entity.EntityWrapper::get_Position2()BM.EnemyUtil::DistanceBetween(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Shared.Entity.EntityWrapper, Shared.Entity.EntityWrapper)
DistanceBetween
#
public System.Single DistanceBetween(Shared.Entity.EntityWrapper entity1, Shared.Entity.EntityWrapper entity2, System.Boolean useCollider1, System.Boolean useCollider2)
Method metadata
- Visibilitypublic
- Return type
System.Single - StaticTrue
- VirtualFalse
- Hash
6A7D0CF81BF2BF3A572120745BABD87CAD89D463E3D146F7AAE553A46898D3B0 - Body hash
129635BBF68F0C38FB2B970616B514274F1C62F6290978EFF0D31EFF3483274C - IL size32
Referenced calls
Shared.Entity.EntityWrapper::get_Position2()BM.EnemyUtil::DistanceBetween(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Shared.Entity.EntityWrapper, Shared.Entity.EntityWrapper)
FilterEntities
#
private System.Void FilterEntities(System.Collections.Generic.IEnumerable<CandideServer.Entities.ServerEntityModel> source, System.Collections.Generic.ICollection<System.Guid> baseIds, System.Collections.Generic.ICollection<CandideServer.Entities.ServerEntityModel> output, System.Collections.Generic.ICollection<System.Guid> excludeIds, System.Boolean excludeCarried, System.Boolean excludeThrown)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
01F5B8F2ED38AC1B9819FFA3C4233FB1EEFCB6304E5DC0B7BA233DDC8BFE6409 - Body hash
8CA053FF36945386DB380887F6F28C44BE09777691FA5E1EF1024BD489581C78 - IL size110
Referenced calls
System.Collections.Generic.ICollection<CandideServer.Entities.ServerEntityModel>::Clear()System.Collections.Generic.IEnumerable<CandideServer.Entities.ServerEntityModel>::GetEnumerator()System.Collections.Generic.IEnumerator<CandideServer.Entities.ServerEntityModel>::get_Current()System.Collections.Generic.ICollection<System.Guid>::Contains(!0)System.Nullable<System.Guid>::get_HasValue()System.Collections.Generic.ICollection<CandideServer.Entities.ServerEntityModel>::Add(!0)System.Collections.IEnumerator::MoveNext()System.IDisposable::Dispose()
GetEntitiesInCircleAreaWithBaseGuids
#
public System.Void GetEntitiesInCircleAreaWithBaseGuids(Shared.Entity.EntitySystem system, Microsoft.Xna.Framework.Vector2 center, System.Single radius, System.Collections.Generic.List<System.Guid> baseGuids, System.Collections.Generic.List<Shared.Entity.EntityWrapper> outEntities, System.Collections.Generic.HashSet<System.Guid> excludeGuids)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
01BDA946E6FCD7233B1C86AEC3EE01BEDDF26C8E3215C28636B87FF0914BA01A - Body hash
822EC81D5F1ECD842804C5484DAB046AAD8A0AF71109507AE5DD2D2B7A483CBF - IL size109
Referenced calls
System.Collections.Generic.List<Shared.Entity.EntityWrapper>::Clear()Shared.Entity.EntitySystem::GetEntitiesInCircleArea(Microsoft.Xna.Framework.Vector2, System.Single)System.Collections.Generic.List<Shared.Entity.EntityWrapper>::get_Count()System.Collections.Generic.List<Shared.Entity.EntityWrapper>::GetEnumerator()List.Enumerator<Shared.Entity.EntityWrapper>::get_Current()Shared.Entity.EntityWrapper::get_BaseGuid()System.Collections.Generic.List<System.Guid>::Contains(!0)Shared.Entity.EntityWrapper::get_Id()System.Collections.Generic.HashSet<System.Guid>::Contains(!0)System.Collections.Generic.List<Shared.Entity.EntityWrapper>::Add(!0)List.Enumerator<Shared.Entity.EntityWrapper>::MoveNext()System.IDisposable::Dispose()
GetEntitiesInCircleAreaWithBaseGuidsSortedByDistance
#
public System.Void GetEntitiesInCircleAreaWithBaseGuidsSortedByDistance(Shared.Entity.EntitySystem system, Microsoft.Xna.Framework.Vector2 center, System.Single radius, System.Collections.Generic.List<System.Guid> baseGuids, System.Collections.Generic.List<Shared.Entity.EntityWrapper> outEntities, System.Collections.Generic.HashSet<System.Guid> excludeGuids)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
BD46B1B1B5515AA43F844D725C9D2B3345B80C139F0866F0275344E71D6A6C3D - Body hash
30C7FBFF012A04C8334864CB90D8B4A3391716FEABF96537CBE465FADF379C39 - IL size33
Referenced calls
BM.EnemyUtil::GetEntitiesInCircleAreaWithBaseGuids(Shared.Entity.EntitySystem, Microsoft.Xna.Framework.Vector2, System.Single, System.Collections.Generic.List<System.Guid>, System.Collections.Generic.List<Shared.Entity.EntityWrapper>, System.Collections.Generic.HashSet<System.Guid>)System.Collections.Generic.List<Shared.Entity.EntityWrapper>::get_Count()BM.EnemyUtil::SortEntitiesByDistance(System.Collections.Generic.List<Shared.Entity.EntityWrapper>, Microsoft.Xna.Framework.Vector2)
GetPlayerTargetAvoidSet
#
public System.Collections.Generic.HashSet<System.Guid> GetPlayerTargetAvoidSet()
Method metadata
- Visibilitypublic
- Return type
System.Collections.Generic.HashSet<System.Guid> - StaticTrue
- VirtualFalse
- Hash
5A923152F635094734927059E9A8FDFE0A009A82FA8FD4F3FE9ED1A1C85ECE40 - Body hash
875D0854CBE5AD0AB6261DBF5162D0D60FE6B4D038DE1E2CD70F52FE874AA7BB - IL size12
Referenced calls
System.Collections.Generic.HashSet<System.Guid>::Clear()
GetServerEntitiesInCircleAreaWithBaseIds
#
public System.Void GetServerEntitiesInCircleAreaWithBaseIds(Microsoft.Xna.Framework.Vector2 center, System.Single radius, System.Guid worldId, System.Collections.Generic.List<System.Guid> baseIds, System.Collections.Generic.List<CandideServer.Entities.ServerEntityModel> outServerEntities, System.Collections.Generic.HashSet<System.Guid> excludeBaseIds, System.Boolean excludeCarriedEntities, System.Boolean excludeThrownEntities)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
99BF5977DB93FF2ED7C148B2B8AF469DDBBFCD0D3858142DBE2B873EE573127C - Body hash
4B79EC389EAFB268C92B98D2DFB7BC72F9CDC02B12B1A36005152710734F1A3C - IL size41
Referenced calls
System.Collections.Generic.List<CandideServer.Entities.ServerEntityModel>::Clear()CandideServer.ServerControllers.EntitySController::GetEntitiesInCircleArea(Microsoft.Xna.Framework.Vector2, System.Single, System.Guid)System.Collections.Generic.List<CandideServer.Entities.ServerEntityModel>::get_Count()BM.EnemyUtil::FilterEntities(System.Collections.Generic.IEnumerable<CandideServer.Entities.ServerEntityModel>, System.Collections.Generic.ICollection<System.Guid>, System.Collections.Generic.ICollection<CandideServer.Entities.ServerEntityModel>, System.Collections.Generic.ICollection<System.Guid>, System.Boolean, System.Boolean)
GetServerEntitiesInCircleAreaWithBaseIdsSortedByDistance
#
public System.Void GetServerEntitiesInCircleAreaWithBaseIdsSortedByDistance(Microsoft.Xna.Framework.Vector2 center, System.Single radius, System.Guid worldId, System.Collections.Generic.List<System.Guid> baseIds, System.Collections.Generic.List<CandideServer.Entities.ServerEntityModel> outServerEntities, System.Collections.Generic.HashSet<System.Guid> excludeIds)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
70665D9BE2F14D4FF2BD661DA7AF359466CB0AF3314A6660FE88C0D38C055FE9 - Body hash
707A16669A1E686981941977CF7B4834AF335E1B0F82DD8C781BE76EAB77A22E - IL size35
Referenced calls
BM.EnemyUtil::GetServerEntitiesInCircleAreaWithBaseIds(Microsoft.Xna.Framework.Vector2, System.Single, System.Guid, System.Collections.Generic.List<System.Guid>, System.Collections.Generic.List<CandideServer.Entities.ServerEntityModel>, System.Collections.Generic.HashSet<System.Guid>, System.Boolean, System.Boolean)System.Collections.Generic.List<CandideServer.Entities.ServerEntityModel>::get_Count()BM.EnemyUtil::SortServerEntitiesByDistance(System.Collections.Generic.List<CandideServer.Entities.ServerEntityModel>, Microsoft.Xna.Framework.Vector2)
GetServerEntitiesInRectangleAreaWithBaseIds
#
public System.Void GetServerEntitiesInRectangleAreaWithBaseIds(CandideCreator.Shared.Models.RectangleF rectangle, System.Guid worldId, System.Collections.Generic.List<System.Guid> baseIds, System.Collections.Generic.List<CandideServer.Entities.ServerEntityModel> outServerEntities, System.Collections.Generic.HashSet<System.Guid> excludeBaseIds, System.Boolean excludeCarriedEntities, System.Boolean excludeThrownEntities)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
F4E4C55C86194532E63DD2A850D09F6D796DD074A64766ED48297EFAF8BC5A9A - Body hash
56C66AD2C4B438AFAF77880DABDE19964892AC7588BFEE48652E0C5CA294690A - IL size39
Referenced calls
System.Collections.Generic.List<CandideServer.Entities.ServerEntityModel>::Clear()CandideServer.ServerControllers.EntitySController::GetEntitiesInRectangleArea(CandideCreator.Shared.Models.RectangleF, System.Guid, System.Collections.Generic.List<CandideServer.Entities.ServerEntityModel>)System.Collections.Generic.List<CandideServer.Entities.ServerEntityModel>::get_Count()BM.EnemyUtil::FilterEntities(System.Collections.Generic.IEnumerable<CandideServer.Entities.ServerEntityModel>, System.Collections.Generic.ICollection<System.Guid>, System.Collections.Generic.ICollection<CandideServer.Entities.ServerEntityModel>, System.Collections.Generic.ICollection<System.Guid>, System.Boolean, System.Boolean)
GetServerEntitiesInRectangleAreaWithBaseIdsSortedByDistance
#
public System.Void GetServerEntitiesInRectangleAreaWithBaseIdsSortedByDistance(CandideCreator.Shared.Models.RectangleF rectangle, System.Guid worldId, System.Collections.Generic.List<System.Guid> baseIds, System.Collections.Generic.List<CandideServer.Entities.ServerEntityModel> outServerEntities, System.Collections.Generic.HashSet<System.Guid> excludeIds)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
1E40750CF586D15248FB7A8784956A45EB5741DD489BB56C66519BC774298BD2 - Body hash
D43DF8332B5BBCABA03993884DCF0A4D656E31E917A7628C0577B8985C8C5C0C - IL size37
Referenced calls
BM.EnemyUtil::GetServerEntitiesInRectangleAreaWithBaseIds(CandideCreator.Shared.Models.RectangleF, System.Guid, System.Collections.Generic.List<System.Guid>, System.Collections.Generic.List<CandideServer.Entities.ServerEntityModel>, System.Collections.Generic.HashSet<System.Guid>, System.Boolean, System.Boolean)System.Collections.Generic.List<CandideServer.Entities.ServerEntityModel>::get_Count()CandideCreator.Shared.Models.RectangleF::get_Center()BM.EnemyUtil::SortServerEntitiesByDistance(System.Collections.Generic.List<CandideServer.Entities.ServerEntityModel>, Microsoft.Xna.Framework.Vector2)
HasNearbyAllies
#
public System.Boolean HasNearbyAllies(Shared.Entity.EntityWrapper entity, System.Single searchRadius)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
20E7ED540A0AB1E3F5D540AD7F5E3B47E979230DAECC8DB2E21AD69AA7487848 - Body hash
0FDBC7DB9048D58328967896F09F1E2486611DBA7E44D33F3F2F264371DAA107 - IL size155
Referenced calls
Shared.Entity.EntityWrapper::get_MaskRef()System.Enum::HasFlag(System.Enum)Shared.Entity.EntityWrapper::get_Position2()Shared.Entity.EntitySystem::GetEntitiesInCircleArea(Microsoft.Xna.Framework.Vector2, System.Single)System.Collections.Generic.List<Shared.Entity.EntityWrapper>::GetEnumerator()List.Enumerator<Shared.Entity.EntityWrapper>::get_Current()Shared.Entity.EntityWrapper::get_FactionMask()Shared.Entity.Components.FactionMaskNewExtension::HasAnyFlags(Shared.Entity.Components.FactionMask, Shared.Entity.Components.FactionMask)System.Object::Equals(System.Object)List.Enumerator<Shared.Entity.EntityWrapper>::MoveNext()System.IDisposable::Dispose()
IsEntityOk
#
public System.Boolean IsEntityOk(Shared.Entity.EntitySystem system, System.Nullable<System.Guid> entityId, out Shared.Entity.EntityWrapper& outEntity)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
331DCE3144104049DD8F1C50CDB1799DA0A018763568AD8C8135B3F64219F084 - Body hash
A3321CBD88AFEA5084DCFA9CCA7F4DE9A9A0C0EAE52095D3B3551DCF0F98F64A - IL size78
Referenced calls
System.Nullable<System.Guid>::get_HasValue()Shared.Entity.EntitySystem::GetEntityById(System.Nullable<System.Guid>)Shared.Entity.EntityWrapper::get_Health()Shared.Entity.EntityWrapper::get_WorldId()System.Guid::op_Inequality(System.Guid, System.Guid)
IsFacingDirection
#
public System.Boolean IsFacingDirection(Shared.Entity.EntityWrapper source, Microsoft.Xna.Framework.Vector2 direction, System.Single facingDirectionAngleThresholdDeg)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
4C6FFA5F6F9D1D35C5FE4BE76F834E25FFDB2540B3A93D545650200FE3C8C66A - Body hash
9CACAD923021B435E7463479117B2BD6210A7455E105CA66016FE44D7D813D6D - IL size19
Referenced calls
IsFacingTarget
#
public System.Boolean IsFacingTarget(Shared.Entity.EntityWrapper source, Shared.Entity.EntityWrapper target, System.Single facingTargetAngleThresholdDeg)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
AFC0BA19E1CE9E61A92A9B04DD442A8DC5C808FB8CC2C34861487193C345528F - Body hash
C6CD3E68E908D838AB3D1E179E1622FA41A2962649BFBB4059EA216E8DB723BF - IL size32
Referenced calls
Shared.Entity.EntityWrapper::get_Position2()Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Helpers.VectorExtension::NormalizeReturnSafe(Microsoft.Xna.Framework.Vector2)BM.EnemyUtil::IsFacingDirection(Shared.Entity.EntityWrapper, Microsoft.Xna.Framework.Vector2, System.Single)
IsFacingVector
#
private System.Boolean IsFacingVector(Microsoft.Xna.Framework.Vector2 fromDirection, Microsoft.Xna.Framework.Vector2 toDirection, System.Single angleThresholdDeg)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
8A45A1B0B7FD12E8386FE3324A54A06831045E9D08323B27E1801A04526CFA34 - Body hash
7380E9540A55E96634EFED82E0FDC3529BB42215C5F3331754A82F53CE4B810B - IL size32
Referenced calls
Microsoft.Xna.Framework.Vector2::Dot(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.MathHelper::ToRadians(System.Single)System.MathF::Cos(System.Single)
Called by
IsGroundTile
#
public System.Boolean IsGroundTile(Microsoft.Xna.Framework.Vector2 position, System.Guid worldId)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
173B669B481396EA2A8C14B2F51CB2595DAC8580AE3B7DC3F436AC727F1C7BAC - Body hash
5BA7B3ED038ED780B67E0795FB3E67C870011356C6B65828A0540B9F9036C00B - IL size49
Referenced calls
IsOutsideFoW
#
public System.Boolean IsOutsideFoW(Shared.Entity.EntityWrapper entity)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
02C73C72E4B066A0105C74771026306442819C7E619D475606D04FFA0B67C5EC - Body hash
3F44EBC195F9AECF5FAE3C8C8385D4237D56A9828F8F3A33F26AE27FDECE2513 - IL size117
Referenced calls
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_Position()CandideCreator.Shared.Helpers.VectorExtension::ToScreenSpace(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::LengthSquared()System.Collections.IEnumerator::MoveNext()System.IDisposable::Dispose()
ResetCooldown
#
public System.Void ResetCooldown(BM.Blackboard blackboard, System.String writeTimer, System.String writeIsOnCooldown, System.Single resetTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
E104B358A5166C96F2CD5403FC8111BC66C72C120F48451AF81CE75412100326 - Body hash
186678C09861FB32885C93C7653E5D2BE571A1EC675E852CC3CB19A77D78A8CC - IL size17
Referenced calls
BM.Blackboard::SetValue(System.String, T)
SetMaxThreat
#
public System.Void SetMaxThreat(Shared.Entity.EntityWrapper threatenedEntity, Shared.Entity.EntityWrapper threateningEntity, System.Single extraThreat)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
13293EF14D041B673AF7A64FE72EFEB3576E41A76CE09CF18443BF3C9E468B52 - Body hash
079DC44AD3C248074855235FA5B61C57D47F906F2D969905AE5A15DAA5D85BF7 - IL size41
Referenced calls
Shared.Entity.EntityWrapper::get_MaskRef()System.Enum::HasFlag(System.Enum)Shared.Entity.EntityWrapper::get_AggressiveComponent()Shared.Entity.Components.AggressiveComponent::SetEntityThreatToMax(Shared.Entity.EntityWrapper, Shared.Entity.EntityWrapper, System.Single)
SortEntitiesByDistance
#
public System.Void SortEntitiesByDistance(System.Collections.Generic.List<Shared.Entity.EntityWrapper> entities, Microsoft.Xna.Framework.Vector2 center)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
E47054AEF143A724EF3C3FF1459632FDC21F8C4B83B0CABDE2020B996C9AEEBC - Body hash
F456E0351FFE8E1168768AF1AC1C85C73E9D9D9738D80715057CFA5B42DCA4CB - IL size32
Referenced calls
EnemyUtil.<>c__DisplayClass13_0::.ctor()EnemyUtil.<>c__DisplayClass13_0::<SortEntitiesByDistance>b__0(Shared.Entity.EntityWrapper, Shared.Entity.EntityWrapper)System.Comparison<Shared.Entity.EntityWrapper>::.ctor(System.Object, System.IntPtr)System.Collections.Generic.List<Shared.Entity.EntityWrapper>::Sort(System.Comparison<!0>)
SortServerEntitiesByDistance
#
public System.Void SortServerEntitiesByDistance(System.Collections.Generic.List<CandideServer.Entities.ServerEntityModel> entities, Microsoft.Xna.Framework.Vector2 center)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
0AA77482150FF80BC2D810AE5DFF5EEC3B70B24A6651CD6A7420D03001F70607 - Body hash
4B607EEF113ECC27349609467EE969E792ECAD094EC687B9262DDD415234A190 - IL size32
Referenced calls
EnemyUtil.<>c__DisplayClass17_0::.ctor()EnemyUtil.<>c__DisplayClass17_0::<SortServerEntitiesByDistance>b__0(CandideServer.Entities.ServerEntityModel, CandideServer.Entities.ServerEntityModel)System.Comparison<CandideServer.Entities.ServerEntityModel>::.ctor(System.Object, System.IntPtr)System.Collections.Generic.List<CandideServer.Entities.ServerEntityModel>::Sort(System.Comparison<!0>)
SyncBlackboardValue
#
public T SyncBlackboardValue<T>(BM.Blackboard blackboard, System.String key, T value)
Method metadata
- Visibilitypublic
- Return type
T - StaticTrue
- VirtualFalse
- Hash
F00525098942876625AD77D4CBF9BE8254CB10AB8362A822166244FAEBA48D01 - Body hash
9910A26A62298B9FAAF2C59ED44FDAF81CE157BBBB9DED0800C37837281861BC - IL size10
Referenced calls
BM.Blackboard::SetValue(System.String, T)
SyncParameter
#
public T SyncParameter<T>(CandideCreator.Shared.Helpers.Parameters parameters, System.String key, T value)
Method metadata
- Visibilitypublic
- Return type
T - StaticTrue
- VirtualFalse
- Hash
BEA351F550245699954A6F7820AB46031CDB9C5916D372A2ADAB6A2F3A16E73B - Body hash
F1C98880AF0054FA81B6B66F75445A21122E64DA80E694000B3C44E8E113854F - IL size67
Referenced calls
System.Object::ToString()CandideCreator.Shared.Helpers.Parameters::Set(System.String, System.String)
SyncParameterAndBlackboardValue
#
public T SyncParameterAndBlackboardValue<T>(CandideCreator.Shared.Helpers.Parameters parameters, System.String parameterKey, BM.Blackboard blackboard, System.String blackboardKey, T value)
Method metadata
- Visibilitypublic
- Return type
T - StaticTrue
- VirtualFalse
- Hash
C30AEE5161C3782E072526CA7C204C4A8FF536F541C49A8084E3A24BFAA88B1B - Body hash
B58CE4CAA1F2D0C328DCE6FE2632824ECB6BB662DFC1E1F9815C69D8F173CF52 - IL size23
Referenced calls
BM.EnemyUtil::SyncParameter(CandideCreator.Shared.Helpers.Parameters, System.String, T)BM.EnemyUtil::SyncBlackboardValue(BM.Blackboard, System.String, T)
TryGetAttackPositionAndDirection
#
public System.Boolean TryGetAttackPositionAndDirection(Shared.Entity.EntityWrapper entity, System.String directionalOffsetId, out Microsoft.Xna.Framework.Vector3& spawnPosition, out System.Single& direction)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
F1AC5EE4FFA390031657AF1FEDC16865C96F46D2F881EA450C1FF815805E1B95 - Body hash
A6E8C422916F17FB6F465876FBAABDA776B1AC230FA8E7183289178D2B6FD572 - IL size186
Referenced calls
Microsoft.Xna.Framework.Vector3::get_Zero()Shared.Entity.EntityWrapper::get_Direction()Shared.Entity.EntityWrapper::get_TargetOfAggro()CandideServer.Database.DirectionalOffsetsDataBase::TryGetDirectionalOffsetData(System.String, CandideServer.Data.DataModels.DirectionalOffsetData&)CandideCreator.Shared.Helpers.VectorExtension::DirectionTo8IntDirection(System.Single)Shared.Entity.EntityWrapper::get_Position()Shared.Entity.EntityWrapper::get_Shape()Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector3::op_Subtraction(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Helpers.VectorExtension::ToFloatDirection(Microsoft.Xna.Framework.Vector2)
TryGetClosest
#
private System.Boolean TryGetClosest(System.Collections.Generic.IEnumerable<CandideServer.Entities.ServerEntityModel> source, Microsoft.Xna.Framework.Vector2 center, System.Collections.Generic.ICollection<System.Guid> baseIds, out CandideServer.Entities.ServerEntityModel& closest, System.Collections.Generic.ICollection<System.Guid> excludeIds, System.Boolean excludeCarried, System.Boolean excludeThrown)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
D88981FE36AC3EEF60F4157E587BC9B7E4E4A9818B365997EE789CBBB0595AB5 - Body hash
79D13E414183600F3050D17B222F7FB9EE015B4E8509B512EC88277DC1178E71 - IL size140
Referenced calls
System.Collections.Generic.IEnumerable<CandideServer.Entities.ServerEntityModel>::GetEnumerator()System.Collections.Generic.IEnumerator<CandideServer.Entities.ServerEntityModel>::get_Current()System.Collections.Generic.ICollection<System.Guid>::Contains(!0)System.Nullable<System.Guid>::get_HasValue()CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector2::DistanceSquared(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)System.Collections.IEnumerator::MoveNext()System.IDisposable::Dispose()
TryGetClosestEntityInCircleAreaWithBaseGuids
#
public System.Boolean TryGetClosestEntityInCircleAreaWithBaseGuids(Shared.Entity.EntitySystem system, Microsoft.Xna.Framework.Vector2 center, System.Single radius, System.Collections.Generic.HashSet<System.Guid> baseGuids, out Shared.Entity.EntityWrapper& closestEntity, System.Collections.Generic.HashSet<System.Guid> excludeGuids, System.Boolean excludeCarriedEntities, System.Boolean excludeAirborneEntities)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
17075E3818FFBF7AADFB5EE42356C390D3E5A2AE58F9EC668377C457154DD6F2 - Body hash
7FEBEF9D6E0A3906AAD80A813A87023B2B85A6E59852FCACB242D8A57E2A8124 - IL size175
Referenced calls
Shared.Entity.EntitySystem::GetEntitiesInCircleArea(Microsoft.Xna.Framework.Vector2, System.Single)System.Collections.Generic.List<Shared.Entity.EntityWrapper>::get_Count()System.Collections.Generic.List<Shared.Entity.EntityWrapper>::GetEnumerator()List.Enumerator<Shared.Entity.EntityWrapper>::get_Current()Shared.Entity.EntityWrapper::get_BaseGuid()System.Collections.Generic.HashSet<System.Guid>::Contains(!0)Shared.Entity.EntityWrapper::get_Id()Shared.Entity.EntityWrapper::get_CarrierId()System.Nullable<System.Guid>::get_HasValue()Shared.Entity.EntityWrapper::get_HeightFromFloor()Shared.Entity.EntityWrapper::get_Position2()Microsoft.Xna.Framework.Vector2::DistanceSquared(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)List.Enumerator<Shared.Entity.EntityWrapper>::MoveNext()System.IDisposable::Dispose()
TryGetClosestServerEntityInCircleAreaWithBaseIds
#
public System.Boolean TryGetClosestServerEntityInCircleAreaWithBaseIds(Microsoft.Xna.Framework.Vector2 center, System.Single radius, System.Guid worldId, System.Collections.Generic.HashSet<System.Guid> baseIds, out CandideServer.Entities.ServerEntityModel& closestServerEntity, System.Collections.Generic.HashSet<System.Guid> excludeBaseIds, System.Boolean excludeCarriedEntities, System.Boolean excludeThrownEntities)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
CCD2A5B5A89D4115C8AB7A4D8BF65FFD360C063D7497408AAD3580531B41E798 - Body hash
B8679B6AFC807CA93E31F2428A1C078FD12E44E1448893246DB2F1621A9D4B78 - IL size40
Referenced calls
CandideServer.ServerControllers.EntitySController::GetEntitiesInCircleArea(Microsoft.Xna.Framework.Vector2, System.Single, System.Guid)System.Collections.Generic.List<CandideServer.Entities.ServerEntityModel>::get_Count()BM.EnemyUtil::TryGetClosest(System.Collections.Generic.IEnumerable<CandideServer.Entities.ServerEntityModel>, Microsoft.Xna.Framework.Vector2, System.Collections.Generic.ICollection<System.Guid>, CandideServer.Entities.ServerEntityModel&, System.Collections.Generic.ICollection<System.Guid>, System.Boolean, System.Boolean)
TryGetClosestServerEntityInRectangleAreaWithBaseIds
#
public System.Boolean TryGetClosestServerEntityInRectangleAreaWithBaseIds(CandideCreator.Shared.Models.RectangleF rectangle, System.Guid worldId, System.Collections.Generic.HashSet<System.Guid> baseIds, out CandideServer.Entities.ServerEntityModel& closestServerEntity, System.Collections.Generic.HashSet<System.Guid> excludeBaseIds, System.Boolean excludeCarriedEntities, System.Boolean excludeThrownEntities)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
93FB1C2ED6389757052721492EAECE7C077B4B8CBD4340CC9E137E3E86B3885A - Body hash
A093E20EA7BECA39E7285E9EFD10DC95D2EED5E8185B34BE590E3409F60EB19C - IL size56
Referenced calls
CandideServer.ServerControllers.EntitySController::GetEntitiesInRectangleArea(CandideCreator.Shared.Models.RectangleF, System.Guid, System.Collections.Generic.List<CandideServer.Entities.ServerEntityModel>)System.Collections.Generic.List<CandideServer.Entities.ServerEntityModel>::get_Count()CandideCreator.Shared.Models.RectangleF::get_Center()Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)BM.EnemyUtil::TryGetClosest(System.Collections.Generic.IEnumerable<CandideServer.Entities.ServerEntityModel>, Microsoft.Xna.Framework.Vector2, System.Collections.Generic.ICollection<System.Guid>, CandideServer.Entities.ServerEntityModel&, System.Collections.Generic.ICollection<System.Guid>, System.Boolean, System.Boolean)
TryGetDirectionalOffset
#
public System.Boolean TryGetDirectionalOffset(Shared.Entity.EntityWrapper entity, System.String directionalOffsetId, out Microsoft.Xna.Framework.Vector3& outOffset, System.Boolean useHeight, System.Nullable<System.Single> direction, System.Boolean useNewOrigin)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
C3B7581435C6AB289204E9A641B6836F200668CC97793ED3272DDAE9DB91FACA - Body hash
797A8B0F198B2C2C2760422D7D9372B809B23621CC5BAFC4E60F78ACAD0A5F30 - IL size166
Referenced calls
Microsoft.Xna.Framework.Vector3::get_Zero()CandideServer.Database.DirectionalOffsetsDataBase::TryGetDirectionalOffsetData(System.String, CandideServer.Data.DataModels.DirectionalOffsetData&)System.Nullable<System.Single>::get_HasValue()Shared.Entity.EntityWrapper::get_Direction()System.Nullable<System.Single>::GetValueOrDefault()CandideCreator.Shared.Helpers.VectorExtension::DirectionTo8IntDirection(System.Single)Shared.Entity.EntityWrapper::get_Shape()Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)
Called by
CandideServer.Entities.BehaviorMachine.ServerLaserStatueController::UpdateLaserOffsetPositionCandideServer.Entities.Controllers.Enemies.ServerPotmanController::UpdateCandideServer.Entities.ControllerSets.Fallen.SkeletonArcher.ServerMagusMinervaController::UpdateLaserOffsetPositionCandide.Entities.Controllers.BoarController.BoarController::ReceiveEntityVfxMessageCandide.Entities.Controllers.Creatures.MagusDianaController::UpdateCandide.Entities.Controllers.GoatController.GoatController::ReceiveEntityVfxMessageCandide.Entities.Controllers.LaserStatueController.LaserStatueController::UpdateLaserOffsetPositionCandide.Entities.Controllers.Other.BehaviorMachine.BigScorpionController::HandleEmitterCandide.Entities.Controllers.Other.BehaviorMachine.PhoenixController::ReceiveEntityVfxMessageCandide.Entities.Controllers.Other.BehaviorMachine.PotManController::UpdateCandide.Entities.Controllers.Other.BehaviorMachine.SnakeController::ReceiveEntityVfxMessageCandide.Entities.Controllers.Other.BehaviorMachine.VultureController::ReceiveEntityVfxMessageMagusCeresController::UpdateMagusMarsController::UpdateMagusMercuryController::UpdateMagusMinervaController::UpdateMagusMinervaController::UpdateLaserOffsetPositionMagusOrcusController::UpdateMagusVenusController::UpdateMagusVulcanController::UpdateSkeletonWarriorController::UpdateWindupParticle
TrySelectAndSetRandomPlayerTarget
#
public System.Boolean TrySelectAndSetRandomPlayerTarget(System.Guid& selectedTargetId, Shared.Entity.EntitySystem system, System.Collections.Generic.HashSet<System.Guid> avoidTargetIds, BM.Blackboard blackboard, System.String targetBlackboardKey, System.Nullable<CandideCreator.Shared.Models.RectangleF> searchArea)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
41296314FCADBF8217CDF2E4E60AACC92D92CEE68415175655C25E8A37A585DC - Body hash
B42B35AB232043EF269DF66DF0B0D3D94424EB267FD0CCBE7AE7DCDDB48EEAF6 - IL size16
TrySelectAndSetRandomPlayerTarget
#
public System.Boolean TrySelectAndSetRandomPlayerTarget(System.Guid& selectedTargetId, out Shared.Entity.EntityWrapper& outSelectedTarget, Shared.Entity.EntitySystem system, System.Collections.Generic.HashSet<System.Guid> avoidTargetIds, BM.Blackboard blackboard, System.String targetBlackboardKey, System.Nullable<CandideCreator.Shared.Models.RectangleF> searchArea)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
B601009ACFAB2C244D4926A7A9DA8784664511B2CE9935E44C8CDD3F40C90F89 - Body hash
BE28D325A61FE872C1331C2CAE8B23DFE7AF1E9E017936822CCD0E36FBC55913 - IL size339
Referenced calls
CandideServer.ServerManagers.PlayerServerManager::GetPlayersInWorld(System.Guid)System.Collections.Generic.List<System.Guid>::Clear()System.Collections.Generic.IEnumerable<Shared.Entity.EntityWrapper>::GetEnumerator()System.Collections.Generic.IEnumerator<Shared.Entity.EntityWrapper>::get_Current()System.Nullable<CandideCreator.Shared.Models.RectangleF>::get_HasValue()System.Nullable<CandideCreator.Shared.Models.RectangleF>::GetValueOrDefault()Shared.Entity.EntityWrapper::get_Position2()Microsoft.Xna.Framework.Vector2::ToPoint()CandideCreator.Shared.Models.RectangleF::Contains(Microsoft.Xna.Framework.Point)Shared.Entity.EntityWrapper::get_Id()System.Collections.Generic.HashSet<System.Guid>::Contains(!0)System.Collections.Generic.List<System.Guid>::Add(!0)System.Collections.IEnumerator::MoveNext()System.IDisposable::Dispose()System.Collections.Generic.List<System.Guid>::get_Count()System.Collections.Generic.HashSet<System.Guid>::get_Count()System.Collections.Generic.HashSet<System.Guid>::GetEnumerator()HashSet.Enumerator<System.Guid>::get_Current()System.Collections.Generic.List<System.Guid>::Remove(!0)HashSet.Enumerator<System.Guid>::MoveNext()System.Collections.Generic.HashSet<System.Guid>::Clear()System.Random::Next(System.Int32)System.Collections.Generic.List<System.Guid>::get_Item(System.Int32)System.Nullable<System.Guid>::.ctor(!0)BM.EnemyUtil::IsEntityOk(Shared.Entity.EntitySystem, System.Nullable<System.Guid>, Shared.Entity.EntityWrapper&)System.String::IsNullOrEmpty(System.String)BM.Blackboard::SetValue(System.String, T)