public ClubStatus GetClubPlayer(ClubStatus ClubPlayerData) { ClubStatus result; result = this + ClubPlayerData; return(result); }
public int GetClubTotal(ClubStatus ClubPlayerData, bool IsRankUp) { int result; result = (Power + Control + Impact + Spin + Curve + ClubPlayerData.Power + ClubPlayerData.Control + ClubPlayerData.Impact + ClubPlayerData.Spin + ClubPlayerData.Curve); if (IsRankUp) { result += 1; } return(result); }
public static ClubStatus operator +(ClubStatus X, ClubStatus Y) { ClubStatus result = new ClubStatus() { Power = Convert.ToUInt16(X.Power + Y.Power), Control = Convert.ToUInt16(X.Control + Y.Control), Impact = Convert.ToUInt16(X.Impact + Y.Impact), Spin = Convert.ToUInt16(X.Spin + Y.Spin), Curve = Convert.ToUInt16(X.Curve + Y.Curve) }; return(result); }