CandideServer.Entities.ControllerSets.Wolf.WolfAi
Type JSONpublic class in CandideServer.Entities.ControllerSets.Wolf
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.Entities.ControllerSets.Wolf - Base type
Shared.Entity.Base.AbstractAi - Hash
F58F20DB5F7BC6365F3A1B425099F80DF90147A418766BAED042A594FBB01E3D
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
GroupAttackArgs# | public | public Shared.Entity.Groups.GroupAttackArgs GroupAttackArgs |
_alertGrowlTimer# | private | private System.Single _alertGrowlTimer |
_patrolAroundTimer# | private | private System.Single _patrolAroundTimer |
_spawnPosition# | private | private Microsoft.Xna.Framework.Vector2 _spawnPosition |
_targetOfAggro# | private | private Shared.Entity.EntityWrapper _targetOfAggro |
Methods
CallForAssistance
#
public System.Void CallForAssistance(System.Single radius)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
9AEA54977E9CA21961CBE3ADFB56BB5E83EFF449FFD120306C433E7266EF7BDB - Body hash
18F6BE2C31E8720FC95E7EFA88F3E8572A44CD624A6F36AC3F647EE47CA34F8D - IL size194
Referenced calls
Shared.Entity.Base.AbstractAi::get_Entity()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_Ai()Shared.Entity.EntityWrapper::set_TargetOfAggro(Shared.Entity.EntityWrapper)List.Enumerator<Shared.Entity.EntityWrapper>::MoveNext()System.IDisposable::Dispose()
GetHighestThreatEntity
#
private Shared.Entity.EntityWrapper GetHighestThreatEntity()
Method metadata
- Visibilityprivate
- Return type
Shared.Entity.EntityWrapper - StaticFalse
- VirtualFalse
- Hash
23A34E03779163919CC5A8FDBC56E361E789341CE466D1A9BAF09A78709C8549 - Body hash
C849B16D0F36A3100BC388BA86D0B2361ABCA44CDD1DFE5BB0B49AFDEDE7A514 - IL size38
Referenced calls
Shared.Entity.Base.AbstractAi::get_Entity()Shared.Entity.Components.AggressiveComponent::GetHighestThreatEntity()
GetNextAction
#
public Shared.Entity.Base.AbstractAction GetNextAction()
Method metadata
- Visibilitypublic
- Return type
Shared.Entity.Base.AbstractAction - StaticFalse
- VirtualTrue
- Hash
B205439241C44218502681BCA22242E9DC5456564AF408542587410C7BBF33E0 - Body hash
242E87C2A660552C6923648C8F5607865A18B14126FE2F196030095A0DE53D3C - IL size759
Referenced calls
Shared.Entity.Base.AbstractAi::get_Entity()Shared.Entity.EntityWrapper::get_TargetOfAggro()Shared.Entity.Components.AggressiveComponent::ClearAggro(Shared.Entity.EntityWrapper)Shared.Entity.EntityWrapper::get_Position2()Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::Length()CandideServer.Entities.ControllerSets.Wolf.WolfAi::CallForAssistance(System.Single)Shared.Entity.Base.ControllerActionArgs::.ctor()WolfAi.<>c::<GetNextAction>b__6_0(Shared.Entity.Base.ActionStatus)System.Action<Shared.Entity.Base.ActionStatus>::.ctor(System.Object, System.IntPtr)CandideServer.Entities.Ai.Actions.HowlAction::.ctor(Shared.Entity.Base.EntityControllerBase, Shared.Entity.Base.ControllerActionArgs, System.Action<Shared.Entity.Base.ActionStatus>)Shared.Entity.EntityWrapper::get_Controller()CandideServer.Entities.ControllerSets.Wolf.WolfAi::<GetNextAction>b__6_1(Shared.Entity.Base.ActionStatus)CandideServer.Entities.Ai.Actions.AttackEntityAction::.ctor(Shared.Entity.Base.EntityControllerBase, Shared.Entity.Base.ControllerActionArgs, System.Action<Shared.Entity.Base.ActionStatus>)WolfAi.<>c::<GetNextAction>b__6_2(Shared.Entity.Base.ActionStatus)CandideServer.Entities.Ai.Actions.MoveAction::.ctor(Shared.Entity.Base.EntityControllerBase, Shared.Entity.Base.ControllerActionArgs, System.Action<Shared.Entity.Base.ActionStatus>)CandideServer.Entities.ControllerSets.Wolf.WolfAi::<GetNextAction>b__6_3(Shared.Entity.Base.ActionStatus)CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)Shared.Entity.EntityWrapper::set_Direction(System.Single)CandideServer.Entities.Ai.Actions.WanderingAction::.ctor(Shared.Entity.Base.EntityControllerBase, Shared.Entity.Base.ControllerActionArgs, System.Action<Shared.Entity.Base.ActionStatus>)
Initialize
#
public System.Void Initialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
B1FC65ED3DF8C8FDA2FA1F4E0D6EFC65FF6FC54535EB43894EAAB1DB0133C11C - Body hash
A1926598A169B75C156D86D98B4F0C6BF3C0A623F3FE6CB84E6D5FC8E48C7691 - IL size18
Referenced calls
Shared.Entity.Base.AbstractAi::get_Entity()Shared.Entity.EntityWrapper::get_Position2()
OnDamaged
#
public System.Void OnDamaged(Shared.Combat.DamageResult damageResult)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
5CDBFFA6DFBFD40321849217BD8142211D6C73B02E7880C90106E2520C92CDA8 - Body hash
CAF83E1F86F303B2C54FA2F60F07D47D9D499FC923290180748238298F581190 - IL size195
Referenced calls
Shared.Entity.EntityWrapper::get_FactionMask()Shared.Entity.Components.FactionMaskNewExtension::HasFlags(Shared.Entity.Components.FactionMask, Shared.Entity.Components.FactionMask)CandideServer.Entities.ControllerSets.Wolf.WolfAi::CallForAssistance(System.Single)System.Object::Equals(System.Object, System.Object)Shared.Entity.EntityWrapper::get_Position2()Shared.Entity.Base.AbstractAi::get_Entity()Microsoft.Xna.Framework.Vector2::Distance(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Shared.Entity.EntityWrapper::get_Controller()Shared.Entity.Base.AbstractAi::CancelCurrentTask()Shared.Entity.Base.AbstractAi::OnDamaged(Shared.Combat.DamageResult)
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
845851F2FAFCFF039FE2611BEF80E379A7868CECAC3E0F5E5AEBAAE33836B3EA - Body hash
769E00955C56EF75C9D97D4E3E342840360C47375A9E1811A90B96B6A033FE94 - IL size87
Referenced calls
Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::get_TotalSeconds()Shared.Entity.Base.AbstractAi::Update(Microsoft.Xna.Framework.GameTime)