My Project v1
Project
载入中...
搜索中...
未找到
Game.ProjectileAttackment
类 Game.ProjectileAttackment 继承关系图:
Game.ProjectileAttackment 的协作图:

Public 成员函数

 ProjectileAttackment (Entity target, Entity attacker, Vector3 hitPoint, Vector3 hitDirection, float attackPower, Projectile projectile)
 
 ProjectileAttackment (ComponentBody target, Entity attacker, Vector3 hitPoint, Vector3 hitDirection, float attackPower, Projectile projectile)
 
- Public 成员函数 继承自 Game.Attackment
 Attackment (Entity target, Entity attacker, Vector3 hitPoint, Vector3 hitDirection, float attackPower)
 
 Attackment (ComponentBody target, Entity attacker, Vector3 hitPoint, Vector3 hitDirection, float attackPower)
 
virtual float CalculateInjuryAmount ()
 
virtual void AddHitValueParticleSystem (float damage)
 
virtual void ProcessAttackmentToCreature (out float injuryAmount)
 
virtual void ProcessAttackmentToNonCreature (out float injuryAmount)
 
virtual bool DisableFriendlyFire ()
 
virtual void ImpulseTarget ()
 
virtual void StunTarget ()
 
virtual void ProcessAttackment ()
 

Private 属性

Projectile Projectile
 

额外继承的成员函数

- Public 属性 继承自 Game.Attackment
Entity Target
 
Entity Attacker
 
Vector3 HitPoint
 
Vector3 HitDirection
 
float AttackPower
 
float? StunTimeSet
 
float StunTimeAdd = 0.2f
 
float ImpulseFactor = 2f
 
string CauseOfDeath = String.Empty
 
bool EnableArmorProtection = true
 
bool EnableResilienceFactor = true
 
bool EnableHitValueParticleSystem = true
 
string AttackSoundName = "Audio/Impacts/Body"
 
float AttackSoundVolume = 1f
 
float AttackSoundPitch = 0f
 
bool AllowImpulseAndStunWhenDamageIsZero = true
 
float? m_injuryAmount = null
 
ValuesDictionary DictionaryForOtherMods = new ValuesDictionary()
 模组可以向Dictionary里面添加内容,另一个模组可以从Dictionary读取内容,以实现模组联动效果
 
- Protected 属性 继承自 Game.Attackment
Random m_random = new Random()
 
- 属性 继承自 Game.Attackment
virtual ComponentBody TargetBody [get, set]
 

构造及析构函数说明

◆ ProjectileAttackment() [1/2]

Game.ProjectileAttackment.ProjectileAttackment ( Entity target,
Entity attacker,
Vector3 hitPoint,
Vector3 hitDirection,
float attackPower,
Projectile projectile )

◆ ProjectileAttackment() [2/2]

Game.ProjectileAttackment.ProjectileAttackment ( ComponentBody target,
Entity attacker,
Vector3 hitPoint,
Vector3 hitDirection,
float attackPower,
Projectile projectile )

类成员变量说明

◆ Projectile

Projectile Game.ProjectileAttackment.Projectile
private

该类的文档由以下文件生成: