CandideServer.Entities.ControllerSets.PhoenixBoss.PhoenixBossAi
Type JSONpublic class in CandideServer.Entities.ControllerSets.PhoenixBoss
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.Entities.ControllerSets.PhoenixBoss - Base type
Shared.Entity.Base.AbstractAi - Hash
69C18E298FBF14D56424C386326431CC95252019604D1ED358A04097C4283B7D
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
PhaseOneComplete# | public | public System.Boolean PhaseOneComplete |
_attackCount# | private | private System.Int32 _attackCount |
_hasDoneGasBreath# | private | private System.Boolean _hasDoneGasBreath |
_hasDoneLaser# | private | private System.Boolean _hasDoneLaser |
_hasDoneWingflap# | private | private System.Boolean _hasDoneWingflap |
_hasSlamAttacked# | private | private System.Boolean _hasSlamAttacked |
_hasSwappedPhase# | private | private System.Boolean _hasSwappedPhase |
_peckDistance# | private | private System.Single _peckDistance |
_specialAttackCount# | private | private System.Int32 _specialAttackCount |
_startPosition# | private | private Microsoft.Xna.Framework.Vector2 _startPosition |
Methods
CheckIfEnemyIsInPeckDirection
#
public System.Boolean CheckIfEnemyIsInPeckDirection(Shared.Entity.EntityWrapper closestEntity)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
5650ED1E3679EBD090444E9966EADF42FCDEF8C49CD3C5ED04FC5E02E14EABC7 - Body hash
4FDCAAE147715722837150ABDBD03D7AA3A99995AF1342161F8F6C21E040B352 - IL size38
Referenced calls
Shared.Entity.EntityWrapper::get_Position2()Shared.Entity.Base.AbstractAi::get_Entity()Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)
CheckIfEnemyWithinRange
#
public System.Boolean CheckIfEnemyWithinRange(System.Single range, out Shared.Entity.EntityWrapper& closestEntity)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
05826CD4A90094D23818A36C7504450709BBFD7910B27F4D3133C0EE9E14F96D - Body hash
1E81CCC1086D7E926ADEA73E9E26B72675C91830AFBC0E81BBA9EF7B901690F9 - IL size134
Referenced calls
Shared.Entity.Base.AbstractAi::get_Entity()Shared.Entity.EntityWrapper::get_ThreatTable()System.Collections.Generic.Dictionary<Shared.Entity.EntityWrapper, System.ValueTuple<System.Single, Microsoft.Xna.Framework.Vector2>>::GetEnumerator()Dictionary.Enumerator<Shared.Entity.EntityWrapper, System.ValueTuple<System.Single, Microsoft.Xna.Framework.Vector2>>::get_Current()System.Collections.Generic.KeyValuePair<Shared.Entity.EntityWrapper, System.ValueTuple<System.Single, Microsoft.Xna.Framework.Vector2>>::Deconstruct(!0&, !1&)Shared.Entity.EntityWrapper::get_Position2()Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::Length()Dictionary.Enumerator<Shared.Entity.EntityWrapper, System.ValueTuple<System.Single, Microsoft.Xna.Framework.Vector2>>::MoveNext()System.IDisposable::Dispose()
EggTransition
#
public Shared.Entity.Base.AbstractAction EggTransition()
Method metadata
- Visibilitypublic
- Return type
Shared.Entity.Base.AbstractAction - StaticFalse
- VirtualFalse
- Hash
8AB8DC34505E44450C16326235D19B56AB311AA3CC349671F59C696026E93815 - Body hash
D7182F559A4D19F0891F0F8B0B1828A25E898D86CE0F4401768C9CB84CD93446 - IL size66
Referenced calls
Shared.Entity.Base.ControllerActionArgs::.ctor()Shared.Entity.Base.AbstractAi::get_Entity()Shared.Entity.EntityWrapper::get_TargetOfAggro()PhoenixBossAi.<>c::<EggTransition>b__14_0(Shared.Entity.Base.ActionStatus)System.Action<Shared.Entity.Base.ActionStatus>::.ctor(System.Object, System.IntPtr)CandideServer.Entities.Ai.Actions.BossAttackAction::.ctor(Shared.Entity.Base.EntityControllerBase, Shared.Entity.Base.ControllerActionArgs, System.Action<Shared.Entity.Base.ActionStatus>, System.Int32)
EscapeFromBadTerrain
#
public Shared.Entity.Base.AbstractAction EscapeFromBadTerrain(Shared.Entity.EntityWrapper targetEntity)
Method metadata
- Visibilitypublic
- Return type
Shared.Entity.Base.AbstractAction - StaticFalse
- VirtualFalse
- Hash
B696F5973CEBEB75D40D31B5B023034D4A197B3611F407BFC939BD3FBC814FE7 - Body hash
E92DA045EDDC357EDB953C540FC09D8AA6F16EDDBE1ED4AFA7750D2C3E89C25F - IL size78
Referenced calls
Shared.Entity.Base.ControllerActionArgs::.ctor()Shared.Entity.Base.AbstractAi::get_Entity()Shared.Entity.EntityWrapper::get_TargetOfAggro()PhoenixBossAi.<>c::<EscapeFromBadTerrain>b__20_0(Shared.Entity.Base.ActionStatus)System.Action<Shared.Entity.Base.ActionStatus>::.ctor(System.Object, System.IntPtr)CandideServer.Entities.Ai.Actions.BossAttackAction::.ctor(Shared.Entity.Base.EntityControllerBase, Shared.Entity.Base.ControllerActionArgs, System.Action<Shared.Entity.Base.ActionStatus>, System.Int32)
GasBreathAttack
#
public Shared.Entity.Base.AbstractAction GasBreathAttack()
Method metadata
- Visibilitypublic
- Return type
Shared.Entity.Base.AbstractAction - StaticFalse
- VirtualFalse
- Hash
903BBD33C35212362245CF56A219B52E843A52674D077A21FBE85B71B3279A52 - Body hash
D7886F81DAC68DAA25D73F3567B8C363721BA07A8E8B3F1F9F1B247D0F33A31F - IL size66
Referenced calls
Shared.Entity.Base.ControllerActionArgs::.ctor()Shared.Entity.Base.AbstractAi::get_Entity()Shared.Entity.EntityWrapper::get_TargetOfAggro()PhoenixBossAi.<>c::<GasBreathAttack>b__17_0(Shared.Entity.Base.ActionStatus)System.Action<Shared.Entity.Base.ActionStatus>::.ctor(System.Object, System.IntPtr)CandideServer.Entities.Ai.Actions.BossAttackAction::.ctor(Shared.Entity.Base.EntityControllerBase, Shared.Entity.Base.ControllerActionArgs, System.Action<Shared.Entity.Base.ActionStatus>, System.Int32)
GetNextAction
#
public Shared.Entity.Base.AbstractAction GetNextAction()
Method metadata
- Visibilitypublic
- Return type
Shared.Entity.Base.AbstractAction - StaticFalse
- VirtualTrue
- Hash
999A5385AB98441FBA34AFE0677B5366DA7AFB6F36797DE63A73D0ED71EBF68E - Body hash
21F7224F7AFAB78EBEB6E089B11DE4E2992E041E5E0366BA396CFBA941737B55 - IL size443
Referenced calls
Shared.Entity.Base.AbstractAi::get_Entity()Shared.Entity.EntityWrapper::get_TargetOfAggro()CandideServer.Entities.ControllerSets.PhoenixBoss.PhoenixBossAi::EggTransition()CandideServer.Entities.ControllerSets.PhoenixBoss.PhoenixBossAi::CheckIfEnemyWithinRange(System.Single, Shared.Entity.EntityWrapper&)CandideServer.Entities.ControllerSets.PhoenixBoss.PhoenixBossAi::Move(Shared.Entity.EntityWrapper)CandideServer.Entities.ControllerSets.PhoenixBoss.PhoenixBossAi::CheckIfEnemyIsInPeckDirection(Shared.Entity.EntityWrapper)System.Random::Next(System.Int32, System.Int32)CandideServer.Entities.ControllerSets.PhoenixBoss.PhoenixBossAi::PeckAttack(Shared.Entity.EntityWrapper)CandideServer.Entities.ControllerSets.PhoenixBoss.PhoenixBossAi::GasBreathAttack()CandideServer.Entities.ControllerSets.PhoenixBoss.PhoenixBossAi::RushAttack()CandideServer.Entities.ControllerSets.PhoenixBoss.PhoenixBossAi::MeteorStrikeAttack()
Initialize
#
public System.Void Initialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
07709C66836A3C57FEF2DCC40A1322D80271324FD74A5267539FCC526CE8EEAA - Body hash
F74DC949259F66380825247E01895B34F60EB3E01036DA85AF9F8D40F01981D3 - IL size24
Referenced calls
Shared.Entity.Base.AbstractAi::get_Entity()Shared.Entity.EntityWrapper::get_Position2()Shared.Entity.Base.AbstractAi::Initialize()
MeteorStrikeAttack
#
public Shared.Entity.Base.AbstractAction MeteorStrikeAttack()
Method metadata
- Visibilitypublic
- Return type
Shared.Entity.Base.AbstractAction - StaticFalse
- VirtualFalse
- Hash
EE87DFFA8412A13E2825CA99C4D55F5D9EA0E253942C220553551FEF03DB5CCF - Body hash
A951EDCD2A783A3D7A6085A56403BA71D75A8A2F271B20D059DA0E67DE4124CA - IL size81
Referenced calls
Shared.Entity.Base.AbstractAi::get_Entity()Shared.Entity.EntityWrapper::get_TargetOfAggro()Shared.Entity.Base.ControllerActionArgs::.ctor()PhoenixBossAi.<>c::<MeteorStrikeAttack>b__18_0(Shared.Entity.Base.ActionStatus)System.Action<Shared.Entity.Base.ActionStatus>::.ctor(System.Object, System.IntPtr)CandideServer.Entities.Ai.Actions.BossAttackAction::.ctor(Shared.Entity.Base.EntityControllerBase, Shared.Entity.Base.ControllerActionArgs, System.Action<Shared.Entity.Base.ActionStatus>, System.Int32)
Move
#
public Shared.Entity.Base.AbstractAction Move(Shared.Entity.EntityWrapper targetEntity)
Method metadata
- Visibilitypublic
- Return type
Shared.Entity.Base.AbstractAction - StaticFalse
- VirtualFalse
- Hash
2B9538F199CD22C753BA1C01F01E956D8C065D8312586D65B37BFDAFC3888FC7 - Body hash
158E2453A7C374CC603BFD2008291DE4E819B45C8781EDF9D4121EE651ECACC0 - IL size47
Referenced calls
Shared.Entity.Base.ControllerActionArgs::.ctor()CandideServer.Entities.ControllerSets.PhoenixBoss.PhoenixBossAi::<Move>b__19_0(Shared.Entity.Base.ActionStatus)System.Action<Shared.Entity.Base.ActionStatus>::.ctor(System.Object, System.IntPtr)CandideServer.Entities.Ai.Actions.MoveAction::.ctor(Shared.Entity.Base.EntityControllerBase, Shared.Entity.Base.ControllerActionArgs, System.Action<Shared.Entity.Base.ActionStatus>)
OnDamaged
#
public System.Void OnDamaged(Shared.Combat.DamageResult damageResult)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
E8B94BF6F1A8D418CDA97A5E18131E0EE1F0B8521A22BB4D59BBB57576195109 - Body hash
F6D732607D69B0D585CC589ADBABE588BE98AE7EAE93742A89F313559B99CAAD - IL size113
Referenced calls
Shared.Entity.Base.AbstractAi::OnDamaged(Shared.Combat.DamageResult)Shared.Entity.Base.AbstractAi::get_Entity()Shared.Entity.EntityWrapper::get_Health()Shared.Entity.EntityWrapper::get_MaxHealth()CandideServer.MessageModels.Entities.EntitiesControllerMessage::.ctor()Shared.Entity.EntityWrapper::get_Id()CandideServer.Entities.ControllerSets.MinervasOwl.Messages.PhaseChangeMessage::.ctor()Shared.Entity.EntityWrapper::get_Position2()CandideServer.ServerServices.EntityServerService::SendEntitiesControllerMessage(CandideServer.MessageModels.Entities.EntitiesControllerMessage, Microsoft.Xna.Framework.Vector2, System.Guid)
PeckAttack
#
public Shared.Entity.Base.AbstractAction PeckAttack(Shared.Entity.EntityWrapper targetEntity)
Method metadata
- Visibilitypublic
- Return type
Shared.Entity.Base.AbstractAction - StaticFalse
- VirtualFalse
- Hash
888F53BE5D89E68CABE40652DB7A2C343051B83999763C06E4ABD919A277A8F9 - Body hash
97CC372D6E6BE5116E81771B32D86D143B0E0F4CD94E126267679D8177C81620 - IL size37
Referenced calls
Shared.Entity.Base.ControllerActionArgs::.ctor()CandideServer.Entities.ControllerSets.PhoenixBoss.PhoenixBossAi::<PeckAttack>b__15_0(Shared.Entity.Base.ActionStatus)System.Action<Shared.Entity.Base.ActionStatus>::.ctor(System.Object, System.IntPtr)CandideServer.Entities.Ai.Actions.BossAttackAction::.ctor(Shared.Entity.Base.EntityControllerBase, Shared.Entity.Base.ControllerActionArgs, System.Action<Shared.Entity.Base.ActionStatus>, System.Int32)
RushAttack
#
public Shared.Entity.Base.AbstractAction RushAttack()
Method metadata
- Visibilitypublic
- Return type
Shared.Entity.Base.AbstractAction - StaticFalse
- VirtualFalse
- Hash
4E0AEDE4C1C4A18FA75878873D1EABBC4ABAE1CB925BA1566637CDC33AD0C7AA - Body hash
474D446B4495E927D50F41114BD43150B408EE9602CC5B204095F2F7D9BC0320 - IL size71
Referenced calls
CandideServer.Entities.ControllerSets.PhoenixBoss.PhoenixBossAi::CheckIfEnemyWithinRange(System.Single, Shared.Entity.EntityWrapper&)Shared.Entity.Base.ControllerActionArgs::.ctor()PhoenixBossAi.<>c::<RushAttack>b__16_0(Shared.Entity.Base.ActionStatus)System.Action<Shared.Entity.Base.ActionStatus>::.ctor(System.Object, System.IntPtr)CandideServer.Entities.Ai.Actions.BossAttackAction::.ctor(Shared.Entity.Base.EntityControllerBase, Shared.Entity.Base.ControllerActionArgs, System.Action<Shared.Entity.Base.ActionStatus>, System.Int32)
TileBelowIsGround
#
public System.Boolean TileBelowIsGround()
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
78D1778AE28B80E11C86DC3B85A1D996385CC84CFB67E1293F5E304601B95890 - Body hash
581726378BF957D30F067DF91F275191C90A7B8D3ABA5A8957D2FB3186F07F54 - IL size118
Referenced calls
Shared.Entity.Base.AbstractAi::get_Entity()Shared.Entity.EntityWrapper::get_FloorHeight()Shared.Entity.EntityWrapper::get_PositionZ()Shared.Entity.EntityWrapper::get_Position()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)Shared.Helpers.WorldTileHelper::GetTilePosition(System.Single, System.Single)CandideServer.Helpers.ServerWorldHelper::GetEntityWorldId(Shared.Entity.EntityWrapper)CandideServer.Helpers.ServerWorldTileHelper::TryGetWorldTileHeight(System.Guid, System.Int32, System.Int32, System.SByte&)
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
540F94FFF151F800A50123FD1A0784CE5A6A702802B95E02EAE1077AC5F0FDA1 - Body hash
28E0B387402BA17BF104A03750B77B34EEEBDCA065AFA8205B9F84B37A5B9FF2 - IL size207
Referenced calls
Shared.Entity.Base.AbstractAi::Update(Microsoft.Xna.Framework.GameTime)CandideServer.Entities.ControllerSets.PhoenixBoss.PhoenixBossAi::TileBelowIsGround()Shared.Entity.Base.AbstractAi::get_Entity()Shared.Entity.EntityWrapper::get_PositionZ()Shared.Entity.EntityWrapper::get_VelocityZ()Shared.Entity.Base.AbstractAi::CancelCurrentTask()CandideServer.Entities.ControllerSets.PhoenixBoss.PhoenixBossAi::EscapeFromBadTerrain(Shared.Entity.EntityWrapper)Shared.Entity.EntityWrapper::get_Id()System.Collections.Generic.Dictionary<System.Guid, Shared.Models.Weather.WeatherInstanceModel>::ContainsKey(!0)Shared.Entity.EntityWrapper::get_Position2()Microsoft.Xna.Framework.Vector2::get_Zero()CandideServer.ServerManagers.WeatherServerManager::SpawnWeather(System.String, Microsoft.Xna.Framework.Vector2, System.Single, System.Single, System.Single, Microsoft.Xna.Framework.Vector2, System.Guid, System.Boolean, System.Single)
String literals
ash_rain