Skip to main content

SeedSpray.BasicImpactSyncArguments

A struct in Root.Township, Alta.Intelligence.

Network copy of a seed's hit, sent by the server so clients apply the same impact to the struck entity's ImpactDetector.

Constructors​

MemberWhat it is
BasicImpactSyncArguments(ImpactHitWithTool toolHit, uint struckID)Creates a SeedSpray.BasicImpactSyncArguments from toolHit and struckID.

Fields​

MemberWhat it is
float baseCrippleDamageBase cripple damage of the hit.
float baseHealthDamageBase health damage of the hit.
Vector3 directionHit direction.
float effectivenessHit effectiveness.
uint impactTypeThe ImpactType as a number.
float multipliersDamage multipliers.
Vector3 normalSurface normal at the hit.
Vector3 pointHit point.
uint struckIDId of the struck entity.
uint wielderIDId of the entity that fired the seed.

Methods​

MemberWhat it is
void Serialize(Stream stream)Writes or reads every field.

Used in​

Members of other types that take, return or hold a BasicImpactSyncArguments: