|
My Project v1
Project
|


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] |
| Game.ProjectileAttackment.ProjectileAttackment | ( | Entity | target, |
| Entity | attacker, | ||
| Vector3 | hitPoint, | ||
| Vector3 | hitDirection, | ||
| float | attackPower, | ||
| Projectile | projectile ) |
| Game.ProjectileAttackment.ProjectileAttackment | ( | ComponentBody | target, |
| Entity | attacker, | ||
| Vector3 | hitPoint, | ||
| Vector3 | hitDirection, | ||
| float | attackPower, | ||
| Projectile | projectile ) |
|
private |