Romestead Assembly Reference

Shared.Combat.SharedCombatHandler

Type JSON

public class in Shared.Combat

Methods18
Properties0
Fields1
Events0
Type metadata
  • AssemblyShared
  • NamespaceShared.Combat
  • Base typeSystem.Object
  • HashF9E1E6DB7160D98E6ADFEBC6B57A774D6B80F82BF467A2CF5639E2AE84A62E28

Relationships

Base type

System.Object

Fields

NameVisibilitySignature
StandardKnockbackDurationpublicpublic System.Single StandardKnockbackDuration

Methods

ApplyDamage

public System.Single ApplyDamage(Shared.Combat.DamageInfo damageInfo)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Single
  • StaticTrue
  • VirtualFalse
  • HashEEBD64B0467EA30024DD8E59A632A031290638F14B144CDE05B69900F3DC64F3
  • Body hash9F8819D03A35332E30CC7E94AAD95C6DBBE95EC5D6911E32E42DF1A695B428DB
  • IL size7
Referenced calls
Called by

ApplyDamage

public System.Single ApplyDamage(Shared.Entity.EntityWrapper victim, Shared.Combat.HitInfo info, Shared.Entity.EntityWrapper owner, System.Nullable<Microsoft.Xna.Framework.Vector3> hitPosition, System.Nullable<Microsoft.Xna.Framework.Vector3> hitVelocity, Shared.Combat.DamageSourceType damageSourceType, System.String skillTypeBonusDamage, Shared.Combat.DamageVfxType damageVfxType, Shared.Combat.DamageVfxModifier damageVfxModifier, Shared.Combat.AttackType attackType, System.String spellId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Single
  • StaticTrue
  • VirtualFalse
  • HashCF6A30AE4F00D8BE880A2112CE06B066FC771DDDB9F3D071E33E9BFE23CFDF51
  • Body hash166B7AD3BE4DEB14DDF56C618489B4BD8039D5BCB530FDFBFBA5EEF9271D51BA
  • IL size52
Referenced calls
  • Shared.Combat.DamageInfo::.ctor(Shared.Combat.DamageVfx, Shared.Combat.DamageSourceType, Shared.Entity.EntityWrapper, Shared.Combat.HitInfo, Shared.Entity.EntityWrapper, System.Nullable<Microsoft.Xna.Framework.Vector3>, System.Nullable<Microsoft.Xna.Framework.Vector3>, Shared.Combat.AttackType, System.String, System.String)
  • Shared.Combat.SharedCombatHandler::DoDamage(Shared.Combat.DamageInfo)
Called by

ApplyDamageResistToResult

public System.Void ApplyDamageResistToResult(Shared.Combat.DamageResult damageResult, System.Single damageResistance)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash07FAF5534F135B9CA6BFA1C76D7020A580728670A08E366E47AFD8ADE6425882
  • Body hashE6F035BC023C8651B22A8F8EED887202AD862CB593250C2F36E35BDC597E7067
  • IL size21
Called by

ApplyKnockback

public System.Void ApplyKnockback(Shared.Entity.EntityWrapper victim, Microsoft.Xna.Framework.Vector3 knockBack, System.Single duration, System.Single resistedPercentage)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashDA23AC395ED2A0F2740F631A4420745F59D4440EE415CEC8827E37ECCC623433
  • Body hash4ABA2C7F9B26A702AC2EBD995A26CE63810C4CF88B86A0674C3FF5BDE07E451C
  • IL size121
Referenced calls
Called by

ApplyKnockback

public System.Void ApplyKnockback(Shared.Entity.EntityWrapper victim, Shared.Combat.HitInfo hitInfo)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashCD9634DA0A040D23F1AF331CDFD2DA2D32BC1F974A295FA9926DFBC29B05E01B
  • Body hashF059EC266F29CC94F0D621731C01014D9BCDBF948659D04BBF0E76D908C9CBAC
  • IL size114
Referenced calls
Called by

ApplyKnockbackWithoutResist

public System.Void ApplyKnockbackWithoutResist(Shared.Entity.EntityWrapper victim, System.Single strength, Microsoft.Xna.Framework.Vector2 direction)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashF40EC99B1151FEEECFF9DBB17E29B41DDA0F316F557D2926BB839CCE74972789
  • Body hashBD5EED73A748E1AE26595034F8047DBB679FBFC6EB06A5D69EA84F0F03952E1C
  • IL size29
Referenced calls
Called by

ApplyKnockbackWithoutResist

public System.Void ApplyKnockbackWithoutResist(Shared.Entity.EntityWrapper victim, System.Single strength, System.Single duration, Microsoft.Xna.Framework.Vector2 direction)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash9EB6642BF82A2589B9F10997289DE6E857CF2D93677DC13AA6314B85BC21107F
  • Body hashBF478C95739486507CC3018E549AC875E224390E800E236F6446F1D825BD559B
  • IL size25
Referenced calls
Called by

ApplyTrueDamage

public System.Single ApplyTrueDamage(Shared.Entity.EntityWrapper victim, System.Single damage, System.Nullable<Microsoft.Xna.Framework.Vector3> hitPosition, System.Nullable<Microsoft.Xna.Framework.Vector3> hitVelocity, Shared.Combat.DamageSourceType damageSourceType, Shared.Entity.EntityWrapper source, Shared.Combat.DamageVfxType damageVfxType, Shared.Combat.DamageVfxModifier damageVfxModifier, Shared.Combat.AttackType attackType)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Single
  • StaticTrue
  • VirtualFalse
  • HashBB7B707CEB093A0447C93A65806ABE23E9FDD3A36C422532B9D00CA6182B2DBD
  • Body hashF17B3601C3C7C1CB28388CD161618AC42C7E2859E63FE3942EB896B469751428
  • IL size131
Referenced calls
  • Shared.Combat.DamageTypesArray::.ctor(System.Single, System.Single, System.Single, System.Single, System.Single, System.Single, System.Single, System.Single, System.Single)
  • Shared.Combat.DamageTypesArray::.ctor()
  • Shared.Combat.DamageInfo::.ctor(Shared.Combat.DamageVfx, Shared.Combat.DamageSourceType, Shared.Entity.EntityWrapper, Shared.Combat.HitInfo, Shared.Entity.EntityWrapper, System.Nullable<Microsoft.Xna.Framework.Vector3>, System.Nullable<Microsoft.Xna.Framework.Vector3>, Shared.Combat.AttackType, System.String, System.String)
  • Shared.Combat.SharedCombatHandler::DoDamage(Shared.Combat.DamageInfo)
Called by

CalculateAndApplyDamage

public System.ValueTuple<System.Single, Shared.Combat.DamageInfo> CalculateAndApplyDamage(Shared.Entity.EntityWrapper owner, Shared.Entity.EntityWrapper victim, Shared.Combat.DamageTypesArray damageTypes, System.Nullable<Microsoft.Xna.Framework.Vector3> hitPosition, System.Nullable<Microsoft.Xna.Framework.Vector3> hitVelocity, Shared.Combat.DamageSourceType damageSourceType, Shared.Combat.DamageVfxType damageVfxType, System.Boolean canCrit, System.Single totalKnockbackPower, System.Single totalStunPower, Shared.Combat.DamageVfxModifier damageVfxModifier)

Method metadata
  • Visibilitypublic
  • Return typeSystem.ValueTuple<System.Single, Shared.Combat.DamageInfo>
  • StaticTrue
  • VirtualFalse
  • Hash9FABB1F7EDFD7758A1AE0B992D0576F0A08023A335DC87350487E10C89DC1312
  • Body hash63C948E4D3306CEFB24A31D79A2CA816CF90232A508D0211AE79772C92B960FA
  • IL size40
Referenced calls
Called by

CalculateAndApplyKnockback

public System.Void CalculateAndApplyKnockback(Shared.Entity.EntityWrapper victim, System.Single strength, Microsoft.Xna.Framework.Vector3 direction)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash36BEC079EA9B6A36670183D489C264629FE9932D7D9ECF1120A17505EDD7B62A
  • Body hash35E6E6B75C462AF3F4D0E4B1A0F04529D743734E1B9DC69E56482A089E67C18E
  • IL size49
Referenced calls
Called by

CalculateDamage

public Shared.Combat.DamageInfo CalculateDamage(Shared.Entity.EntityWrapper owner, Shared.Entity.EntityWrapper victim, Shared.Combat.DamageTypesArray damageTypes, System.Nullable<Microsoft.Xna.Framework.Vector3> hitPosition, System.Nullable<Microsoft.Xna.Framework.Vector3> hitVelocity, Shared.Combat.DamageSourceType damageSourceType, System.String associatedSkillId, Shared.Combat.DamageVfxType damageVfxType, System.Boolean canCrit, System.Single totalKnockbackPower, System.Single totalStunPower, Shared.Combat.DamageVfxModifier damageVfxModifier, Shared.Combat.AttackType attackType, System.Boolean unresistable)

Method metadata
  • Visibilitypublic
  • Return typeShared.Combat.DamageInfo
  • StaticTrue
  • VirtualFalse
  • HashB3272FF10AD5EFFF96C1E66826D37D200BA52B4FFFC416618DB272C5D9F83DB1
  • Body hash3ADC2E4C2B1E9D793073B7B43463FA0FFFF2FDB9B8C81FBA4CEB11E314ADFCB4
  • IL size187
Referenced calls
Called by
String literals
  • CritChance
  • CritDamage

CalculateHitInfo

public Shared.Combat.HitInfo CalculateHitInfo(Shared.Entity.EntityWrapper victim, System.Single stunPower, System.Single critChance, System.Single critMultiplier, System.Single totalKnockbackPower, Microsoft.Xna.Framework.Vector3 knockbackDirection, Shared.Combat.AttackType attackType, Shared.Combat.DamageTypesArray damageTypes, Shared.Combat.DamageTypesArray maxDamage, System.Single extraMultiplier, System.Boolean unresistable, System.Single armorPiercing)

Method metadata
  • Visibilitypublic
  • Return typeShared.Combat.HitInfo
  • StaticTrue
  • VirtualFalse
  • HashDE8F42C5C14A9C44ED22AA757F04DEC708CA2D3CF9A7149E64064B942C4531F2
  • Body hash586C0EB165BD86BEB624E2BB7B5DB4EAF40BBB9DD95BD537E575469933BA56CA
  • IL size378
Referenced calls
Called by
String literals
  • SiegeDamageTakenModifier

CalculateKnockbackResist

public System.ValueTuple<System.Single, System.Single> CalculateKnockbackResist(Shared.Entity.EntityWrapper victim, System.Single power)

Method metadata
  • Visibilitypublic
  • Return typeSystem.ValueTuple<System.Single, System.Single>
  • StaticTrue
  • VirtualFalse
  • Hash98D9EF76EAD3EB56B13C432F48B2068692525C24F90DE2D6D70DA1503B9932F7
  • Body hashC3D6A65A989BC670CFBBAE2AAA568080D66DC7E4675DA12C2BDCC4F5D78D908E
  • IL size110
Referenced calls
Called by
String literals
  • KnockbackResistance

CalculateMinMaxDamageArrays

public System.Void CalculateMinMaxDamageArrays(Shared.Combat.DamageTypesArray min, Shared.Combat.DamageTypesArray max, System.Single multiplier, System.String skillId, Shared.Entity.EntityWrapper entity, Shared.Combat.DamageTypesArray outMin, Shared.Combat.DamageTypesArray outMax)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash6BBC5A3AAD58329F2A4505ED1C8D159B75579BEBD65F8755B64CE1606DC5F65F
  • Body hash23DF8F5ABE71524773EAE11ECC01353E0A4A4D0411DBC17E5D0EF72B65CD84A9
  • IL size91
Referenced calls
Called by

CheckIfKilled

private System.Void CheckIfKilled(Shared.Combat.DamageInfo damageInfo, System.Single damage)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashAA5202DD10863FB0D61FEE63F2C6F0340C3FB76184CCDC361E9C824F9E35F8D4
  • Body hash2F1BB5F2BF5471EEB3E494F0B4D957838091ABDBAA0FCA2841D2C8D844D5CC9A
  • IL size283
Referenced calls
Called by

DoDamage

public System.Single DoDamage(Shared.Combat.DamageInfo damageInfo)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Single
  • StaticTrue
  • VirtualFalse
  • HashB9EC412190AA115412A00645E0ACBD395B3FD14568876938DC5C92880A5A8421
  • Body hash8BE4E3DAF825AC8D49F1FD253299A01C23B13069C583250772FCAC42E8BECB82
  • IL size995
Referenced calls
Called by

GetDamageDirection

public Microsoft.Xna.Framework.Vector3 GetDamageDirection(System.Nullable<Microsoft.Xna.Framework.Vector3> hitPosition, System.Nullable<Microsoft.Xna.Framework.Vector3> hitVelocity, Microsoft.Xna.Framework.Vector3 victimPosition)

Method metadata
  • Visibilitypublic
  • Return typeMicrosoft.Xna.Framework.Vector3
  • StaticTrue
  • VirtualFalse
  • Hash02F2B0356F5E5F3BB21F0C06EE7B3D27AA6AC0D360E1E060909B3CB872F5CBB1
  • Body hash8B061E51036B2812457A87BE97C8DF01C758799BBC9CD7B5D84B56897F8B6008
  • IL size76
Referenced calls
Called by

SetKnockback

public System.Void SetKnockback(Shared.Entity.EntityWrapper entity, Microsoft.Xna.Framework.Vector3 speed, System.Single duration)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashCCDDCA50EFCF2DAAA50B513E2AE8B0F3D6DDEE9F8F507AA4257E882F10BE96D3
  • Body hash616E28E7DE367ED3413292BFFBAA7E3DA1DAB2DB67D0D9495C2D135F1CC0E716
  • IL size39
Referenced calls
Called by