public static int GetAttackIndex(this UnitAttack command) { return(command.GetFieldValue <UnitAttack, int>("m_AttackIndex")); }