Shared.Combat.Projectiles.ProjectileSystem
Type JSONpublic class in Shared.Combat.Projectiles
Type metadata
- Assembly
Shared - Namespace
Shared.Combat.Projectiles - Base type
System.Object - Hash
E6F3269F5812F7C4DDE6971058139FAB01B810741E443DD23AD9195BB8054341
Relationships
Base type
System.Object
Derived types
Referenced by types
CandideServer.Entities.ServerEntitySystemManagerCandideServer.Models.Spells.AbstractServerSpellCandideServer.Models.Spells.InvalidServerSpellCandideServer.Models.Spells.ServerActionInProgressSpellCandideServer.Models.Spells.ServerAreaOfEffectSpellCandideServer.Models.Spells.ServerConeAttackSpellCandideServer.Models.Spells.ServerExplosionSpellCandideServer.Models.Spells.ServerHealSpellCandideServer.Models.Spells.ServerHookSpellCandideServer.Models.Spells.ServerInstantSingleTargetSpellCandideServer.Models.Spells.ServerLinearShockwaveSpellCandideServer.Models.Spells.ServerLineAttackSpell
Fields
| Name | Visibility | Signature |
|---|---|---|
Animation# | public | public Shared.Combat.Projectiles.AnimationComponent[] Animation |
AoE# | public | public Shared.Combat.Projectiles.AreaOfEffect[] AoE |
Attachable# | public | public Shared.Combat.Projectiles.Attachable[] Attachable |
Cast# | public | public Shared.Combat.Projectiles.Cast[] Cast |
Collision# | public | public Shared.Combat.Projectiles.ProjectileCollision[] Collision |
Drawable# | public | public Shared.Combat.Projectiles.Drawable[] Drawable |
General# | public | public Shared.Combat.Projectiles.General[] General |
HighestActive# | public | public System.Int32 HighestActive |
HighestActiveMaxPossible# | public | public System.Int32 HighestActiveMaxPossible |
LightSourceComponent# | public | public Shared.Combat.Projectiles.LightSourceComponent[] LightSourceComponent |
Mask# | public | public Shared.Combat.Projectiles.ProjectileMask[] Mask |
MaxProjectileCount# | public | public System.Int32 MaxProjectileCount |
MeshTransform# | public | public Shared.Entity.Components.MeshTransformComponent[] MeshTransform |
Position# | public | public Shared.Combat.Projectiles.Position[] Position |
SpellManager# | public | public Shared.Interfaces.Projectiles.ISpellManagerBridge SpellManager |
Velocity# | public | public Shared.Combat.Projectiles.Velocity[] Velocity |
WorldHandler# | public | public Shared.Interfaces.World.IWorldHandler WorldHandler |
WorldId# | public | public System.Guid WorldId |
_reusableEntityCollisionList# | private | private System.Collections.Generic.List<System.ValueTuple<Shared.Entity.EntityWrapper, CandideCreator.Shared.Collision.CollisionData>> _reusableEntityCollisionList |
Methods
ApplyUpdateSystems
#
public System.Void ApplyUpdateSystems(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
ED0A4B05A7C59F9B9BAAAA2F2FA1717B7344CC7336E71B32C7B03059AC7CB6B1 - Body hash
4D48416240CC9370F1182C1A13822D5D98D63D9B8836F807AC0CB79919117F22 - IL size254
Referenced calls
Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::get_TotalSeconds()Shared.Combat.Projectiles.ProjectileSystem::UpdateCastSpells(System.Single)Shared.Combat.Projectiles.ProjectileSystem::UpdateMove(System.Single)Shared.Combat.Projectiles.ProjectileSystem::KillOutsideScreen()Shared.Combat.Projectiles.ProjectileSystem::CheckCollision(System.Single)Shared.Combat.Projectiles.ProjectileSystem::UpdateAnimation(System.Single)Shared.Combat.Projectiles.ProjectileSystem::UpdateAoe(System.Single)Shared.Combat.Projectiles.ProjectileSystem::RemoveProjectile(System.Int32)
CheckCollision
#
private System.Void CheckCollision(System.Single dt)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
944B0634C15410AE56A85ECBEDA20B8150CA448A8BFC6AE524A82CDCF26BEE44 - Body hash
8D6604AAFF7CD12C807F4F9DF0F20E06090BA669E83EBCDD100755B38B10E397 - IL size328
Referenced calls
Shared.Interfaces.World.IWorldHandler::GetEntityCollisionGroup()Shared.Combat.Projectiles.ProjectileMaskExtensions::HasFlags(Shared.Combat.Projectiles.ProjectileMask, Shared.Combat.Projectiles.ProjectileMask)System.Collections.Generic.List<System.ValueTuple<Shared.Entity.EntityWrapper, CandideCreator.Shared.Collision.CollisionData>>::Clear()Shared.Collision.CollisionSpecialGroup::CheckCollisionsAgainstEntities(Microsoft.Xna.Framework.Vector3, CandideCreator.Shared.Collision.CollisionShape, System.Collections.Generic.List<System.ValueTuple<Microsoft.Xna.Framework.Vector3, CandideCreator.Shared.Collision.CollisionShape>>, CandideCreator.Shared.Collision.CollisionMasks, System.Collections.Generic.List<System.ValueTuple<Shared.Entity.EntityWrapper, CandideCreator.Shared.Collision.CollisionData>>)System.Collections.Generic.List<System.ValueTuple<Shared.Entity.EntityWrapper, CandideCreator.Shared.Collision.CollisionData>>::get_Count()Shared.Combat.Projectiles.ProjectileSystem::OnProjectileHitEntities(System.Collections.Generic.List<System.ValueTuple<Shared.Entity.EntityWrapper, CandideCreator.Shared.Collision.CollisionData>>, System.Int32)Shared.Interfaces.World.IWorldHandler::CheckProjectileVsTerrainCollision(Microsoft.Xna.Framework.Vector3, CandideCreator.Shared.Collision.CollisionShape, CandideCreator.Shared.Collision.CollisionMasks)Shared.Combat.Projectiles.Cast::Hit(Shared.Entity.EntityWrapper, CandideCreator.Shared.Collision.CollisionData, System.Int32)
Clear
#
public System.Void Clear()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
6611FEF7E4A9C0FA70961EE6F99799C8524A7D0F2E2930F3473384BA2308D4F7 - Body hash
3C6D5FC6A8CF130569B1063017EED4130CB661EEFFBD9E38A973B8C48F08D079 - IL size7
Referenced calls
FreeSpace
#
public System.Void FreeSpace(System.Int32 space)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
E817EF9D157B7B71137FE3AA931EDC31DA2BB3AE1EFE2A257636BA449DDA2BF8 - Body hash
EEB9C68CC3E97722EC769A98B011DB7CA78AA677507E64E91F1C21AC73BCBFD9 - IL size166
Referenced calls
System.Collections.Generic.List<System.ValueTuple<System.Int32, System.Single>>::.ctor()System.ValueTuple<System.Int32, System.Single>::.ctor(!0, !1)System.Collections.Generic.List<System.ValueTuple<System.Int32, System.Single>>::Add(!0)ProjectileSystem.<>c::<FreeSpace>b__22_0(System.ValueTuple<System.Int32, System.Single>, System.ValueTuple<System.Int32, System.Single>)System.Comparison<System.ValueTuple<System.Int32, System.Single>>::.ctor(System.Object, System.IntPtr)System.Collections.Generic.List<System.ValueTuple<System.Int32, System.Single>>::Sort(System.Comparison<!0>)System.Collections.Generic.List<System.ValueTuple<System.Int32, System.Single>>::GetEnumerator()List.Enumerator<System.ValueTuple<System.Int32, System.Single>>::get_Current()Shared.Combat.Projectiles.ProjectileSystem::RemoveProjectile(System.Int32)List.Enumerator<System.ValueTuple<System.Int32, System.Single>>::MoveNext()System.IDisposable::Dispose()
KillOutsideScreen
#
public System.Void KillOutsideScreen()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
BAC2E6914CD49E5114645372C1FCEFD619EFBDB26506F475BE8293B52CBA5FC7 - Body hash
15B53788026951D63260C8806420680580EFDC642150D858B70633B3E11BEBA9 - IL size108
Referenced calls
Shared.Interfaces.World.IWorldHandler::GetWorldBounds()Shared.Combat.Projectiles.ProjectileMaskExtensions::HasFlags(Shared.Combat.Projectiles.ProjectileMask, Shared.Combat.Projectiles.ProjectileMask)CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Models.RectangleF::Contains(Microsoft.Xna.Framework.Vector2)Shared.Combat.Projectiles.ProjectileSystem::RemoveProjectile(System.Int32)
MoveAll
#
public System.Void MoveAll(Microsoft.Xna.Framework.Vector3 offset)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
DAA8ACA498E81EA5F3F9BAB82B54FC67F71DDC3467334374D71C7900CA9BA76E - Body hash
38AE4F71E3CA0B9DCAA58F4933364BD04AD7A3C6DA4C6CE7610817F37E6BB2A8 - IL size68
Referenced calls
Shared.Combat.Projectiles.ProjectileMaskExtensions::HasFlags(Shared.Combat.Projectiles.ProjectileMask, Shared.Combat.Projectiles.ProjectileMask)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)
NewProjectile
#
public System.Int32 NewProjectile()
Method metadata
- Visibilitypublic
- Return type
System.Int32 - StaticFalse
- VirtualFalse
- Hash
07F6BF674223D45A1019F5657299156C5C529CB4A5674C23C6F6AED1F262B944 - Body hash
170A6D0FF813C1D348C5CF903FE3B98C63E86D43F568B7D59FF0168B4E40B3CC - IL size109
OnProjectileHitEntities
#
private System.Void OnProjectileHitEntities(System.Collections.Generic.List<System.ValueTuple<Shared.Entity.EntityWrapper, CandideCreator.Shared.Collision.CollisionData>> hitEntities, System.Int32 id)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
EE0BD6CFB22B236A9A87FC03BDA94F998BCC8D00838CEDDF3A798F70FBE553D3 - Body hash
8F6D91FCB9862D0F9C60EBD201D8D5066DCCB73067723288FE5718C153B091F0 - IL size698
Referenced calls
Shared.Combat.Projectiles.ProjectileMaskExtensions::HasFlags(Shared.Combat.Projectiles.ProjectileMask, Shared.Combat.Projectiles.ProjectileMask)System.Collections.Generic.List<System.ValueTuple<Shared.Entity.EntityWrapper, CandideCreator.Shared.Collision.CollisionData>>::GetEnumerator()List.Enumerator<System.ValueTuple<Shared.Entity.EntityWrapper, CandideCreator.Shared.Collision.CollisionData>>::get_Current()Shared.Entity.EntityWrapper::get_Immovable()System.Nullable<Microsoft.Xna.Framework.Vector3>::.ctor(!0)Shared.Combat.SharedCombatHandler::ApplyTrueDamage(Shared.Entity.EntityWrapper, System.Single, System.Nullable<Microsoft.Xna.Framework.Vector3>, System.Nullable<Microsoft.Xna.Framework.Vector3>, Shared.Combat.DamageSourceType, Shared.Entity.EntityWrapper, Shared.Combat.DamageVfxType, Shared.Combat.DamageVfxModifier, Shared.Combat.AttackType)Shared.Combat.SharedCombatHandler::ApplyKnockback(Shared.Entity.EntityWrapper, Microsoft.Xna.Framework.Vector3, System.Single, System.Single)List.Enumerator<System.ValueTuple<Shared.Entity.EntityWrapper, CandideCreator.Shared.Collision.CollisionData>>::MoveNext()System.IDisposable::Dispose()System.Object::Equals(System.Object)Shared.Models.Spells.ProjectileHitFlagsExtensions::HasFlags(Shared.Models.Spells.ProjectileHitFlags, Shared.Models.Spells.ProjectileHitFlags)Shared.Entity.EntityWrapper::get_Mask()Shared.Entity.Components.ComponentExtension::HasFlags(Shared.Entity.Components.Component, Shared.Entity.Components.Component)Shared.Entity.EntityWrapper::get_FactionMask()Shared.Entity.Components.FactionMaskNewExtension::HasAnyFlags(Shared.Entity.Components.FactionMask, Shared.Entity.Components.FactionMask)Shared.Entity.EntityWrapper::get_Id()System.Collections.Generic.Dictionary<System.Guid, System.Single>::TryGetValue(!0, !1&)Shared.Entity.EntityWrapper::get_Controller()Shared.Entity.Base.AbstractController::OnProjectileHit(System.Int32, Shared.Combat.Spells.Casting.CastSpell)Shared.Combat.Projectiles.Cast::Hit(Shared.Entity.EntityWrapper, CandideCreator.Shared.Collision.CollisionData, System.Int32)System.Collections.Generic.Dictionary<System.Guid, System.Single>::set_Item(!0, !1)
RemoveAll
#
public System.Void RemoveAll()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
AED36AC41D086CA23929249E8AE1D2C97A570009D3223942C870DA795F9A8237 - Body hash
ECC699EC4924FB4B1C5436714BE1C64CD714386DCB88AE39AB17D9A49BD1B983 - IL size36
RemoveCastSpellProjectile
#
public System.Void RemoveCastSpellProjectile(System.UInt16 castId, System.Int16 projectilePartIndex, System.Nullable<System.Guid> casterEntityId)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
86F236CD2682E49BD5D9C8657E691293522C1874C095486092507ED726FE4506 - Body hash
17AE6D6A5234485C163A959CB19D45DED234867A5CC6CAB7383C7004FDF109B7 - IL size172
Referenced calls
Shared.Combat.Projectiles.ProjectileMaskExtensions::HasFlags(Shared.Combat.Projectiles.ProjectileMask, Shared.Combat.Projectiles.ProjectileMask)System.Nullable<System.Guid>::get_HasValue()Shared.Entity.EntityWrapper::get_Id()System.Nullable<System.Guid>::GetValueOrDefault()System.Guid::op_Inequality(System.Guid, System.Guid)Shared.Combat.Projectiles.ProjectileSystem::RemoveProjectile(System.Int32)
RemoveProjectile
#
public System.Void RemoveProjectile(System.Int32 id)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
20766DC217913748AF76D994AB0B9586781A48707621B3BFB9867B073A707F7E - Body hash
6EE437425A61BC22B7D73149D731434DE19279DA93F42E58DF9D8515F565507D - IL size10
Called by
CandideServer.Models.Spells.ServerLinearShockwaveSpell::OnUpdateCandide.Combat.ClientProjectileSystem::RemoveProjectileCandide.Entities.Controllers.Legacy.LaserBeam::BlockProjectilesCandide.GameModels.Models.Spells.Offensive.LinearShockwaveSpell::OnUpdateShared.Combat.Projectiles.ProjectileSystem::ApplyUpdateSystemsShared.Combat.Projectiles.ProjectileSystem::FreeSpaceShared.Combat.Projectiles.ProjectileSystem::KillOutsideScreenShared.Combat.Projectiles.ProjectileSystem::RemoveAllShared.Combat.Projectiles.ProjectileSystem::RemoveCastSpellProjectileShared.Combat.Projectiles.ProjectileSystem::UpdateMove
SortDrawableOrderList
#
public System.Void SortDrawableOrderList(System.Collections.Generic.List<System.Int32> indices)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
994B3B532A23CC922F63AF029BA86CDDED2BE1D869C9C6BB545FA22CC9C125D1 - Body hash
6384C0B3E19ED444D375B3380FE4CF59F2E1542915149332530A0DA5551A69E5 - IL size19
Referenced calls
Shared.Combat.Projectiles.ProjectileSystem::<SortDrawableOrderList>b__35_0(System.Int32, System.Int32)System.Comparison<System.Int32>::.ctor(System.Object, System.IntPtr)System.Collections.Generic.List<System.Int32>::Sort(System.Comparison<!0>)
UpdateAnimation
#
public System.Void UpdateAnimation(System.Single dt)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
40C37C103ADC46023E687F218B7FFF7031B78281D98E2FD4AD0A0EC1E22E2123 - Body hash
D4F1A3662D2E75E5BDE73A104714A743C7CA8BA6CA4981D945F8EB658B6FA96B - IL size77
Referenced calls
UpdateAoe
#
public System.Void UpdateAoe(System.Single dt)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
493209E6EF6763530A44E142AE213354686C077837B970461AD5953B28BF76F9 - Body hash
8738A48E504DB129ABA8AF67F052AFB8C0C59CCE3D607B8CF715CA3E0F4106CA - IL size335
Referenced calls
Shared.Interfaces.World.IWorldHandler::GetEntityCollisionGroup()Shared.Combat.Projectiles.ProjectileMaskExtensions::HasFlags(Shared.Combat.Projectiles.ProjectileMask, Shared.Combat.Projectiles.ProjectileMask)System.Collections.Generic.List<System.ValueTuple<Shared.Entity.EntityWrapper, CandideCreator.Shared.Collision.CollisionData>>::Clear()CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)Shared.Collision.CollisionSpecialGroup::GetEntitiesTouchingCircle(System.Single, Microsoft.Xna.Framework.Vector2, System.Single, System.Single)System.Collections.Generic.List<Shared.Entity.EntityWrapper>::GetEnumerator()List.Enumerator<Shared.Entity.EntityWrapper>::get_Current()Shared.Entity.EntityWrapper::get_Immovable()System.ValueTuple<Shared.Entity.EntityWrapper, CandideCreator.Shared.Collision.CollisionData>::.ctor(!0, !1)System.Collections.Generic.List<System.ValueTuple<Shared.Entity.EntityWrapper, CandideCreator.Shared.Collision.CollisionData>>::Add(!0)List.Enumerator<Shared.Entity.EntityWrapper>::MoveNext()System.IDisposable::Dispose()System.Collections.Generic.List<System.ValueTuple<Shared.Entity.EntityWrapper, CandideCreator.Shared.Collision.CollisionData>>::get_Count()Shared.Combat.Projectiles.ProjectileSystem::OnProjectileHitEntities(System.Collections.Generic.List<System.ValueTuple<Shared.Entity.EntityWrapper, CandideCreator.Shared.Collision.CollisionData>>, System.Int32)
UpdateCastSpells
#
public System.Void UpdateCastSpells(System.Single dt)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
91CA4ABF4CD469C55D087B7799BD18D25C2D705E915079324A087237FD6DFEE1 - Body hash
F4EA5AF86B5D128EBF7A11760B080008450762337E3E0787E2C45C1A05D4B20D - IL size83
Referenced calls
UpdateMove
#
public System.Void UpdateMove(System.Single dt)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
03CA4ED42275091F3E1AD862E4B123EA90E7B4933B0B3671EDFA61356045AE52 - Body hash
71FF99884C2A217BC88992C7086F9A2B3B71F105A8FC6B2228448C2E1B2527DC - IL size332
Referenced calls
Shared.Combat.Projectiles.ProjectileMaskExtensions::HasFlags(Shared.Combat.Projectiles.ProjectileMask, Shared.Combat.Projectiles.ProjectileMask)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)System.Nullable<System.Guid>::.ctor(!0)Shared.Interfaces.Projectiles.ISpellManagerBridge::GetEntityFromId(System.Nullable<System.Guid>)Shared.Entity.EntityWrapper::get_Position()Shared.Combat.Projectiles.ProjectileSystem::RemoveProjectile(System.Int32)