Candide.Entities.Controllers.Legacy.LaserBeam
Type JSONpublic class in Candide.Entities.Controllers.Legacy
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.Controllers.Legacy - Base type
CandideServer.Entities.Modules.SharedLaserBeam - Hash
B99B9AC5DDC2AA7D92DEF51156CBD5BCA109E4DE79A0A8A17BC3C50D5E1E1FC2
Relationships
Base type
Referenced by types
Candide.Entities.Controllers.LaserStatueController.LaserStatueControllerCandide.Entities.Controllers.Legacy.LaserControllerCandide.Entities.Controllers.Other.Cyclops.MovingLaserBeamCandide.Entities.Controllers.RobotBossController.RobotBossLaserHandlerLaserHandler.LaserBeamWrapperMagusMinervaController
Fields
| Name | Visibility | Signature |
|---|---|---|
BeamColor# | public | public Microsoft.Xna.Framework.Vector3 BeamColor |
EffectTime# | public | public System.Single EffectTime |
LaserChargingAudioEventName# | public | public System.String LaserChargingAudioEventName |
LaserEffectSprite# | public | public CandideCreator.Shared.Graphics.SpriteSheet LaserEffectSprite |
LaserHitWallAudioEventName# | public | public System.String LaserHitWallAudioEventName |
LaserSourceAudioEventName# | public | public System.String LaserSourceAudioEventName |
LaserTrail2Sprite# | public | public CandideCreator.Shared.Graphics.SpriteSheet LaserTrail2Sprite |
LaserTrail3Sprite# | public | public CandideCreator.Shared.Graphics.SpriteSheet LaserTrail3Sprite |
LaserTrail4Sprite# | public | public CandideCreator.Shared.Graphics.SpriteSheet LaserTrail4Sprite |
LaserTrailSprite# | public | public CandideCreator.Shared.Graphics.SpriteSheet LaserTrailSprite |
LeaveTrail# | public | public System.Boolean LeaveTrail |
LightColor# | public | public Microsoft.Xna.Framework.Vector3 LightColor |
LightStrength# | public | public System.Single LightStrength |
ShootSparks# | public | public System.Boolean ShootSparks |
VisualOffset# | public | public Microsoft.Xna.Framework.Vector3 VisualOffset |
_laserChargingAudioEvent# | private | private Candide.Sound.AudioEvent.AudioEvent _laserChargingAudioEvent |
_laserHitWallAudioEvent# | private | private Candide.Sound.AudioEvent.AudioEvent _laserHitWallAudioEvent |
_laserSourceAudioEvent# | private | private Candide.Sound.AudioEvent.AudioEvent _laserSourceAudioEvent |
Methods
BeforeRender
#
public System.Void BeforeRender()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
D93CC54B47B38F8D6A52B39537517C6EB4CBF2914BD3C6585C7184EE668032BD - Body hash
437405D14B92C18DAC3D59B1D7AAC9F163F1C79597D7357CAE2F771DA90596A1 - IL size333
Referenced calls
Microsoft.Xna.Framework.Vector3::op_Equality(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Helpers.VectorExtension::IsWonky(Microsoft.Xna.Framework.Vector3&)CandideCreator.Shared.Helpers.MathExtension::IsWonky(System.Single)CandideCreator.Shared.Helpers.EffectHelper::FlickerHelper(System.Single, System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Helpers.VectorExtension::ToXzy(Microsoft.Xna.Framework.Vector3)Candide.Graphics.LineLight::.ctor(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)System.Collections.Generic.List<Candide.Graphics.LineLight>::Add(!0)CandideCreator.Shared.Helpers.VectorExtension::ToScreenSpace(Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Helpers.CollisionHelper::GetLineRectangleIntersectionAmount(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, CandideCreator.Shared.Models.RectangleF)System.Math::Min(System.Single, System.Single)System.Math::Max(System.Single, System.Single)
Called by
Candide.Entities.Controllers.LaserStatueController.LaserStatueController::BeforeRenderCandide.Entities.Controllers.Legacy.LaserController::BeforeRenderCandide.Entities.Controllers.MinervasOwlBossController.LaserHandler::BeforeRenderCandide.Entities.Controllers.Other.Cyclops.CyclopsLaserPhase2Controller::BeforeRenderCandide.Entities.Controllers.RobotBossController.RobotBossLaserHandler::BeforeRenderMagusMinervaController::BeforeRender
BlockProjectiles
#
private System.Void BlockProjectiles(System.Single dt)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
2AE09F70388A42FF8AE039C86AC49C61ADAE5D7DE4E7AB94125BFA58CEB04AB2 - Body hash
1D08E8AC3ECECC4633DC4632EC7617B8AE0112C7366A540954399B5B4ACD864A - IL size813
Referenced calls
Microsoft.Xna.Framework.Vector3::Distance(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Helpers.VectorExtension::NormalizeReturnSafe(Microsoft.Xna.Framework.Vector2)Shared.Combat.Projectiles.ProjectileMaskExtensions::HasFlags(Shared.Combat.Projectiles.ProjectileMask, Shared.Combat.Projectiles.ProjectileMask)Microsoft.Xna.Framework.Vector2::op_Equality(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)System.MathF::Min(System.Single, System.Single)System.MathF::Max(System.Single, System.Single)CandideCreator.Shared.Helpers.IntervalHelper::IntervalOverlap(System.Single, System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::Dot(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::Distance(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Helpers.CandideMathHelper::From0To1Between(System.Single, System.Single, System.Single)CandideCreator.Shared.Helpers.LinearAlgebra::TryFindLineSegmentVsCapsuleIntersection(System.Single, System.Single, System.Single, System.Single, System.Single, System.Single, System.Single, System.Single, System.Single, System.Single&)Microsoft.Xna.Framework.Vector3::Lerp(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, System.Single)Shared.Interfaces.Projectiles.ISpellManagerBridge::RemoveCastSpell(Shared.Combat.Spells.Casting.CastSpell, System.Int16, Microsoft.Xna.Framework.Vector2)Shared.Combat.Projectiles.ProjectileSystem::RemoveProjectile(System.Int32)Microsoft.Xna.Framework.Vector4::get_One()Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Candide.Graphics.VFX.VfxPlayer::PlaySpacAnimation(System.String, System.String, Microsoft.Xna.Framework.Vector3, Candide.Graphics.VFX.SpacRenderingArgs, System.Single)Microsoft.Xna.Framework.Vector2::get_Zero()Candide.Entities.Controllers.Legacy.LaserBeam::SpawnWallSmokeEffect(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector2)Candide.Combat.VfxHelper::SpawnSparks(System.Int32, Microsoft.Xna.Framework.Vector3)Candide.Sound.SoundPlayer::Play3DEventOneShot(System.String, Microsoft.Xna.Framework.Vector3, System.Single, System.Single)
String literals
vfx_death2small2event:/hits/hit_lazer
OnEntityHit
#
protected System.Void OnEntityHit(Microsoft.Xna.Framework.Vector3 hitPosition)
Method metadata
- Visibilityprotected
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
ACEFE1386B0BBFC2F4D7D84FCFE7E032BB680085FF1A7542E0CEE003F858F99F - Body hash
AD9D285311B4B244B99831B68320C50FDCB46D51E503E2091522F8F79E88721F - IL size62
Referenced calls
LaserBeam.<>c__DisplayClass22_0::.ctor()Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::get_TotalSeconds()LaserBeam.<>c__DisplayClass22_0::<OnEntityHit>b__0()System.Action::.ctor(System.Object, System.IntPtr)CandideCreator.Shared.Helpers.EffectHelper::SpawnParticles(System.Single, System.Single, System.Action)
SetLength
#
public System.Void SetLength(System.Single value, Shared.Entity.EntityWrapper ownerEntity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
2757B0CB09EADD0DE77366C17041C12E5F8890BB1B49EE6FECEC084477C32374 - Body hash
57A7381AA22EC58050C3DCFAEAAD294C4170AF992C55B9ACC417B5D5D3E47DA6 - IL size196
Referenced calls
Candide.Sound.AudioEvent.AudioEvent::get_Playing()System.String::IsNullOrEmpty(System.String)Candide.Sound.AudioEventArgs::.ctor(System.String, System.Boolean, System.Single, System.Single)Candide.Sound.AudioEventFactory::CreateAudioEvent(Candide.Sound.AudioEventArgs, System.Boolean, System.Boolean, Shared.Entity.EntityWrapper)Candide.Sound.AudioEvent.AudioEvent::Play()Candide.Sound.AudioEvent.AudioEvent::Stop(System.Boolean)
SetShootSparks
#
public System.Void SetShootSparks(System.Boolean value, Shared.Entity.EntityWrapper ownerEntity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
C1B01E7BDE8159F9AB127A2021B03B28A19657E9662B0A211B3D07F243326C6A - Body hash
3ADDE1CEC3B85608DBCE7629982CD24D6A742174799691F25A537DF9C7EFFEBA - IL size152
Referenced calls
Candide.Sound.AudioEvent.AudioEvent::get_Playing()System.String::IsNullOrEmpty(System.String)Candide.Sound.AudioEventArgs::.ctor(System.String, System.Boolean, System.Single, System.Single)Candide.Sound.AudioEventFactory::CreateAudioEvent(Candide.Sound.AudioEventArgs, System.Boolean, System.Boolean, Shared.Entity.EntityWrapper)Candide.Sound.AudioEvent.AudioEvent::Play()Candide.Sound.AudioEvent.AudioEvent::Stop(System.Boolean)
SpawnEntityHitSmoke
#
public System.Void SpawnEntityHitSmoke(Microsoft.Xna.Framework.Vector3 hitPosition)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
997293F5CA7BA2F62C7D3021CEB6F8A93670DA7E02B321EED981B6305672052E - Body hash
E76E127EB55178D03C81CCFF835224433A908E2B42848A39A33998093025E12B - IL size494
Referenced calls
Candide.Graphics.ParticleSystem::NewParticle()CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random)System.Random::NextDouble()Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Vector3::get_One()Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)Microsoft.Xna.Framework.Vector4::.ctor(Microsoft.Xna.Framework.Vector3, System.Single)CandideCreator.Shared.Graphics.FrameAnimation::RandomIndex(System.Random)
SpawnLaserStartEffect
#
public System.Void SpawnLaserStartEffect(Microsoft.Xna.Framework.Vector3 laserStartPosition, Microsoft.Xna.Framework.Vector3 direction)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
4AEDBE87D824F6AE0D6D4EF83FB851484D5A120AD298AD77086FAD3FE02C7BB6 - Body hash
3D7DD39F5C210C7DB5B4627CB916C74CEF18A43C8E535E3BEE66766CC6359AA9 - IL size723
Referenced calls
System.MathF::CopySign(System.Single, System.Single)System.MathF::Abs(System.Single)Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Vector3::Normalize()Microsoft.Xna.Framework.Vector3::Cross(Microsoft.Xna.Framework.Vector3&, Microsoft.Xna.Framework.Vector3&, Microsoft.Xna.Framework.Vector3&)CandideCreator.Shared.Helpers.RandomHelper::NextPointInHollowCircle(System.Random, System.Single)Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)Candide.Graphics.ParticleSystem::NewParticle()Microsoft.Xna.Framework.Vector4::.ctor(System.Single, System.Single, System.Single, System.Single)System.Random::Next(System.Int32, System.Int32)System.Random::NextDouble()Candide.Graphics.TemperatureComponent::SetDecayTime(System.Single)Microsoft.Xna.Framework.Matrix::CreateScale(System.Single, System.Single, System.Single)CandideCreator.Shared.Helpers.VectorExtension::ToXzy(Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Helpers.MatrixHelper::CreateLookAt(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Matrix::Multiply(Microsoft.Xna.Framework.Matrix&, Microsoft.Xna.Framework.Matrix&, Microsoft.Xna.Framework.Matrix&)
SpawnLaserTrailEffect
#
public System.Void SpawnLaserTrailEffect(Microsoft.Xna.Framework.Vector3 hitPosition, Microsoft.Xna.Framework.Vector3 hitNormal, Microsoft.Xna.Framework.Vector3 hitTangent, Microsoft.Xna.Framework.Vector3 up)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
20B375875D9A928067389A6ED94BCD2839E9052DB2BE7C7F405B1B781F5CAA50 - Body hash
E773B73550EBCC1535095777B9D3A16620807D90A7C7C98229A707082B18A793 - IL size382
Referenced calls
Candide.Graphics.ParticleSystem::NewParticle()Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)Microsoft.Xna.Framework.Vector3::op_Subtraction(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector4::.ctor(System.Single, System.Single, System.Single, System.Single)Candide.Graphics.TemperatureComponent::SetDecayTime(System.Single)Microsoft.Xna.Framework.Matrix::CreateScale(System.Single, System.Single, System.Single)Candide.Graphics.DeferredRenderer::HorizontalToVertical(Microsoft.Xna.Framework.Matrix&)CandideCreator.Shared.Helpers.MatrixHelper::CreateLookAt(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Matrix::Multiply(Microsoft.Xna.Framework.Matrix&, Microsoft.Xna.Framework.Matrix&, Microsoft.Xna.Framework.Matrix&)
SpawnWallHitEffect
#
public System.Void SpawnWallHitEffect(Microsoft.Xna.Framework.Vector3 hitPosition, Microsoft.Xna.Framework.Vector2 hitNormal)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
C77248BADE9D7B608E3D2CB9F781CD2EC89B47B763D144C8F078106F2AA66D21 - Body hash
40941D9D3BDC84AAEB864E93101954155D3B8DD0654E9F5F203C75E61D2E25D2 - IL size31
Referenced calls
Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Candide.Entities.Controllers.Legacy.LaserBeam::SpawnLaserStartEffect(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)
SpawnWallSmokeEffect
#
public System.Void SpawnWallSmokeEffect(Microsoft.Xna.Framework.Vector3 hitPosition, Microsoft.Xna.Framework.Vector2 hitNormal)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
830F730F67171ABA1590B5A3074900A799B29A4E7FF739D1853968CCCF3D25DC - Body hash
9D141D59A8CED9513CD72294C64D235670D7B01F1ED251D62666F9F19E0772C0 - IL size515
Referenced calls
Candide.Graphics.ParticleSystem::NewParticle()CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random)System.Random::NextDouble()Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)CandideCreator.Shared.Helpers.VectorExtension::ToVector3Xy(Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)Microsoft.Xna.Framework.Vector3::op_Subtraction(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector3::get_One()Microsoft.Xna.Framework.Vector4::.ctor(Microsoft.Xna.Framework.Vector3, System.Single)CandideCreator.Shared.Graphics.FrameAnimation::RandomIndex(System.Random)
Update
#
public System.Void Update(Shared.Entity.EntityWrapper sourceEntity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
D03F9449B66018DDC3D696002E24BA44B21042650A9D46BDB04F13592C6CABCC - Body hash
FE0588E641F3579241B25F1D77879582FBBA288547C664BC3D11F12E2824242F - IL size655
Referenced calls
Candide.Entities.Controllers.Legacy.LaserBeam::SpawnLaserStartEffect(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Candide.Sound.AudioEvent.AudioEvent::SetPosition(Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::get_Fdt()Candide.Sound.AudioEvent.AudioEvent::Update(System.Single)CandideServer.Entities.Modules.SharedLaserBeam::Update(Shared.Entity.EntityWrapper)LaserBeam.<>c__DisplayClass20_0::.ctor()Microsoft.Xna.Framework.Vector2::op_UnaryNegation(Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::Normalize(Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)LaserBeam.<>c__DisplayClass20_0::<Update>b__2()System.Action::.ctor(System.Object, System.IntPtr)CandideCreator.Shared.Helpers.EffectHelper::SpawnParticles(System.Single, System.Single, System.Action)LaserBeam.<>c__DisplayClass20_0::<Update>b__3()LaserBeam.<>c__DisplayClass20_0::<Update>b__4()CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)Shared.Interfaces.World.IWorldHandler::HeightAtPoint(Microsoft.Xna.Framework.Vector2, System.Single)System.Math::Abs(System.Single)Candide.Entities.Controllers.Legacy.LaserBeam::<Update>b__20_0()Candide.Entities.Controllers.Legacy.LaserBeam::<Update>b__20_1()System.String::IsNullOrEmpty(System.String)Candide.Sound.AudioEventArgs::.ctor(System.String, System.Boolean, System.Single, System.Single)Candide.Sound.AudioEventFactory::CreateAudioEvent(Candide.Sound.AudioEventArgs, System.Boolean, System.Boolean, Shared.Entity.EntityWrapper)Candide.Sound.AudioEvent.AudioEvent::get_Playing()Candide.Sound.AudioEvent.AudioEvent::Play()Candide.Sound.AudioEvent.AudioEvent::Stop(System.Boolean)Candide.Entities.Controllers.Legacy.LaserBeam::BlockProjectiles(System.Single)