SerializedImpactHit
A struct in Root.Township, the global namespace.
A tool hit packed for the network by ImpactSystemHitManager: the tool entity, where it hit and the damage values.
- Listed in Global namespace: S
Constructors
| Member | What it is |
|---|---|
SerializedImpactHit(ImpactHitWithTool hit, ImpactTool tool) | Creates a SerializedImpactHit from hit and tool. |
Fields
| Member | What it is |
|---|---|
float healthDamage | Health damage the hit deals. |
float hitEffectiveness | How effective the hit was. |
Vector3 hitPosition | World point of the hit. |
ImpactType impactType | The kind of impact. |
bool isValidHit | Whether the hit counted as valid. |
float multipliers | Combined damage multipliers. |
NetworkEntity toolEntity | The network entity of the tool that hit. |
Methods
| Member | What it is |
|---|---|
void Serialize(Stream stream) | Reads or writes all the fields. |
Used in
Members of other types that take, return or hold a SerializedImpactHit: