public DefaultAttackData(float _attackSpeed, float _weaponAxisStart, float _weaponAxisEnd, IsRight _rightFunctionPointer, ArrayList _hitList) { m_fAttackSpeed = _attackSpeed; m_fWeaponAxisStart = _weaponAxisStart; m_fWeaponAxisEnd = _weaponAxisEnd; hitList = _hitList; rightFunctionPointer = _rightFunctionPointer; }
public override int GetHashCode() { int hashCode = 46551335; hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Variant_str); hashCode = hashCode * -1521134295 + IsRight.GetHashCode(); return(hashCode); }
public override int GetHashCode() { int idHash = Id.ToString().GetHashCode(); int qIdHash = QuestionId.ToString().GetHashCode(); int nameId = Name.GetHashCode(); int isRightHash = IsRight.ToString().GetHashCode(); return(idHash + qIdHash + nameId + isRightHash); }
public override int GetHashCode() { unchecked { var hashCode = IsRight.GetHashCode(); hashCode = (hashCode * 397) ^ EqualityComparer <L> .Default.GetHashCode(LeftValue); hashCode = (hashCode * 397) ^ EqualityComparer <R> .Default.GetHashCode(RightValue); return(hashCode); } }
public void setAttackDirection(IsRight argIsRight) { rightFunctionPointer = argIsRight; }