Mod API Reference:GameOrderAttackTransferResult: Difference between revisions

From Warzone Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
* '''ActualArmies''' ''[[Mod API Reference:Armies|Armies]]'': The number of armies from the source territory that actually participated in the attack or transfer.
* '''ActualArmies''' ''[[Mod API Reference:Armies|Armies]]'': The number of armies from the source territory that actually participated in the attack or transfer.
* '''AttackingArmiesKilled''' ''[[Mod API Reference:Armies|Armies]]'':  
* '''AttackingArmiesKilled''' ''[[Mod API Reference:Armies|Armies]]'':  
* '''DamageToSpecialUnits''' ''Table<[[Mod API Reference:Guid|Guid]],integer>'':  
* '''DamageToSpecialUnits''' ''Table<[[Mod API Reference:Guid|Guid]],integer>'': If a special unit is damaged, but not killed, this field tracks how much damage was done to them.
* '''DefendingArmiesKilled''' ''[[Mod API Reference:Armies|Armies]]'':  
* '''DefendingArmiesKilled''' ''[[Mod API Reference:Armies|Armies]]'':  
* '''DefenseLuck''' ''[[Mod API Reference:Nullable|Nullable]]<number>'':  
* '''DefenseLuck''' ''[[Mod API Reference:Nullable|Nullable]]<number>'':  
Line 9: Line 9:
* '''IsSuccessful''' ''boolean'': If IsAttack is true and IsSuccessful is true, the territory was captured.  If IsAttack is true and IsSuccessful was false, the territory was not captured.
* '''IsSuccessful''' ''boolean'': If IsAttack is true and IsSuccessful is true, the territory was captured.  If IsAttack is true and IsSuccessful was false, the territory was not captured.
* '''OffenseLuck''' ''[[Mod API Reference:Nullable|Nullable]]<number>'':
* '''OffenseLuck''' ''[[Mod API Reference:Nullable|Nullable]]<number>'':
[[Category:Mod API Reference]]

Latest revision as of 09:39, 4 June 2025

GameOrderAttackTransferResult: Subclass of GameOrderResult

  • ActualArmies Armies: The number of armies from the source territory that actually participated in the attack or transfer.
  • AttackingArmiesKilled Armies:
  • DamageToSpecialUnits Table<Guid,integer>: If a special unit is damaged, but not killed, this field tracks how much damage was done to them.
  • DefendingArmiesKilled Armies:
  • DefenseLuck Nullable<number>:
  • IsAttack boolean: True if this was an attack, false if it was a transfer.
  • IsNullified boolean:
  • IsSuccessful boolean: If IsAttack is true and IsSuccessful is true, the territory was captured. If IsAttack is true and IsSuccessful was false, the territory was not captured.
  • OffenseLuck Nullable<number>: