CCitadelUserMessage_Damage
messagecitadel_usermessages.proto · compiled into server, client · net message ID 300 (k_EUserMsg_Damage in CitadelUserMessageIds)
Deadworks (C#)
[NetMessageHandler]
public HookResult OnDamageOutgoing(OutgoingMessageContext<CCitadelUserMessage_Damage> ctx) {
return HookResult.Continue;
}Fields
| # | Label | Type | Name |
| 1 | optional | int32 | damage |
| 2 | optional | int32 | pre_damage_deprecated |
| 27 | optional | float | pre_damage |
| 3 | optional | int32 | type |
| 4 | optional | int32 | citadel_type |
| 5 | optional | CMsgVector | origin |
| 6 | optional | int32 | entindex_victim = -1 |
| 7 | optional | int32 | entindex_inflictor = -1 |
| 8 | optional | int32 | entindex_attacker = -1 |
| 9 | optional | int32 | entindex_ability = -1 |
| 10 | optional | int32 | damage_absorbed_deprecated |
| 28 | optional | float | damage_absorbed |
| 11 | optional | int32 | victim_health_max |
| 12 | optional | int32 | victim_health_new |
| 13 | optional | uint64 | flags |
| 14 | optional | uint32 | ability_id |
| 15 | optional | uint32 | attacker_class |
| 31 | optional | uint32 | attacker_subclass |
| 16 | optional | uint32 | victim_class |
| 17 | optional | int32 | victim_shield_max |
| 18 | optional | int32 | victim_shield_new |
| 19 | optional | int32 | hits |
| 20 | optional | int32 | health_lost |
| 21 | optional | int32 | hitgroup_id |
| 22 | optional | int32 | entindex_attacking_object = -1 |
| 23 | optional | CMsgVector | damage_direction |
| 24 | optional | bool | is_secondary_stat |
| 25 | optional | float | effectiveness |
| 26 | optional | float | crit_damage |
| 29 | optional | int32 | server_tick |