CandideServer.Entities.ControllerSets.AlphaWolf.AlphaWolfAi
Type JSONpublic class in CandideServer.Entities.ControllerSets.AlphaWolf
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.Entities.ControllerSets.AlphaWolf - Base type
Shared.Entity.Base.AbstractAi - Hash
ED4107A18F00944500AACF24E760EBFF6EB2C9B0173036B62F670C0464ED2882
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
AttackFails# | public | public System.Int32 AttackFails |
DesignateAttackTimer# | public | public System.Single DesignateAttackTimer |
GroupAttackArgs# | public | public Shared.Entity.Groups.GroupAttackArgs GroupAttackArgs |
NextAttackIndex# | public | public System.Int32 NextAttackIndex |
ThreatTable# | public | public Shared.Entity.Components.ThreatTable ThreatTable |
_addToWolfListTimer# | private | private System.Single _addToWolfListTimer |
_alertGrowlTimer# | private | private System.Single _alertGrowlTimer |
_groupList# | private | private System.Collections.Generic.List<Shared.Entity.Groups.GroupAttackArgs> _groupList |
_howlTimer# | private | private System.Single _howlTimer |
_spawnPosition# | private | private Microsoft.Xna.Framework.Vector2 _spawnPosition |
Methods
CheckAndDesignateWolfPack
#
private System.Void CheckAndDesignateWolfPack()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
6D079E50952CF3DAD27CCF008BF823CA4A7CC369BDC17771DF5F7CF7FF6D7783 - Body hash
F042F4067947850096863282512BA4CCABCBE145B39113E5A701339ED3902CFB - IL size140
Referenced calls
AlphaWolfAi.<>c::<CheckAndDesignateWolfPack>b__13_0(Shared.Entity.Groups.GroupAttackArgs)System.Predicate<Shared.Entity.Groups.GroupAttackArgs>::.ctor(System.Object, System.IntPtr)System.Collections.Generic.List<Shared.Entity.Groups.GroupAttackArgs>::RemoveAll(System.Predicate<!0>)AlphaWolfAi.<>c::<CheckAndDesignateWolfPack>b__13_1(Shared.Entity.Groups.GroupAttackArgs, Shared.Entity.Groups.GroupAttackArgs)System.Comparison<Shared.Entity.Groups.GroupAttackArgs>::.ctor(System.Object, System.IntPtr)System.Collections.Generic.List<Shared.Entity.Groups.GroupAttackArgs>::Sort(System.Comparison<!0>)System.Collections.Generic.List<Shared.Entity.Groups.GroupAttackArgs>::get_Count()System.Collections.Generic.List<Shared.Entity.Groups.GroupAttackArgs>::get_Item(System.Int32)
CheckForGroup
#
private System.Void CheckForGroup()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
02877DB255DD93D6157B4EFDBF6D77E5F6C466C68961DEC87719EA79073BCBA8 - Body hash
88A0F3CAEA640A9EADE4BC1C712D35567DCACFC0BA6E25D9AD16B312148A9C5F - IL size199
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.Groups.GroupAttackArgs>::get_Count()Shared.Entity.Groups.GroupAttackArgs::TakeControl(Shared.Entity.EntityWrapper, Shared.Entity.EntityWrapper)System.Collections.Generic.List<Shared.Entity.Groups.GroupAttackArgs>::Add(!0)System.Collections.Generic.List<Shared.Entity.EntityWrapper>::GetEnumerator()List.Enumerator<Shared.Entity.EntityWrapper>::get_Current()System.Object::Equals(System.Object, System.Object)Shared.Entity.EntityWrapper::get_Ai()List.Enumerator<Shared.Entity.EntityWrapper>::MoveNext()System.IDisposable::Dispose()
DesignateWolfToAttack
#
private System.Void DesignateWolfToAttack()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
3E8F6FD6DBD8D408D6FC3F74111DDF52B407B2AA53478370B73091A7842F6ECF - Body hash
75C6DD6337908D4B98949FAC9C0C391EC0AE64211700FAE6904E435BE6AD8E14 - IL size181
Referenced calls
System.Collections.Generic.List<Shared.Entity.Groups.GroupAttackArgs>::get_Count()System.Collections.Generic.List<Shared.Entity.Groups.GroupAttackArgs>::get_Item(System.Int32)System.Collections.Generic.List<Shared.Entity.Groups.GroupAttackArgs>::GetEnumerator()List.Enumerator<Shared.Entity.Groups.GroupAttackArgs>::get_Current()List.Enumerator<Shared.Entity.Groups.GroupAttackArgs>::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
4891FA0BEE209A463046C0E7C06CDE9C068A373131493002E08827293091D8BF - Body hash
0D9E2A5C841466BA18AFFF20185350FA047B7EACCBD7E08A2887A442A5A1FD45 - IL size714
Referenced calls
CandideServer.Entities.ControllerSets.AlphaWolf.AlphaWolfAi::CheckForGroup()CandideServer.Entities.ControllerSets.AlphaWolf.AlphaWolfAi::CheckAndDesignateWolfPack()Shared.Entity.Base.AbstractAi::get_Entity()CandideServer.Entities.ControllerSets.AlphaWolf.AlphaWolfAi::GetHighestThreatEntity()Shared.Entity.EntityWrapper::get_Position2()Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::Length()System.Collections.Generic.List<Shared.Entity.Groups.GroupAttackArgs>::GetEnumerator()List.Enumerator<Shared.Entity.Groups.GroupAttackArgs>::get_Current()Shared.Entity.EntityWrapper::set_TargetOfAggro(Shared.Entity.EntityWrapper)List.Enumerator<Shared.Entity.Groups.GroupAttackArgs>::MoveNext()System.IDisposable::Dispose()Shared.Entity.Base.ControllerActionArgs::.ctor()AlphaWolfAi.<>c::<GetNextAction>b__11_1(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.AlphaWolf.AlphaWolfAi::DesignateWolfToAttack()CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)CandideServer.Entities.ControllerSets.AlphaWolf.AlphaWolfAi::<GetNextAction>b__11_2(Shared.Entity.Base.ActionStatus)CandideServer.Entities.Ai.Actions.AttackEntityAction::.ctor(Shared.Entity.Base.EntityControllerBase, Shared.Entity.Base.ControllerActionArgs, System.Action<Shared.Entity.Base.ActionStatus>)AlphaWolfAi.<>c::<GetNextAction>b__11_3(Shared.Entity.Base.ActionStatus)CandideServer.Entities.Ai.Actions.MoveAction::.ctor(Shared.Entity.Base.EntityControllerBase, Shared.Entity.Base.ControllerActionArgs, System.Action<Shared.Entity.Base.ActionStatus>)Shared.Entity.EntityWrapper::set_Direction(System.Single)AlphaWolfAi.<>c::<GetNextAction>b__11_0(Shared.Entity.Base.ActionStatus)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
56C7CAE12FF9751D19CA87FDC23C4EC82F0F1F72D03BDB42C87BED2EAF076B87 - Body hash
E6A5E587A5544407D85E0F642A8050B664E6B89B6367A0EC770B3D20FA1C606B - 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
756590A0F0351CE5BAF55E8FCFF71452DEFC73FF387F12E9E1C270DE6830AAF7 - Body hash
F94303E865E3C542F9ADC3666E80917760F3BCB29B865DA05EEBFA286D807783 - IL size244
Referenced calls
Shared.Entity.EntityWrapper::get_FactionMask()Shared.Entity.Components.FactionMaskNewExtension::HasFlags(Shared.Entity.Components.FactionMask, Shared.Entity.Components.FactionMask)System.Collections.Generic.List<Shared.Entity.Groups.GroupAttackArgs>::GetEnumerator()List.Enumerator<Shared.Entity.Groups.GroupAttackArgs>::get_Current()List.Enumerator<Shared.Entity.Groups.GroupAttackArgs>::MoveNext()System.IDisposable::Dispose()Shared.Entity.Base.AbstractAi::get_Entity()Shared.Entity.EntityWrapper::get_TargetOfAggro()System.Object::Equals(System.Object, System.Object)Shared.Entity.EntityWrapper::get_Position2()Microsoft.Xna.Framework.Vector2::Distance(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Shared.Entity.EntityWrapper::set_TargetOfAggro(Shared.Entity.EntityWrapper)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
CCBB8D672FC721B2A09CA9022CA74BE6F8B1D999143D8939EE3AD0136934597F - Body hash
286018C4B1574EBA7AEAFCABE00A564B0D785337AD0B8B437C242FEA25726356 - IL size145
Referenced calls
Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::get_TotalSeconds()Shared.Entity.Base.AbstractAi::get_Entity()Shared.Entity.EntityWrapper::get_TargetOfAggro()Shared.Entity.Base.AbstractAi::Update(Microsoft.Xna.Framework.GameTime)